summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Highlighting.hs
AgeCommit message (Collapse)Author
2011-12-22Changed types of highlighting functions.John MacFarlane
* highlightLaTeX, highlightHtml now return Maybe, not Either. * This is because h-k's higdlightAs no longer returns an Either.
2011-12-19Added highlightLaTeX stub when not compiled w/ highlighting.John MacFarlane
2011-12-19Added highlightLaTeX to Text.Pandoc.Highlighting.John MacFarlane
2011-12-18HTML writer: Retain ID attribute in highlighted code blocks.John MacFarlane
2011-12-18Highlighting: Use reads instead of read.John MacFarlane
Fixes crash on startNum="abc".
2011-12-17Use blaze-html instead of xhtml for HTML generation.John MacFarlane
* This is a breaking API change for `writeHtml`. * It introduces a new dependency on blaze-html. * Pandoc now depends on highlighting-kate >= 0.4, which also uses blaze-html. * The --ascii option has been removed, because of differences in blaze-html's and xhtml's escaping. * Pandoc will no longer transform leading newlines in code blocks to `<br/>` tags.
2011-01-29Highlighting: Fixed non-highlighting-kate version of highlightHtml.John MacFarlane
2011-01-29Fixed highlighting for inline code.John MacFarlane
highlightHtml in Highlighting now has a boolean argument that selects between inline and block content. Revised tests for new highlighting-kate.
2009-12-31Removed redundant imports (found by ghc 6.12).fiddlosopher
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1750 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Removed unneeded LANGUAGE pragmas.fiddlosopher
(CPP is enabled globally in the cabal file.) git-svn-id: https://pandoc.googlecode.com/svn/trunk@1747 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-21Modified html+lhs output to use 'haskell' highlighter.fiddlosopher
The bird tracks are added in the highlighting module. This makes sense, because the kate's haskell highlighter is much better than the literateHaskell highlighter. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1620 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-07-03Export languagesByExtension in Text.Pandoc.Highlighting.fiddlosopher
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1585 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-01-24Moved all haskell source to src subdirectory.fiddlosopher
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1528 788f1e2b-df1e-0410-8736-df70ead52e1b