pandoc/test/pipe-tables.native
2020-04-15 23:03:22 -04:00

264 lines
7.9 KiB
Text

[Para [Str "Simplest",Space,Str "table",Space,Str "without",Space,Str "caption:"]
,Table ("",[],[]) (Caption Nothing
[]) [(AlignDefault,Nothing),(AlignDefault,Nothing),(AlignDefault,Nothing)] 0
[Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "Default1"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "Default2"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "Default3"]]]]
[Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "12"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "12"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "12"]]]
,Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "123"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "123"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "123"]]]
,Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "1"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "1"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "1"]]]]
[]
,Para [Str "Simple",Space,Str "table",Space,Str "with",Space,Str "caption:"]
,Table ("",[],[]) (Caption Nothing
[Para [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."]]) [(AlignRight,Nothing),(AlignLeft,Nothing),(AlignDefault,Nothing),(AlignCenter,Nothing)] 0
[Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "Right"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "Left"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "Default"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "Center"]]]]
[Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "12"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "12"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "12"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "12"]]]
,Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "123"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "123"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "123"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "123"]]]
,Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "1"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "1"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "1"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "1"]]]]
[]
,Para [Str "Simple",Space,Str "table",Space,Str "without",Space,Str "caption:"]
,Table ("",[],[]) (Caption Nothing
[]) [(AlignRight,Nothing),(AlignLeft,Nothing),(AlignCenter,Nothing)] 0
[Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "Right"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "Left"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "Center"]]]]
[Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "12"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "12"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "12"]]]
,Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "123"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "123"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "123"]]]
,Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "1"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "1"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "1"]]]]
[]
,Para [Str "Headerless",Space,Str "table",Space,Str "without",Space,Str "caption:"]
,Table ("",[],[]) (Caption Nothing
[]) [(AlignRight,Nothing),(AlignLeft,Nothing),(AlignCenter,Nothing)] 0
[Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[]
,Cell ("",[],[]) Nothing 1 1
[]
,Cell ("",[],[]) Nothing 1 1
[]]]
[Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "12"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "12"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "12"]]]
,Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "123"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "123"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "123"]]]
,Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "1"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "1"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "1"]]]]
[]
,Para [Str "Table",Space,Str "without",Space,Str "sides:"]
,Table ("",[],[]) (Caption Nothing
[]) [(AlignDefault,Nothing),(AlignRight,Nothing)] 0
[Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "Fruit"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "Quantity"]]]]
[Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "apple"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "5"]]]
,Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "orange"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "17"]]]
,Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "pear"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "302"]]]]
[]
,Para [Str "One-column:"]
,Table ("",[],[]) (Caption Nothing
[]) [(AlignDefault,Nothing)] 0
[Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "hi"]]]]
[Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "lo"]]]]
[]
,Para [Str "Header-less",Space,Str "one-column:"]
,Table ("",[],[]) (Caption Nothing
[]) [(AlignCenter,Nothing)] 0
[Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[]]]
[Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "hi"]]]]
[]
,Para [Str "Indented",Space,Str "left",Space,Str "column:"]
,Table ("",[],[]) (Caption Nothing
[]) [(AlignRight,Nothing),(AlignLeft,Nothing)] 0
[Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "Number",Space,Str "of",Space,Str "siblings"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "Salary"]]]]
[Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "3"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "33"]]]
,Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "4"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "44"]]]]
[]
,Para [Str "Long",Space,Str "pipe",Space,Str "table",Space,Str "with",Space,Str "relative",Space,Str "widths:"]
,Table ("",[],[]) (Caption Nothing
[]) [(AlignDefault,Just 0.15517241379310345),(AlignDefault,Just 0.1724137931034483),(AlignDefault,Just 0.6724137931034483)] 0
[Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "Default1"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "Default2"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "Default3"]]]]
[Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "123"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "this",Space,Str "is",Space,Str "a",Space,Str "table",Space,Str "cell"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "and",Space,Str "this",Space,Str "is",Space,Str "a",Space,Str "really",Space,Str "long",Space,Str "table",Space,Str "cell",Space,Str "that",Space,Str "will",Space,Str "probably",Space,Str "need",Space,Str "wrapping"]]]
,Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "123"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "123"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "123"]]]]
[]
,Para [Str "Pipe",Space,Str "table",Space,Str "with",Space,Str "no",Space,Str "body:"]
,Table ("",[],[]) (Caption Nothing
[]) [(AlignDefault,Nothing)] 0
[Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "Header"]]]]
[]
[]
,Para [Str "Pipe",Space,Str "table",Space,Str "with",Space,Str "tricky",Space,Str "cell",Space,Str "contents",Space,Str "(see",Space,Str "#2765):"]
,Table ("",[],[]) (Caption Nothing
[]) [(AlignLeft,Nothing),(AlignRight,Nothing),(AlignRight,Nothing)] 0
[Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "IP_gene8-_1st"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "IP_gene8+_1st"]]]]
[Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "IP_gene8-_1st"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "1.0000000"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "0.4357325"]]]
,Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "IP_gene8+_1st"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "0.4357325"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "1.0000000"]]]
,Row ("",[],[])
[Cell ("",[],[]) Nothing 1 1
[Plain [Str "foo",Code ("",[],[]) "bar|baz"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "and|escaped"]]
,Cell ("",[],[]) Nothing 1 1
[Plain [Str "3.0000000"]]]]
[]]