Internal
Optional
getThe language to use
Optional
highlightThis function is mostly used if you'd like to be able to have the code
highlighted via dangerouslySetInnerHTML
so that the code can be highlighted
in node environments.
the html to dangerously set within a <code>
tag
Optional
highlightA function that should highlight all the code within an HTMLElement
. This
should normally just be something like Prism.highlightElement
or
HighlightJS.highlightElement
.
Generated using TypeDoc
A function that can be used to get the language for a block of code or allow different aliases.