74 lines
3.4 KiB
Text
74 lines
3.4 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 ".",Space,RawInline "html" "<ins>",Str "inserted",RawInline "html" "</ins>"]
|
|
,RawBlock "html" "<div class=\"special\">"
|
|
,Para [Str "hi",Space,Emph [Str "there"]]
|
|
,RawBlock "html" "</div>"
|
|
,Header 2 [Str "sup,",Space,Str "sub,",Space,Str "del"]
|
|
,Para [Str "H",Subscript [Str "2"],Str "O",Space,Str "base",Superscript [Emph [Str "exponent"]],Space,Strikeout [Str "hello"]]
|
|
,Header 2 [Str "inline",Space,Str "code"]
|
|
,Para [Code ("",[],[]) "*\8594*",Space,Code ("",[],[]) "typed",Space,Code ("",["haskell"],[]) ">>="]
|
|
,Header 2 [Str "code",Space,Str "blocks"]
|
|
,CodeBlock ("",[],[]) "case xs of\n (_:_) -> reverse xs\n [] -> ['*']"
|
|
,CodeBlock ("",["haskell"],[]) "case xs of\n (_:_) -> reverse xs\n [] -> ['*']"
|
|
,CodeBlock ("",["ruby","numberLines"],[("startFrom","100")]) "widgets.each do |w|\n print w.price\nend"
|
|
,Header 2 [Str "block",Space,Str "quotes"]
|
|
,Para [Str "Regular",Space,Str "paragraph"]
|
|
,BlockQuote
|
|
[Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "block",Space,Str "quote."]
|
|
,Para [Str "With",Space,Str "two",Space,Str "paragraphs."]]
|
|
,Para [Str "Nother",Space,Str "paragraph."]
|
|
,Header 2 [Str "external",Space,Str "links"]
|
|
,Para [Link [Emph [Str "Google"],Space,Str "search",Space,Str "engine"] ("http://google.com","")]
|
|
,Para [Link [Str "http://johnmacfarlane.net/pandoc/"] ("http://johnmacfarlane.net/pandoc/","")]]
|