Source

sphinx / sphinx / highlighting.py

Author Commit Message Labels Comments Date
Georg Brandl
Only select 3.x versions.
Georg Brandl
Merged in shimizukawa/sphinx-fix-testing-fork (pull request #62)
Takayuki Shimizukawa
fix for Python3.1: Python 3.1 can't proceess '\r' at parser; `parser.suite("print('hello')\r\n")` cause error.
Georg Brandl
Closes #905: work around Pygments bug returning str instead of Unicode from Latex formatter for empty input.
Branches
stable
Georg Brandl
Closes #810: fix deprecation warnings with Python 3. What is left over is from nose or docutils.
Branches
stable
Georg Brandl
Closes #695: When the highlight language "python" is specified explicitly, do not try to parse the code to recognize non-Python snippets. Thanks to Jonas Haag for the patch.
Branches
stable
Georg Brandl
More version-compatibility hack removals.
Georg Brandl
Remove compatibility code for Pygments < 1.2.
Georg Brandl
Add changelog entry for emphasize-lines and some coding style fixes.
Mark Lodato
PygmentsBridge: pass keyword arguments to Pygments In Pygments.highlight_block, pass all extra keyword arguments, including linenos, directly to the Pygments formatter. This allows custom directives to use other Pygments features.
Mark Lodato
PygmentsBridge: construct new formatter each time Previously, we pre-constructed two different formatters, one with line numbers and one without. This made the code rather confusing and also was not scalable for options that take arguments, such as 'hl_lines'. Now, we construct a new HTMLFormatter or LatexFormatter on each call to highlight_block().
Georg Brandl
changeset: 3201:2a38261315ba tag: tip parent: 3199:cd7b0a8d99c6 user: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> date: Sun Jan 09 20:55:13 2011 +0100 summary: Trim <BLANKLINE> just like doctest flags.
Georg Brandl
Add ``pyramid`` theme.
Georg Brandl
merge with 1.0
Georg Brandl
New year update.
Georg Brandl
merge with 1.0
Georg Brandl
#534: warning message instead of crash if invalid Pygments lexer name is used.
Georg Brandl
merge with 1.0
Georg Brandl
Fix unwanted styling of C domain references (because of a namespace clash with Pygments styles).
DasIch
encode source code for parsing only on python 2.x
DasIch
Check if a string is not unicode as a workaround for 3.x
Georg Brandl
merge with 0.6
Georg Brandl
Add warning facility on unknown Pygments lexer names.
Georg Brandl
merge with 0.6
Georg Brandl
Restore compatibility with Pygments >= 1.2.
Georg Brandl
merge with 0.6
Georg Brandl
Happy new year!
Georg Brandl
merge with 0.6
Georg Brandl
#265: restore Jython compatibility.
Georg Brandl
#169: Added the ``trim_doctest_flags`` config value, which is true by default.
  1. Prev
  2. 1
  3. 2
  4. 3
  5. Next