Man page - chroma(1)
Packages contains this manual
Manual
CHROMA
NAMESYNOPSIS
DESCRIPTION
OPTIONS
BUGS
NAME
chroma - general purpose syntax highlighting program
SYNOPSIS
chroma [ options ] files ...
DESCRIPTION
This manual page documents briefly the chroma command.
OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (â-â). A summary of options is included below.
|
âhelp |
Show context-sensitive help. |
|||
|
âlist |
List lexers, styles and formatters. |
âunbuffered
Do not buffer output.
|
âtrace |
Trace lexer states as they are traversed. |
|||
|
âcheck |
Do not format, check for tokenization errors instead. |
âfilename= FILENAME
Filename to use for selecting a lexer when reading from stdin.
-l, âlexer=autodetect
Lexer to use when formatting.
-s, âstyle=swapoff
Style to use for formatting.
-f, âformatter=terminal
Formatter to use.
|
âhtml |
Enable HTML mode (equivalent to â âformatter html â). |
âhtml-prefix= PREFIX
HTML CSS class prefix.
âhtml-styles
Output HTML CSS styles.
âhtml-only
Output HTML fragment.
âhtml-inline-styles
Output HTML with inline styles (no classes).
âhtml-tab-width=8
Set the HTML tab width.
âhtml-lines
Include line numbers in output.
âhtml-lines-table
Split line numbers and code in a HTML table
âhtml-lines-style= HTML-LINES-STYLE
Style for line numbers.
âhtml-highlight= N[:M][,...]
Highlight these lines.
âhtml-highlight-style= HTML-HIGHLIGHT-STYLE
Style used for highlighting lines.
âhtml-base-line=1
Base line number.
âversion
Show application version.
BUGS
See GitHub Issues: <https://github.com/alecthomas/chroma/issues>