Skip to content
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.

Latest commit

 

History

History
27 lines (17 loc) · 925 Bytes

CHANGELOG.md

File metadata and controls

27 lines (17 loc) · 925 Bytes

Changelog

0.3.1+fork.0.1.0

  • Fork from @mapbox/rehype-prism
  • Add markers following react-refractor example
  • Add highlight line support following gatsby-remark-prismjs example

0.3.1

  • Allow uppercase language names in the language-* class (e.g. language-CSS).

0.3.0

  • Add language-* class to the <pre> tag of the output, because many Prism themes rely on this undocumented pattern.

0.2.0

  • Breaking: Add 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.
  • Breaking: Remove support for nohighlight and no-highlight classes. You can skip highlighting for any given <code> by not putting a language-* class on it.
  • Under the hood, use refractor instead of Parse5 and PrismJS directly.

0.1.0

  • Initial release.