CHROMA(1)
β¨ NAME β¨
chroma β the general purpose syntax highlighting program, bestie π β¨
πΈ SYNOPSIS πΈ
chroma [options] files ...
π¦ DESCRIPTION π¦
Okay so this manual page documents briefly the chroma command. That's the whole tea. π
π OPTIONS π
So these programs follow the usual GNU command line syntax, with long options starting with two dashes (-). A summary of options is included below, and yes I'm giving you all of them, no skips, no crumbs left behind. π«Ά
--helpβ Shows you context-sensitive help. Iconic behaviour honestly.--listβ Lists lexers, styles and formatters. Like a lil inventory moment.--unbufferedβ Do not buffer output. Zero patience, we love that for us.--traceβ Traces lexer states as they are traversed. Full main character surveillance arc π--checkβ Do not format, check for tokenization errors instead. Just vibes-checking, no glow-up.--filename=FILENAMEβ The filename to use for selecting a lexer when reading from stdin. Because stdin has no name of its own, poor thing π-l,--lexer=autodetectβ The lexer to use when formatting. Default isautodetect, and she's good at her job fr fr.-s,--style=swapoffβ The style to use for formatting. Defaultswapoff, slay.-f,--formatter=terminalβ The formatter to use. Defaults toterminal, as she should.--htmlβ Enable HTML mode (equivalent to--formatter html). Two ways to say the same thing, we contain multitudes.--html-prefix=PREFIXβ HTML CSS class prefix.--html-stylesβ Output HTML CSS styles.--html-onlyβ Output HTML fragment. A snippet, not the whole saga.--html-inline-stylesβ Output HTML with inline styles (no classes). Living inline, no class needed π--html-tab-width=8β Set the HTML tab width. Default:8.--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. Default:1.--versionβ Show application version. Know your queen's era. π
π BUGS π
Found something cursed? See GitHub Issues: https://github.com/alecthomas/chroma/issues
ngl if something's broken, that's the place to spill, not the group chat π
and that's the whole CHROMA(1) manual page bestie β this is CHROMA(1) from the good people who brought you the chroma command, so go highlight something and eat, no cap πβ¨π
π¦ where this page comes from
- debian bookworm: golang-chroma 0.10.0-3 Β· MIT
- ubuntu jammy: golang-chroma 0.9.4-1 Β· MIT
- ubuntu jammy: golang-chroma 0.9.4-1ubuntu0.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms