-- Leo's gemini proxy

-- Connecting to freeshell.de:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

chroma


> Chroma is a general-purpose syntax highlighting library and corresponding command, for Go.

More information.


Highlight a source file with python lexer and output to terminal:

chroma --lexer="{python}" {source_file}

Highlight a source file with the Go lexer and output to an HTML file:

chroma --lexer="{go}" --formatter="{html}" {source_file} > {html_file}

Highlight a source file with the C++ lexer and output to an SVG, using the Monokai style:

chroma --lexer="{c++}" --formatter="{svg}" --syle="{monokai}" {source_file} > {svg_file}


> Copyright © 2014—present the tldr-pages team and contributors.

> This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY



-- Response ended

-- Page fetched on Tue May 21 04:26:13 2024