Section: User Commands (1)
Updated: February 15, 2007
pygmentize - highlights the input file
pygmentize [-l <lexer>] [-F <filter>[:<options>]] [-f <formatter>] [-O <options>] [-P <option=value>] [-o <outfile>] [<infile>]
pygmentize -S <style> -f <formatter> [-a <arg>] [-O <options>] [-P <option=value>]
pygmentize -L [<which> ...]
pygmentize -H <type> <name>
pygmentize -h | -V
Pygments is a generic syntax highlighter for general use in all kinds of software such as forum systems, wikis or other applications that need to prettify source code.
Its highlights are:
* a wide range of common languages and markup formats is supported
* special attention is paid to details, increasing quality by a fair amount
* support for new languages and formats are added easily
* a number of output formats, presently HTML, LaTeX and ANSI sequences
* it is usable as a command-line tool and as a library
* ... and it highlights even Brainfuck!
A summary of options is included below.
pygmentize was written by Georg Brandl <[email protected]>.
This manual page was written by Piotr Ozarowski <[email protected]>, for the Debian project (but may be used by others).
Tutoriais de Tecnologia Web