feb70b6e93
Previously some of the writers added spurious whitespace. This has been removed, resolving Issue #232. NOTE: If your application combines pandoc's output with other text, for example in a template, you may need to add spacing. For example, a pandoc-generated markdown file will not have a blank line after the final block element. If you are inserting it into another markdown file, you will need to make sure there is a blank line between it and the next block element.
118 lines
5.2 KiB
Text
118 lines
5.2 KiB
Text
Pandoc (Meta {docTitle = [], docAuthors = [], docDate = []})
|
|
[ Para [Str "Simple",Space,Str "table",Space,Str "with",Space,Str "caption",Str ":"]
|
|
, Table [] [AlignDefault,AlignDefault,AlignDefault,AlignDefault] [0.125,0.1125,0.1375,0.15]
|
|
[ [ Plain [Str "Right"] ]
|
|
, [ Plain [Str "Left"] ]
|
|
, [ Plain [Str "Center"] ]
|
|
, [ Plain [Str "Default"] ] ] [
|
|
[ [ Plain [Str "12"] ]
|
|
, [ Plain [Str "12"] ]
|
|
, [ Plain [Str "12"] ]
|
|
, [ Plain [Str "12"] ] ],
|
|
[ [ Plain [Str "123"] ]
|
|
, [ Plain [Str "123"] ]
|
|
, [ Plain [Str "123"] ]
|
|
, [ Plain [Str "123"] ] ],
|
|
[ [ Plain [Str "1"] ]
|
|
, [ Plain [Str "1"] ]
|
|
, [ Plain [Str "1"] ]
|
|
, [ Plain [Str "1"] ] ] ]
|
|
, Para [Str "Table",Str ":",Space,Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."]
|
|
, Para [Str "Simple",Space,Str "table",Space,Str "without",Space,Str "caption",Str ":"]
|
|
, Table [] [AlignDefault,AlignDefault,AlignDefault,AlignDefault] [0.125,0.1125,0.1375,0.15]
|
|
[ [ Plain [Str "Right"] ]
|
|
, [ Plain [Str "Left"] ]
|
|
, [ Plain [Str "Center"] ]
|
|
, [ Plain [Str "Default"] ] ] [
|
|
[ [ Plain [Str "12"] ]
|
|
, [ Plain [Str "12"] ]
|
|
, [ Plain [Str "12"] ]
|
|
, [ Plain [Str "12"] ] ],
|
|
[ [ Plain [Str "123"] ]
|
|
, [ Plain [Str "123"] ]
|
|
, [ Plain [Str "123"] ]
|
|
, [ Plain [Str "123"] ] ],
|
|
[ [ Plain [Str "1"] ]
|
|
, [ Plain [Str "1"] ]
|
|
, [ Plain [Str "1"] ]
|
|
, [ Plain [Str "1"] ] ] ]
|
|
, Para [Str "Simple",Space,Str "table",Space,Str "indented",Space,Str "two",Space,Str "spaces",Str ":"]
|
|
, Table [] [AlignDefault,AlignDefault,AlignDefault,AlignDefault] [0.125,0.1125,0.1375,0.15]
|
|
[ [ Plain [Str "Right"] ]
|
|
, [ Plain [Str "Left"] ]
|
|
, [ Plain [Str "Center"] ]
|
|
, [ Plain [Str "Default"] ] ] [
|
|
[ [ Plain [Str "12"] ]
|
|
, [ Plain [Str "12"] ]
|
|
, [ Plain [Str "12"] ]
|
|
, [ Plain [Str "12"] ] ],
|
|
[ [ Plain [Str "123"] ]
|
|
, [ Plain [Str "123"] ]
|
|
, [ Plain [Str "123"] ]
|
|
, [ Plain [Str "123"] ] ],
|
|
[ [ Plain [Str "1"] ]
|
|
, [ Plain [Str "1"] ]
|
|
, [ Plain [Str "1"] ]
|
|
, [ Plain [Str "1"] ] ] ]
|
|
, Para [Str "Table",Str ":",Space,Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."]
|
|
, Para [Str "Multiline",Space,Str "table",Space,Str "with",Space,Str "caption",Str ":"]
|
|
, Table [] [AlignDefault,AlignDefault,AlignDefault,AlignDefault] [0.175,0.1625,0.1875,0.3625]
|
|
[ [ Plain [Str "Centered",Space,Str "Header"] ]
|
|
, [ Plain [Str "Left",Space,Str "Aligned"] ]
|
|
, [ Plain [Str "Right",Space,Str "Aligned"] ]
|
|
, [ Plain [Str "Default",Space,Str "aligned"] ] ] [
|
|
[ [ Plain [Str "First"] ]
|
|
, [ Plain [Str "row"] ]
|
|
, [ Plain [Str "12.0"] ]
|
|
, [ Plain [Str "Example",Space,Str "of",Space,Str "a",Space,Str "row",Space,Str "that",Space,Str "spans",Space,Str "multiple",Space,Str "lines."] ] ],
|
|
[ [ Plain [Str "Second"] ]
|
|
, [ Plain [Str "row"] ]
|
|
, [ Plain [Str "5.0"] ]
|
|
, [ Plain [Str "Here's",Space,Str "another",Space,Str "one.",Space,Str "Note",Space,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",Space,Str "rows."] ] ] ]
|
|
, Para [Str "Table",Str ":",Space,Str "Here's",Space,Str "the",Space,Str "caption.",Space,Str "It",Space,Str "may",Space,Str "span",Space,Str "multiple",Space,Str "lines."]
|
|
, Para [Str "Multiline",Space,Str "table",Space,Str "without",Space,Str "caption",Str ":"]
|
|
, Table [] [AlignDefault,AlignDefault,AlignDefault,AlignDefault] [0.175,0.1625,0.1875,0.3625]
|
|
[ [ Plain [Str "Centered",Space,Str "Header"] ]
|
|
, [ Plain [Str "Left",Space,Str "Aligned"] ]
|
|
, [ Plain [Str "Right",Space,Str "Aligned"] ]
|
|
, [ Plain [Str "Default",Space,Str "aligned"] ] ] [
|
|
[ [ Plain [Str "First"] ]
|
|
, [ Plain [Str "row"] ]
|
|
, [ Plain [Str "12.0"] ]
|
|
, [ Plain [Str "Example",Space,Str "of",Space,Str "a",Space,Str "row",Space,Str "that",Space,Str "spans",Space,Str "multiple",Space,Str "lines."] ] ],
|
|
[ [ Plain [Str "Second"] ]
|
|
, [ Plain [Str "row"] ]
|
|
, [ Plain [Str "5.0"] ]
|
|
, [ Plain [Str "Here's",Space,Str "another",Space,Str "one.",Space,Str "Note",Space,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",Space,Str "rows."] ] ] ]
|
|
, Para [Str "Table",Space,Str "without",Space,Str "column",Space,Str "headers",Str ":"]
|
|
, Table [] [AlignDefault,AlignDefault,AlignDefault,AlignDefault] [0.1,0.1,0.1,0.1]
|
|
[ []
|
|
, []
|
|
, []
|
|
, [] ] [
|
|
[ [ Plain [Str "12"] ]
|
|
, [ Plain [Str "12"] ]
|
|
, [ Plain [Str "12"] ]
|
|
, [ Plain [Str "12"] ] ],
|
|
[ [ Plain [Str "123"] ]
|
|
, [ Plain [Str "123"] ]
|
|
, [ Plain [Str "123"] ]
|
|
, [ Plain [Str "123"] ] ],
|
|
[ [ Plain [Str "1"] ]
|
|
, [ Plain [Str "1"] ]
|
|
, [ Plain [Str "1"] ]
|
|
, [ Plain [Str "1"] ] ] ]
|
|
, Para [Str "Multiline",Space,Str "table",Space,Str "without",Space,Str "column",Space,Str "headers",Str ":"]
|
|
, Table [] [AlignDefault,AlignDefault,AlignDefault,AlignDefault] [0.175,0.1625,0.1875,0.3625]
|
|
[ []
|
|
, []
|
|
, []
|
|
, [] ] [
|
|
[ [ Plain [Str "First"] ]
|
|
, [ Plain [Str "row"] ]
|
|
, [ Plain [Str "12.0"] ]
|
|
, [ Plain [Str "Example",Space,Str "of",Space,Str "a",Space,Str "row",Space,Str "that",Space,Str "spans",Space,Str "multiple",Space,Str "lines."] ] ],
|
|
[ [ Plain [Str "Second"] ]
|
|
, [ Plain [Str "row"] ]
|
|
, [ Plain [Str "5.0"] ]
|
|
, [ Plain [Str "Here's",Space,Str "another",Space,Str "one.",Space,Str "Note",Space,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",Space,Str "rows."] ] ] ] ]
|