'''
DOC_FOOTER = '''\
'''
class HtmlFormatter(Formatter):
r"""
Format tokens as HTML 4 ```` tags. By default, the content is enclosed
in a ``
`` tag, itself wrapped in a ``
`` tag (but see the `nowrap` option).
The ``
``'s CSS class can be set by the `cssclass` option.
If the `linenos` option is set to ``"table"``, the ``
`` is
additionally wrapped inside a ``
`` which has one row and two
cells: one containing the line numbers and one containing the code.
Example:
.. sourcecode:: html
1
2
def foo(bar):
pass
(whitespace added to improve clarity).
A list of lines can be specified using the `hl_lines` option to make these
lines highlighted (as of Pygments 0.11).
With the `full` option, a complete HTML 4 document is output, including
the style definitions inside a ``