summaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-11-23 21:31:58 +0100
committerGeorg Brandl <georg@python.org>2009-11-23 21:31:58 +0100
commita6dbf2af97040dbb8e6b082569ac44fc51698151 (patch)
tree93d0d08154d5a8ec9205da23dc1503e2b25db1b5 /docs/src
parent139e095185e76f5963f4108e940cadfea06b272f (diff)
downloadpygments-git-a6dbf2af97040dbb8e6b082569ac44fc51698151.tar.gz
Make full HTML example more prominent by moving it to the top.
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/cmdline.txt14
1 files changed, 5 insertions, 9 deletions
diff --git a/docs/src/cmdline.txt b/docs/src/cmdline.txt
index ce14a3fd..a48a5c27 100644
--- a/docs/src/cmdline.txt
+++ b/docs/src/cmdline.txt
@@ -34,6 +34,11 @@ The above command could therefore also be given as::
$ pygmentize -o test.html test.py
+To create a full HTML document, including line numbers and stylesheet (using the
+"emacs" style), highlighting the Python file ``test.py`` to ``test.html``::
+
+ $ pygmentize -O full,style=emacs -o test.html test.py
+
Options and filters
-------------------
@@ -117,15 +122,6 @@ will print the help for the HTML formatter, while ::
will print the help for the Python lexer, etc.
-Examples
---------
-
-Create a full HTML document, including line numbers and stylesheet (using the
-"emacs" style), highlighting the Python file ``setup.py`` to ``setup.html``::
-
- $ pygmentize -O full,style=emacs -o setup.html setup.py
-
-
A note on encodings
-------------------