Skip to content

Add output format markdown+strict #398

Closed
wants to merge 1 commit into from
View
2 README
@@ -159,6 +159,8 @@ General options
to `markdown`, `rst`, `latex`, `html`, or `html5`, the output will
be rendered as literate Haskell source: see [Literate Haskell
support](#literate-haskell-support), below.
+ If `+strict` is appended to `markdown`, the generated output will contain
+ no pandoc extensions.
`-o` *FILE*, `--output=`*FILE*
: Write output to *FILE* instead of *stdout*. If *FILE* is
View
2 src/Text/Pandoc.hs
@@ -198,6 +198,8 @@ writers = [("native" , writeNative)
,("markdown" , writeMarkdown)
,("markdown+lhs" , \o ->
writeMarkdown o{ writerLiterateHaskell = True })
+ ,("markdown+strict" , \o ->
+ writeMarkdown o{ writerStrictMarkdown = True })
,("plain" , writePlain)
,("rst" , writeRST)
,("rst+lhs" , \o ->
Something went wrong with that request. Please try again.