summaryrefslogtreecommitdiff
path: root/pygments/formatters
Commit message (Collapse)AuthorAgeFilesLines
* Bring coverage testing up to scratch. Add "pragma: no cover" to __main__ blocks.Georg Brandl2014-11-101-1/+2
|
* Fix leftover debugging "raise". Add test coverage for errors and exceptions ↵Georg Brandl2014-11-101-2/+2
| | | | in cmdline_main.
* Fix Raw token lexer/formatter with new default encoding.Georg Brandl2014-11-061-0/+1
|
* Default lexer encoding is now "guess", i.e. UTF-8 / Locale / Latin1 isGeorg Brandl2014-11-061-1/+1
| | | | tried in that order.
* Fix docstring.Georg Brandl2014-10-291-1/+1
|
* Minor cleanup in TestcaseFormatterTim Hatch2014-10-151-3/+1
|
* Make mapfiles.Tim Hatch2014-10-141-1/+1
|
* terminal formatters: PEP8 cleanupGeorg Brandl2014-10-142-27/+27
|
* Remove non-ASCII from non-Unicode string.Georg Brandl2014-10-141-1/+1
|
* Merged in protz/pygments-main/add-envname (pull request #235)Georg Brandl2014-10-0811-224/+471
|\
| * Merged in hexid/pygments-main (pull request #380)Georg Brandl2014-10-081-4/+4
| |\ | | | | | | | | | Change spacing for HTML formatter regarding inline linenos
| | * Move space after inline html linenos to be inside of the span containing the ↵Nick Currier2014-07-031-4/+4
| | | | | | | | | | | | linenos
| * | Closes #800: Add "inencoding" option to override "encoding".Georg Brandl2014-10-081-1/+0
| | |
| * | Fix (false positive) pyflakes warning.Georg Brandl2014-10-071-0/+1
| | |
| * | Closes #980: fix DeprecationWarnings (mostly due to files closed by __del__) ↵Georg Brandl2014-10-071-10/+6
| | | | | | | | | | | | | | | | | | on Py3. Also fix a bunch of other uses of open() to use the with statement.
| * | Closes #1013: allow "encoding" for the Raw formatter.Georg Brandl2014-10-071-3/+2
| | |
| * | No raw "u" literals in Py3.Georg Brandl2014-09-201-10/+10
| | |
| * | better not to use unicode_literals...Georg Brandl2014-09-201-28/+25
| | |
| * | Sort out Unicode output issues with RTF and image formatters.Georg Brandl2014-09-202-8/+8
| | |
| * | Image formatter: PEP8...Georg Brandl2014-09-201-7/+7
| | |
| * | Refactored formatter mapping to work like the lexer mapping.Georg Brandl2014-09-202-97/+122
| |/ | | | | | | Thanks to Ilia Choly for the initial pull request.
| * Update ElixirLexer and example_elixir.exAlexei Sholik2014-06-0511-0/+2991
| | | | | | | | | Elixir syntax has evolved quite significantly since the initial lexer was written. In this update I have rewritten most of the code to support modern Elixir (as of v0.14.0-dev). The example file has also been updated to give an quick overview of most of the language constructs.
* Add a new envname option to the latex formatter.Jonathan Protzenko2013-09-041-2/+8
| | | | | It allows the user to pick a different environment name, for instance, BVerbatim instead of the now-default Verbatim.
* HTML formatter: add / to path in ctags linking if nonempty; fix spelling.Georg Brandl2013-02-031-1/+3
|
* HTML linespans: add changelog and versionaddedGeorg Brandl2013-01-091-1/+3
|
* Merged in icholy/pygments-main (pull request #82: added `linespans` option ↵Georg Brandl2013-01-091-0/+18
|\ | | | | | | to HtmlFormatter to wrap lines in spans)
| * fixed typoIlia Choly2012-06-181-1/+1
| |
| * added `linespans` option to HtmlFormatter to wrap lines in spansIlia Choly2012-06-181-0/+18
| |
* | CTags feature:Georg Brandl2013-01-091-21/+24
| | | | | | | | | | | | | | | | | | * rename parameter "urlformat" to "tagurlformat" to make clear it belongs to the tags feature * change NameError to RuntimeError and tone down the message * document that python-ctags must be installed to use the tagsfile feature * move test tags file from examplefiles/, where it will be attempted as a test file * fix test to work if python-ctags is not installed * changelog/attribution
* | Merge pull request #87 (ctags link support for HTML formatter) from ↵Georg Brandl2013-01-0911-25/+24
|\ \ | | | | | | | | | https://bitbucket.org/pepijndevos/pygments-main/overview
| * | Happy new year 2013.Georg Brandl2013-01-0911-11/+11
| | |
| * | Fix issues found by "make check".Georg Brandl2013-01-091-1/+2
| | |
| * | Removed some unused variables to fix pyflakes warningsDmitry Shachnev2012-11-121-2/+0
| | |
| * | Closes #785: make sure LateX formatter output is Unicode.Georg Brandl2012-08-191-8/+8
| | |
| * | Closes #772: image formatter: move Unix-specific import of ↵Georg Brandl2012-08-191-1/+1
| | | | | | | | | | | | commands.getstatusoutput() to Unix-specific method
| * | Move import unused outside __main__ into __main__.Georg Brandl2012-08-191-2/+2
| |/
* | add suggested edits and testPepijn de Vos2012-09-241-4/+4
| |
* | fix for possible mutiline namesPepijn de Vos2012-07-161-1/+1
| |
* | update documentation to reflect urlformat changePepijn de Vos2012-07-161-11/+4
| |
* | format urlPepijn de Vos2012-07-161-16/+12
| |
* | documentation for ctagsPepijn de Vos2012-07-141-0/+20
| |
* | multifile supportPepijn de Vos2012-07-141-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | Example usage: #!/bin/bash for f in $@ do mkdir -p `dirname "output/$f.html"` ./pygmentize -f html -O anchorlinenos,linenos,full,tagurlprefix=`pwd`/,singlepage=False,lineanchors=L,tagsfile=tags -o "output/$f.html" "$f" done
* | single file ctagsPepijn de Vos2012-07-141-0/+25
|/
* Closes #755: replace some more active chars for latex.Georg Brandl2012-05-081-0/+6
|
* Merge pygments-main with pygments-timTim Hatch2012-02-271-1/+1
|\
| * Merge pygments-main with pygments-timTim Hatch2012-01-031-1/+1
| |\
| | * Bulk changes to improve many lexers inner workingsTim Hatch2011-03-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on a suspicion that most examplefiles only exercise a small part of the lexers, I've written some code to find suspicious parts of regular expressions, then gone back over those to fix them. Most of these affect whether the regex does what it looks like it does, but none of them should appreciably change the function of the lexer. * a few cases which used capturing groups + bygroups incorrectly (most were harmless, but I think one could have generated a traceback in its previous state) * a few cases which could match empty string, without a callback (this is highly discouraged, because if an op doesn't consume any characters, it might be possible to enter an empty loop). I'll revisit individually the cases where a callback or state push is used. * many cases with embedded newlines in non-verbose regexes * many, many cases with reversed (else|elseif) style alternations
* | | Closes #691: Fix Python 3 terminal highlighting with pygmentize.Georg Brandl2012-02-062-2/+8
| | |
* | | Copyright update.Georg Brandl2012-02-0511-11/+11
| | |
* | | Style fix.Georg Brandl2012-02-051-1/+2
| | |