We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
For scoping and a potential performance improvement, here's a function to apply highlightAll to a single element:
highlightAll
const highlightAllElement = el => el.querySelectorAll('pre code').forEach(hljs.highlightElement)