| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
For example, `py` will now work as well as `python`.
Closes jgm/highlighting-kate#83.
|
| |
|
| |
|
|
|
|
| |
This reverts commit c423dbb5a34c2d1195020e0f0ca3aae883d0749b.
|
|
|
|
|
|
|
| |
This is needed for ghci to work with pandoc, given that we
now use a custom prelude.
Closes #2503.
|
| |
|
|
|
|
| |
Closes #1287, jgm/highlighting-kate#40.
|
| |
|
|
|
|
| |
Convert it to a highlighting-kate language name.
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
| |
Depend on h-k 0.5.0.6.
|
|
|
|
| |
This uses styleToCss instead of styleToHtml.
|
|
|
|
|
|
|
|
| |
The container element will have the classes, id, and
key-value attributes you specified in the delimited code
block.
Previously these were stripped off.
|
| |
|
|
|
|
| |
This restores behavior of 1.8.2.1. Adjusted tests.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
* highlightLaTeX, highlightHtml now return Maybe, not Either.
* This is because h-k's higdlightAs no longer returns an Either.
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes crash on startNum="abc".
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
| |
highlightHtml in Highlighting now has a boolean argument that
selects between inline and block content.
Revised tests for new highlighting-kate.
|
|
|
|
| |
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1750 788f1e2b-df1e-0410-8736-df70ead52e1b
|
|
|
|
|
|
| |
(CPP is enabled globally in the cabal file.)
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1747 788f1e2b-df1e-0410-8736-df70ead52e1b
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1585 788f1e2b-df1e-0410-8736-df70ead52e1b
|
|
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1528 788f1e2b-df1e-0410-8736-df70ead52e1b
|