summaryrefslogtreecommitdiff
path: root/tests/html-reader.native
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-12-07 08:26:53 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-12-07 08:26:53 +0000
commit5082b5411bdb1acb5b0dba9cbdfa346b96f1e309 (patch)
tree4ed4c7934af2ddc82455a301588db3a1151a262f /tests/html-reader.native
parent6ddf8da444351c802ae96101cbc32893e132a5bf (diff)
Improved syntax for markdown definition lists.
Definition lists are now more compatible with PHP Markdown Extra. Resolves Issue #24. + You can have multiple definitions for a term (but still not multiple terms). + Multi-block definitions no longer need a column before each block (indeed, this will now cause multiple definitions). + The marker no longer needs to be flush with the left margin, but can be indented at or two spaces. Also, ~ as well as : can be used as the marker (this suggestion due to David Wheeler.) + There can now be a blank line between the term and the definitions. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1656 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/html-reader.native')
-rw-r--r--tests/html-reader.native13
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/html-reader.native b/tests/html-reader.native
index ae371f1c0..42ba648d8 100644
--- a/tests/html-reader.native
+++ b/tests/html-reader.native
@@ -181,12 +181,13 @@ Pandoc (Meta [Str "Pandoc",Space,Str "Test",Space,Str "Suite"] [] "")
, HorizontalRule
, Header 2 [Str "Definition"]
, DefinitionList
- [ ([Str "Violin"],
- [ Plain [Str "Stringed",Space,Str "musical",Space,Str "instrument."]
- , Plain [Str "Torture",Space,Str "device."] ] ),
- ([Str "Cello",LineBreak,Str "Violoncello"],
- [ Plain [Str "Low-voiced",Space,Str "stringed",Space,Str "instrument."] ]
- ) ]
+ [ ([Str "Violin"],
+ [ [ Plain [Str "Stringed",Space,Str "musical",Space,Str "instrument."] ]
+ , [ Plain [Str "Torture",Space,Str "device."] ]
+ ])
+ , ([Str "Cello",LineBreak,Str "Violoncello"],
+ [ [ Plain [Str "Low-voiced",Space,Str "stringed",Space,Str "instrument."] ]
+ ]) ]
, HorizontalRule
, Header 1 [Str "HTML",Space,Str "Blocks"]
, Para [Str "Simple",Space,Str "block",Space,Str "on",Space,Str "one",Space,Str "line:"]