hugo/docs/content/en/functions/transform/CanHighlight.md
2023-10-20 09:43:56 +02:00

514 B

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