aboutsummaryrefslogtreecommitdiff
path: root/test/tables.muse
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-04-11 09:51:03 -0700
committerJohn MacFarlane <[email protected]>2025-05-14 13:11:37 -0700
commit4ec69b2679b24ce426626a51b22e18b054f86ea6 (patch)
tree08cc6e9c95accc3bf23ae50ea6ff4cfab0cdf7c8 /test/tables.muse
parentbe9fbb3f6731dc6223816677aab6c64243511c8f (diff)
T.P.Writers.Shared: New version of `gridTable`.issue6344
This handles row and colspans. Partially addresses #6344. It also ensures that cells won't wrap text in places where it wouldn't normally wrap, even if this means making the cells wider than requested by the colspec. (Closes #9001. Closes 7641.) Parameters are different, so this is a breaking [API change]. Markdown, RST, and Muse writers have been adjusted to use the new `gridTable`.
Diffstat (limited to 'test/tables.muse')
-rw-r--r--test/tables.muse6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/tables.muse b/test/tables.muse
index 6b3af561d..3ff8884a5 100644
--- a/test/tables.muse
+++ b/test/tables.muse
@@ -24,6 +24,9 @@ Simple table indented two spaces:
Multiline table with caption:
+-----------+----------+------------+---------------------------+
+| Centered | Left | Right | Default aligned |
+| Header | Aligned | Aligned | |
++-----------+----------+------------+---------------------------+
| First | row | 12.0 | Example of a row that |
| | | | spans multiple lines. |
+-----------+----------+------------+---------------------------+
@@ -34,6 +37,9 @@ Multiline table with caption:
Multiline table without caption:
+-----------+----------+------------+---------------------------+
+| Centered | Left | Right | Default aligned |
+| Header | Aligned | Aligned | |
++-----------+----------+------------+---------------------------+
| First | row | 12.0 | Example of a row that |
| | | | spans multiple lines. |
+-----------+----------+------------+---------------------------+