From b1f6fb4af5e6df40fe72d6224512f60be082a8cd Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 17 Aug 2017 12:07:07 -0700 Subject: HTML reader: support column alignments. These can be set either with a `width` attribute or with `text-width` in a `style` attribute. Closes #1881. --- test/command/1881.md | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 test/command/1881.md (limited to 'test/command') diff --git a/test/command/1881.md b/test/command/1881.md new file mode 100644 index 000000000..0d43997e2 --- /dev/null +++ b/test/command/1881.md @@ -0,0 +1,52 @@ +``` +% pandoc -f html -t native + + + + + + + + + + + + + + + + + + +
Demonstration of simple table syntax.
RightLeftCenterDefault
12121212
+^D +[Table [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."] [AlignRight,AlignLeft,AlignCenter,AlignDefault] [0.0,0.0,0.0,0.0] + [[Plain [Str "Right"]] + ,[Plain [Str "Left"]] + ,[Plain [Str "Center"]] + ,[Plain [Str "Default"]]] + [[[Plain [Str "12"]] + ,[Plain [Str "12"]] + ,[Plain [Str "12"]] + ,[Plain [Str "12"]]]]] +``` + +``` +% pandoc -f html -t native + + + + + + + +
12121212
+^D +[Table [] [AlignRight,AlignLeft,AlignCenter,AlignRight] [0.0,0.0,0.0,0.0] + [] + [[[Plain [Str "12"]] + ,[Plain [Str "12"]] + ,[Plain [Str "12"]] + ,[Plain [Str "12"]]]]] +``` + -- cgit v1.2.3