hugo/docs/content/en/functions/transform/CanHighlight.md
2023-12-04 15:24:01 +01:00

457 B

title description categories keywords action
transform.CanHighlight Reports whether the given code language is supported by the Chroma highlighter.
aliases related returnType signatures
functions/transform/Highlight
functions/transform/HighlightCodeBlock
bool
transform.CanHighlight LANGUAGE
{{ transform.CanHighlight "go" }} → true
{{ transform.CanHighlight "klingon" }} → false