- Update dependencies
- Add
alias
option to support aliases in refractor.
- Update dependencies: refractor@3.4.0, eslint, jest, and prettier.
- Update dependencies.
- Update dependencies.
- Update snapshot, use Node 10, remove yarn in favor of package-lock.json, update Jest to fix security alerts.
- Allow uppercase language names in the
language-*
class (e.g.language-CSS
).
- Add
language-*
class to the<pre>
tag of the output, because many Prism themes rely on this undocumented pattern.
- Breaking: Add
options.ignoreMissing
which defaults tofalse
. If you are relying on silent failures to highlight when the language is not defined, you'll need to use this option. - Breaking: Remove support for
nohighlight
andno-highlight
classes. You can skip highlighting for any given<code>
by not putting alanguage-*
class on it. - Under the hood, use refractor instead of Parse5 and PrismJS directly.
- Initial release.