prismjs/internals/functions
Functions
Section titled “Functions”| Function | Description |
|---|---|
| highlight | Highlights a string of code using the given grammar. |
| highlightAll | Highlights all code elements on the page. |
| highlightAllUnder | Highlights all code elements under a given container. |
| highlightElement | Highlights a single code element. |
| tokenize | Tokenizes a string of code using the given grammar. |