From 07fc8501726563d32b57fa5740e90dec17f8f4a8 Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Thu, 25 Oct 2018 18:35:02 +0300 Subject: Muse writer: add support for grid tables --- test/tables.muse | 35 ++++++++++++++++++++++++----------- 1 file changed, 24 insertions(+), 11 deletions(-) (limited to 'test/tables.muse') diff --git a/test/tables.muse b/test/tables.muse index fdf20be49..98e721cf0 100644 --- a/test/tables.muse +++ b/test/tables.muse @@ -23,17 +23,24 @@ Simple table indented two spaces: Multiline table with caption: - Centered Header || Left Aligned || Right Aligned || Default aligned - First | row | 12.0 | Example of a row that spans multiple lines. - Second | row | 5.0 | Here’s another one. Note the blank line between rows. - |+ Here’s the caption. It may span multiple lines. +| - ++----------+---------+-----------+--------------------------+ +| First | row | 12.0 | Example of a row that | +| | | | spans multiple lines. | ++----------+---------+-----------+--------------------------+ +| Second | row | 5.0 | Here’s another one. Note | +| | | | the blank line between | +| | | | rows. | ++----------+---------+-----------+--------------------------+ Multiline table without caption: - Centered Header || Left Aligned || Right Aligned || Default aligned - First | row | 12.0 | Example of a row that spans multiple lines. - Second | row | 5.0 | Here’s another one. Note the blank line between rows. - ++----------+---------+-----------+--------------------------+ +| First | row | 12.0 | Example of a row that | +| | | | spans multiple lines. | ++----------+---------+-----------+--------------------------+ +| Second | row | 5.0 | Here’s another one. Note | +| | | | the blank line between | +| | | | rows. | ++----------+---------+-----------+--------------------------+ Table without column headers: 12 | 12 | 12 | 12 @@ -42,5 +49,11 @@ Table without column headers: Multiline table without column headers: - First | row | 12.0 | Example of a row that spans multiple lines. - Second | row | 5.0 | Here’s another one. Note the blank line between rows. ++----------+---------+-----------+--------------------------+ +| First | row | 12.0 | Example of a row that | +| | | | spans multiple lines. | ++----------+---------+-----------+--------------------------+ +| Second | row | 5.0 | Here’s another one. Note | +| | | | the blank line between | +| | | | rows. | ++----------+---------+-----------+--------------------------+ -- cgit v1.2.3