Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (23 sloc) 700 Bytes
title linktitle description godocref date publishdate lastmod categories menu keywords signature workson hugoversion relatedfuncs deprecated
highlight
highlight
Takes a string of code and language declaration and uses Chroma to return syntax-highlighted HTML.
2017-02-01
2017-02-01
2017-02-01
functions
docs
parent
functions
highlighting
code blocks
syntax
highlight INPUT LANG OPTIONS
false

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

You can’t perform that action at this time.