Skip to content

marked-pce@0.2.0

Choose a tag to compare

@jonpyt jonpyt released this 10 Jan 16:37
· 105 commits to main since this release

Breaking changes

  • Reworked how line highlighting works. Now, the prop name becomes the class added. To migrate, either rename the props from ins to inserted, del to deleted, and highlight to highlighted or change your CSS selectors (f7f4cc9)
  • The extension is now exported as a default export. Below you can see how to import it (8b8ad71)
import prismCodeEditor from "marked-prism-code-editor"

Other changes

prism-code-editor 5.0.0 and marked 17.0.0 are now explicitly supported