Skip to content

prismjs/internals/functions

FunctionDescription
highlightHighlights a string of code using the given grammar.
highlightAllHighlights all code elements on the page.
highlightAllUnderHighlights all code elements under a given container.
highlightElementHighlights a single code element.
tokenizeTokenizes a string of code using the given grammar.