Fixed lhs+markdown instructions.

Classes 'literate' and 'haskell' are needed for bird tracks.
Closes #395.
This commit is contained in:
John MacFarlane 2012-02-06 12:38:45 -08:00
parent acdbdd7da5
commit 630c9f81ff

4
README
View file

@ -2170,8 +2170,8 @@ pandoc will treat the document as literate Haskell source. This means that
code rather than block quotations. Text between `\begin{code}` code rather than block quotations. Text between `\begin{code}`
and `\end{code}` will also be treated as Haskell code. and `\end{code}` will also be treated as Haskell code.
- In markdown output, code blocks with class `haskell` will be - In markdown output, code blocks with classes `haskell` and `literate`
rendered using bird tracks, and block quotations will be will be rendered using bird tracks, and block quotations will be
indented one space, so they will not be treated as Haskell code. indented one space, so they will not be treated as Haskell code.
In addition, headers will be rendered setext-style (with underlines) In addition, headers will be rendered setext-style (with underlines)
rather than atx-style (with '#' characters). (This is because ghc rather than atx-style (with '#' characters). (This is because ghc