summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Highlighting.hs
Commit message (Collapse)AuthorAge
* Highlighting: Let .numberLines work even if no language given.John MacFarlane2014-06-17
| | | | Closes #1287, jgm/highlighting-kate#40.
* Update copyright notices for 2014, add missing noticesAlbert Krewinkel2014-05-09
|
* LaTeX reader: Handle language attribute for lstlistings.John MacFarlane2013-03-05
| | | | Convert it to a highlighting-kate language name.
* Hide Text.Pandoc.Highlighting.John MacFarlane2013-03-05
| | | | | | | * Moved code for translating listings language names to highlighting-kate names and back from LaTeX reader to Highlighting. * Text.Pandoc.Highlighting no longer exposed (API change) * Text.Pandoc.Highlighting exports toListingsLang, fromListingsLang
* Use safeRead instead of using reads directly (various modules).John MacFarlane2012-08-09
|
* Added 'zenburn' highlight style from highlighting-kate.John MacFarlane2012-05-17
| | | | Depend on h-k 0.5.0.6.
* Depend on highlighting-kate 0.5.John MacFarlane2012-01-25
| | | | This uses styleToCss instead of styleToHtml.
* Preserve attributes in highlighted HTML.John MacFarlane2011-12-28
| | | | | | | | The container element will have the classes, id, and key-value attributes you specified in the delimited code block. Previously these were stripped off.
* Added `--highlight-style` and `--no-highlight` options.John MacFarlane2011-12-27
|
* Highlighting: Add language as class name.John MacFarlane2011-12-27
| | | | This restores behavior of 1.8.2.1. Adjusted tests.
* Updated highlighting for highlighting-kate 0.4.John MacFarlane2011-12-26
| | | | | | | | Text.Pandoc.Highlighting now exports just one new function, 'highlight', and reexports all the other functions from highlighting-kate that are used in the writers. This should make it easy to switch highlighting engines if that is ever desired.
* LaTeX writer: Implemented syntax highlighting for CodeBlocks.John MacFarlane2011-12-23
|
* Removed highlighting flag. Highlighting support is now standard.John MacFarlane2011-12-22
|
* Changed types of highlighting functions.John MacFarlane2011-12-22
| | | | | * highlightLaTeX, highlightHtml now return Maybe, not Either. * This is because h-k's higdlightAs no longer returns an Either.
* Added highlightLaTeX stub when not compiled w/ highlighting.John MacFarlane2011-12-19
|
* Added highlightLaTeX to Text.Pandoc.Highlighting.John MacFarlane2011-12-19
|
* HTML writer: Retain ID attribute in highlighted code blocks.John MacFarlane2011-12-18
|
* Highlighting: Use reads instead of read.John MacFarlane2011-12-18
| | | | Fixes crash on startNum="abc".
* Use blaze-html instead of xhtml for HTML generation.John MacFarlane2011-12-17
| | | | | | | | | | | * 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.
* Highlighting: Fixed non-highlighting-kate version of highlightHtml.John MacFarlane2011-01-29
|
* Fixed highlighting for inline code.John MacFarlane2011-01-29
| | | | | | | highlightHtml in Highlighting now has a boolean argument that selects between inline and block content. Revised tests for new highlighting-kate.
* Removed redundant imports (found by ghc 6.12).fiddlosopher2009-12-31
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1750 788f1e2b-df1e-0410-8736-df70ead52e1b
* Removed unneeded LANGUAGE pragmas.fiddlosopher2009-12-31
| | | | | | (CPP is enabled globally in the cabal file.) git-svn-id: https://pandoc.googlecode.com/svn/trunk@1747 788f1e2b-df1e-0410-8736-df70ead52e1b
* Modified html+lhs output to use 'haskell' highlighter.fiddlosopher2009-11-21
| | | | | | | | 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
* Export languagesByExtension in Text.Pandoc.Highlighting.fiddlosopher2009-07-03
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1585 788f1e2b-df1e-0410-8736-df70ead52e1b
* Moved all haskell source to src subdirectory.fiddlosopher2009-01-24
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1528 788f1e2b-df1e-0410-8736-df70ead52e1b