highlight
Output syntax-highlighted source code to a variety of formats. More information: http://andre-simon.de/doku/highlight/en/highlight.php.
- Produce a complete HTML document from a source code file:
highlight
- Produce an HTML fragment, suitable for inclusion in a larger document:
highlight
- Inline the CSS styling in every tag:
highlight --inline-css
- List all supported languages, themes, or plugins:
highlight --list-scripts
- Print a CSS stylesheet for a theme:
highlight --print-style --stdout
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
