1 This is a test of the new "code" directive:
3 .. Translate this document with a pygments enhanced frontend, e.g.
5 ../rst2html-highlight.py --stylesheet=../data/pygments-default.css
6 ../rst2latex-highlight.py --stylesheet=../data/pygments-docutilsroles.sty
8 or via the test case in
10 ../pygments_code_block_directive.py --traceback
13 The example from Docutils TODO list:
17 print 'This is Python code.'
26 # This is Python code,
27 # that prints the integers from 0 to 9
42 # and now for something completely different
45 Inline code :code:`$\alpha = \int_0^\infty f(x) dx$`.
47 .. role:: python(code)
51 Python code :python:`print("The end.")`