highlight(1) user documentation highlight(1) NAME Highlight - a universal sourcecode to formatted text converter SYNOPSIS highlight [OPTIONS]... [FILES]... DESCRIPTION Highlight converts sourcecode to HTML, XHTML, RTF, ODT, LaTeX, TeX, BBCode, Pango markup, SVG, XTERM or ANSI escape sequences. There are several colour themes available. Highlight recognizes keywords, numbers, strings, comments, symbols and preprocessor directives. It supports about 180 programming languages, which are defined in Lua scripts. It's easily possible to enhance highlight's database of programming languages and colour themes. See the README file for details. GENERAL OPTIONS -B, --batch-recursive= convert all files matching the wildcard (uses recursive search) -D, --data-dir= set path to highlight data directory --config-file= set path to a lang or theme file -h, --help[=topic] print this help or a topic description = [syntax, theme, plugin, config] -i, --input= name of input file -o, --output= name of output file -d, --outdir= name of output directory -P, --progress print progress bar in batch mode -S, --syntax= set type of source code, necessary if input file suffix is missing. The syntax may also be defined as path of the language file. --syntax-by-name= specify type of source code by given name. Will not read a file of this name, useful for stdin and to determine the syntax of the file before piping its content to highlight. This option overrides --syntax. --syntax-supported test if the given syntax can be loaded and print the result (assumes -S or --syntax-by-name) -v, --verbose print debug info to stderr; repeat to show more information -q, --quiet suppress progress info in batch mode --force[=syntax] generate output if input syntax is unknown. The fallback syntax may be set here, Plain Text is default. --list-scripts= list installed scripts = [langs, themes, plugins] --list-cat= filter the scripts by the given categories (example: --list- cat='source;script') --max-size= set maximum input file size (examples: 512M, 1G; default: 256M) --plug-in=