diff options
author | gbrandl <devnull@localhost> | 2007-05-31 19:22:30 +0200 |
---|---|---|
committer | gbrandl <devnull@localhost> | 2007-05-31 19:22:30 +0200 |
commit | 951874ff30d5c2b3ca1829e7d18bff1657a89418 (patch) | |
tree | a06b59616f7e85162d3a3532075eca09e4ab654c /pygments/formatters/html.py | |
parent | f4a0a24bc3b2d96c924c27fb137ab3b63e58ee5e (diff) | |
download | pygments-951874ff30d5c2b3ca1829e7d18bff1657a89418.tar.gz |
[svn] Clarify docstring.
Diffstat (limited to 'pygments/formatters/html.py')
-rw-r--r-- | pygments/formatters/html.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/pygments/formatters/html.py b/pygments/formatters/html.py index a25230aa..73ac77a5 100644 --- a/pygments/formatters/html.py +++ b/pygments/formatters/html.py @@ -105,9 +105,10 @@ class HtmlFormatter(Formatter): in a ``<div>`` tag. The ``<div>``'s CSS class can be set by the `cssclass` option. - If the `linenos` option is given and true, the ``<pre>`` is additionally - wrapped inside a ``<table>`` which has one row and two cells: one - containing the line numbers and one containing the code. Example: + If the `linenos` option is set to ``"table"``, the ``<pre>`` is + additionally wrapped inside a ``<table>`` which has one row and two + cells: one containing the line numbers and one containing the code. + Example: .. sourcecode:: html @@ -126,8 +127,9 @@ class HtmlFormatter(Formatter): </td> </tr></table></div> - (whitespace added to improve clarity). Wrapping can be disabled using the - `nowrap` option. + (whitespace added to improve clarity). + + Wrapping can be disabled using the `nowrap` option. With the `full` option, a complete HTML 4 document is output, including the style definitions inside a ``<style>`` tag, or in a separate file if |