diff options
author | mitsuhiko <devnull@localhost> | 2008-03-01 19:04:13 +0100 |
---|---|---|
committer | mitsuhiko <devnull@localhost> | 2008-03-01 19:04:13 +0100 |
commit | b5df43edb9bc89308e8b0258c164dc15a3ec013f (patch) | |
tree | a0ec597754b5f409f421e90c5b48ea9792c2e0e1 /docs/src | |
parent | 94ee873d3f3cce954475cb69e43cfb44d831d8ae (diff) | |
parent | c49d1e47d170cfce8f2985692582cb4d1eadddda (diff) | |
download | pygments-b5df43edb9bc89308e8b0258c164dc15a3ec013f.tar.gz |
Automated merge with ssh://team@pocoo.org/pygments-main
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/quickstart.txt | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/docs/src/quickstart.txt b/docs/src/quickstart.txt index 93f32c0f..b3f73ae5 100644 --- a/docs/src/quickstart.txt +++ b/docs/src/quickstart.txt @@ -183,9 +183,20 @@ To output HTML, use the ``-f`` option:: $ pygmentize -f html -o test.html test.py to write an HTML-highlighted version of test.py to the file test.html. +Note that it will only be a snippet of HTML, if you want a full HTML document, +use the "full" option:: -The stylesheet can be created with:: + $ pygmentize -f html -O full -o test.html test.py + +This will produce a full HTML document with included stylesheet. + +A style can be selected with ``-O style=<name>``. + +If you need a stylesheet for an existing HTML file using Pygments CSS classes, +it can be created with:: $ pygmentize -S default -f html > style.css +where ``default`` is the style name. + More options and tricks and be found in the `command line referene <cmdline.txt>`_. |