1. Georg Brandl
  2. sphinx-0.5


Georg Brandl  committed bfda544

Note that Python code in code blocks is parsed.

  • Participants
  • Parent commits 47a43f2
  • Branches default

Comments (0)

Files changed (1)

File doc/markup/code.rst

View file
   config value.
 * Within Python highlighting mode, interactive sessions are recognized
-  automatically and highlighted appropriately.
+  automatically and highlighted appropriately.  Normal Python code is only
+  highlighted if it is parseable (so you can use Python as the default, but
+  interspersed snippets of shell commands or other code blocks will not be
+  highlighted as Python).
 * The highlighting language can be changed using the ``highlight`` directive,
   used as follows::