Permalink
Browse files

Add output format markdown+strict (close #397)

  • Loading branch information...
1 parent 23ca68a commit 62647eb12a5ac95bf37787034f776404dc45e567 @sol committed Feb 2, 2012
Showing with 4 additions and 0 deletions.
  1. +2 −0 README
  2. +2 −0 src/Text/Pandoc.hs
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
@@ -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 ->

0 comments on commit 62647eb

Please sign in to comment.