Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,19 @@ private fun DocumentWidthBehaviorPreview() {
}
}

@Preview(name = "RTL table behavior · he-IL", locale = "he-rIL", widthDp = 412, showBackground = true)
@Composable
private fun TableBehaviorPreview() {
BehaviorPreviewSurface {
BehaviorPreviewColumn {
BehaviorSection(
title = "Markdown table renders in RTL layout",
markdown = tableMarkdown,
)
}
}
}

@Composable
private fun BehaviorPreviewSurface(
content: @Composable () -> Unit,
Expand Down Expand Up @@ -215,3 +228,14 @@ private val hebrewDocumentWithOrderedListMarkdown = """

למידע מפורט יותר על האימוג׳ים החדשים והמשמעויות שלהם אפשר לעיין ב-Emojipedia או במקורות נוספים.
""".trimIndent()

private val tableMarkdown = """
פסקה בעברית לפני הטבלה.

| כותרת | Status |
| --- | --- |
| שלום | Ready |
| עברית ואז English | Works |

English paragraph after the table.
""".trimIndent()
Loading