Gopher
FUNCTIONS

highlight

Takes a string of code and language declaration and uses Chroma to return syntax-highlighted HTML.

Syntax

highlight INPUT LANG OPTIONS

highlight is used in Hugo’s built-in highlight shortcode .