summaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authormitsuhiko <devnull@localhost>2008-03-01 19:04:13 +0100
committermitsuhiko <devnull@localhost>2008-03-01 19:04:13 +0100
commitb5df43edb9bc89308e8b0258c164dc15a3ec013f (patch)
treea0ec597754b5f409f421e90c5b48ea9792c2e0e1 /docs/src
parent94ee873d3f3cce954475cb69e43cfb44d831d8ae (diff)
parentc49d1e47d170cfce8f2985692582cb4d1eadddda (diff)
downloadpygments-b5df43edb9bc89308e8b0258c164dc15a3ec013f.tar.gz
Automated merge with ssh://team@pocoo.org/pygments-main
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/quickstart.txt13
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>`_.