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
Prism requires you to use code blocks within pre blocks with "language-xxx" classes. Currently there is an option to set code class through code-style option. For proper syntax highlight, we would need access to pre class in the same way.
Prism forces you to use the correct element for marking up code: <code>. On its own for inline code, or inside a <pre> for blocks of code. In addition, the language is defined through the way recommended in the HTML5 draft: through a language-xxxx class.
The text was updated successfully, but these errors were encountered:
Prism requires you to use code blocks within pre blocks with "language-xxx" classes. Currently there is an option to set code class through
code-style
option. For proper syntax highlight, we would need access to pre class in the same way.The text was updated successfully, but these errors were encountered: