You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This extension adds the 'hljs' class to the code tags using the wrapCodeRenderer.
There's nothing stopping you from having multiple code blocks inside the <pre> tags. It's a bit odd, but I did it recently to overlay a SVG on top of some hex. In this case, hljs is only added to the first block, and this means the second code block doesn't receive the same styles.
Typical highlightjs output has the structure
This extension adds the 'hljs' class to the code tags using the wrapCodeRenderer.
There's nothing stopping you from having multiple code blocks inside the
<pre>
tags. It's a bit odd, but I did it recently to overlay a SVG on top of some hex. In this case, hljs is only added to the first block, and this means the second code block doesn't receive the same styles.This can be fixed by changing
to
The text was updated successfully, but these errors were encountered: