This is a test of the new "code" directive: Translate this document to HTML with a pygments enhanced frontend, e.g. ../rst2html-highlight.py --stylesheet=../data/pygments-default.css ../rst2latex-highlight.py --stylesheet=../data/pygments-docutilsroles.sty ../rst2pseudoxml-highlight.py The example from Docutils TODO list: print 'This is Python code.' for i in range(10): print i Another example: 7 def my_function (): 8 """Test the lexer. 9 10 just a test""" 11 12 # and now for something completely different 13 print 8 / 2 The end.