@mapbox/rehype-prism
Advanced tools
Changelog
0.7.0
Changelog
0.4.0
Changelog
0.3.1
language-*
class (e.g. language-CSS
).Changelog
0.3.0
language-*
class to the <pre>
tag of the output, because many Prism themes rely on this undocumented pattern.Changelog
0.2.0
options.ignoreMissing
which defaults to false
.
If you are relying on silent failures to highlight when the language is not defined, you'll need to use this option.nohighlight
and no-highlight
classes.
You can skip highlighting for any given <code>
by not putting a language-*
class on it.