💾 Archived View for freeshell.de › tldr › highlight.gmi captured on 2022-06-11 at 21:59:04. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

highlight

Outputs syntax-highlighted source code to a variety of formats.

More information.

highlight --out-format={html} --style {theme_name} --syntax {language} {path/to/source_code}
highlight --out-format={html} --fragment --syntax {language} {source_file}
highlight --out-format={html} --inline-css --syntax {language} {source_file}
highlight --list-scripts {langs|themes|plugins}
highlight --out-format={html} --print-style --style {theme_name} --syntax {language}] --stdout
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