04b32451be
+ pandoc.cabal includes a flag, 'highlighting', that causes a dependency on highlighting-kate. + if Setup.hs detects this dependency, it copies templates/Highlighting.yes.hs to Text/Pandoc/Highlighting.hs. Otherwise, it copies templates/Highlighting.no.hs. + The HTML writer imports this new module instead of Text.Highlighting.Kate. The new module exports highlightHtml, which either uses highlighting-kate to perform syntax highlighting or automatically returns a failure code, depending on whether highlighting support was selected. + --version now prints information about whether syntax highlighting support is compiled in. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1221 788f1e2b-df1e-0410-8736-df70ead52e1b |
||
---|---|---|
.. | ||
headers | ||
ui/default | ||
ASCIIMathML.hs | ||
ASCIIMathML.js | ||
ASCIIMathML.js.comment | ||
ASCIIMathML.js.packed | ||
DefaultHeaders.hs | ||
Highlighting.no.hs | ||
Highlighting.yes.hs | ||
S5.hs |