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 is a fairly minor issue, but in the interest of orthogonality, it would be nice if no-highlight took precedence over even a supported language. If, for example, Python is included as a supported language:
<pre class="no-highlight language-python">...
Syntax highlights the block using the Python highlighter.
I think something like:
if (block.classList.contains("no-highlight")) {
return "no-highlight";
}
at the start of blockLanguage on line 95 would do it.
The text was updated successfully, but these errors were encountered:
I learned about
no-highlight
in #842This is a fairly minor issue, but in the interest of orthogonality, it would be nice if
no-highlight
took precedence over even a supported language. If, for example, Python is included as a supported language:Syntax highlights the block using the Python highlighter.
I think something like:
at the start of
blockLanguage
on line 95 would do it.The text was updated successfully, but these errors were encountered: