pandoc/tests/mediawiki-reader.native
2012-09-12 19:15:34 -07:00

57 lines
2.2 KiB
Text

Pandoc (Meta {docTitle = [], docAuthors = [], docDate = []})
[Header 1 [Str "header"]
,Header 2 [Str "header",Space,Str "level",Space,Str "two"]
,Header 3 [Str "header",Space,Str "level",Space,Str "3"]
,Header 4 [Str "header",Space,Emph [Str "level"],Space,Str "four"]
,Header 5 [Str "header",Space,Str "level",Space,Str "5"]
,Header 6 [Str "header",Space,Str "level",Space,Str "6"]
,Para [Str "=======",Space,Str "not",Space,Str "a",Space,Str "header",Space,Str "========"]
,Para [Str "==",Space,Str "not",Space,Str "a",Space,Str "header",Space,Str "=="]
,Header 2 [Str "emph",Space,Str "and",Space,Str "strong"]
,Para [Emph [Str "emph"],Space,Strong [Str "strong"]]
,Para [Strong [Emph [Str "strong",Space,Str "and",Space,Str "emph"]]]
,Para [Strong [Emph [Str "emph",Space,Str "inside"],Space,Str "strong"]]
,Para [Strong [Str "strong",Space,Str "with",Space,Emph [Str "emph"]]]
,Para [Emph [Strong [Str "strong",Space,Str "inside"],Space,Str "emph"]]
,Header 2 [Str "horizontal",Space,Str "rule"]
,Para [Str "top"]
,HorizontalRule
,Para [Str "bottom"]
,HorizontalRule
,Header 2 [Str "nowiki"]
,Para [Str "''not",Space,Str "emph''"]
,Header 2 [Str "strikeout"]
,Para [Strikeout [Str "This",Space,Str "is",Space,Emph [Str "struck",Space,Str "out"]]]
,Header 2 [Str "entities"]
,Para [Str "hi",Space,Str "&",Space,Str "low"]
,Para [Str "hi",Space,Str "&",Space,Str "low"]
,Para [Str "G\246del"]
,Para [Str "\777\2730"]
,Header 2 [Str "comments"]
,Para [Str "inline",Space,Str "comment"]
,Para [Str "between",Space,Str "blocks"]
,Header 2 [Str "linebreaks"]
,Para [Str "hi",LineBreak,Str "there"]
,Para [Str "hi",LineBreak,Str "there"]
,Header 2 [Str ":",Space,Str "indents"]
,Para [Str "hi"]
,DefinitionList
[([],
[[Plain [Str "there"]]])]
,Para [Str "bud"]
,Para [Str "hi"]
,DefinitionList
[([],
[[DefinitionList
[([],
[[Plain [Str "there"]]])]]])]
,Para [Str "bud"]
,Header 2 [Str "p",Space,Str "tags"]
,Para [Str "hi",Space,Str "there"]
,Para [Str "bud"]
,Para [Str "another"]
,Header 2 [Str "raw",Space,Str "html"]
,Para [Str "hi",Space,RawInline "html" "<span style=\"color:red\">",Emph [Str "there"],RawInline "html" "</span>",Str "."]
,RawBlock "html" "<div class=\"special\">"
,Para [Str "hi",Space,Emph [Str "there"]]
,RawBlock "html" "</div>"]