git.iko.soy/typeable/pandoc
on master help sign in
README: Removed the statement that the RST reader doesn't parse
9a410e1fiddlosopher
README+6−7
@@ -109,13 +109,12 @@ Supported output formats include `markdown`, `latex`, `context`
109HTML file that acts like powerpoint). Supported input formats include
109HTML file that acts like powerpoint). Supported input formats include
110`markdown`, `html`, `latex`, and `rst`. Note that the `rst` reader only
110`markdown`, `html`, `latex`, and `rst`. Note that the `rst` reader only
111parses a subset of reStructuredText syntax. For example, it doesn't
111parses a subset of reStructuredText syntax. For example, it doesn't
112−handle tables, definition lists, option lists, or footnotes. It handles
112+handle tables, option lists, or footnotes. But for simple documents it
113−only the constructs expressible in unextended markdown. But for simple
114−documents it should be adequate. The `latex` and `html` readers are also
113+should be adequate. The `latex` and `html` readers are also limited in
115−limited in what they can do. Because the `html` reader is picky about
114+what they can do. Because the `html` reader is picky about the HTML it
116−the HTML it parses, it is recommended that you pipe HTML through [HTML
115+parses, it is recommended that you pipe HTML through [HTML Tidy] before
117−Tidy] before sending it to `pandoc`, or use the `html2markdown` script
116+sending it to `pandoc`, or use the `html2markdown` script described
118−described below.
117+below.
119
118
120If you don't specify a reader or writer explicitly, `pandoc` will
119If you don't specify a reader or writer explicitly, `pandoc` will
121try to determine the input and output format from the extensions of
120try to determine the input and output format from the extensions of
src/Text/Pandoc/Readers/HTML.hs+1
@@ -368,6 +368,7 @@ bulletList = try $ do
368 return (BulletList items)
368 return (BulletList items)
369
369
370definitionList = try $ do
370definitionList = try $ do
371+ failIfStrict -- def lists not part of standard markdown
371 tag <- htmlTag "dl"
372 tag <- htmlTag "dl"
372 spaces
373 spaces
373 items <- sepEndBy1 definitionListItem spaces
374 items <- sepEndBy1 definitionListItem spaces