summaryrefslogtreecommitdiff
path: root/tests/suite/layout/table.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2025-01-24 13:11:26 +0100
committerGitHub <noreply@github.com>2025-01-24 12:11:26 +0000
commit26e65bfef5b1da7f6c72e1409237cf03fb5d6069 (patch)
treedae6f71efead43736202dd6aea933b95b1bc7a14 /tests/suite/layout/table.typ
parent467968af0788a3059e1bed47f9daee846f5b3904 (diff)
Semantic paragraphs (#5746)
Diffstat (limited to 'tests/suite/layout/table.typ')
-rw-r--r--tests/suite/layout/table.typ11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/suite/layout/table.typ b/tests/suite/layout/table.typ
index f59d8b42..5c2b0749 100644
--- a/tests/suite/layout/table.typ
+++ b/tests/suite/layout/table.typ
@@ -310,6 +310,17 @@
)
}
+--- table-cell-par ---
+// Ensure that table cells aren't considered paragraphs by default.
+#show par: highlight
+
+#table(
+ columns: 3,
+ [A],
+ block[B],
+ par[C],
+)
+
--- grid-cell-in-table ---
// Error: 8-19 cannot use `grid.cell` as a table cell
// Hint: 8-19 use `table.cell` instead