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
The language-* CSS class is now placed only on the <code> HTML tag, and no longer additionally on <pre>. This brings the plugin back in line with how markdown-it behaves out of the box. When migrating to this version, check your CSS selectors for anything targeting a class starting with language- on <pre> elements.
Users who combine this plugin with markdown-it-attrs must use markdown-it-attrs v5.0.0 or later for full compatibility. markdown-it-attrs is now declared by this plugin as an optional peer dependency with a minium version of 5.0.0.
Users who combine this plugin with markdown-it-attrs and configured highlightInlineCode: true for markdown-it-prism while also specifying allowedAttributes for markdown-it-attrs must include "language" in the allowedAttributes for markdown-it-prism’s highlighting to work.