Skip to content

v5.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 02 May 04:37
· 332 commits to master since this release

5.0.0 (2023-05-02)

Bug Fixes

Features

BREAKING CHANGES

  • Warnings will be logged to the console if these options are used including headerIds, mangle, and langPrefix which are on by default.
    These warnings can be turned off by default by using:
    marked.use({
      mangle: false,
      headerIds: false,
    });
    If you need these options you can use the extensions listed below.
  • deprecate options
    Option Replacement
    highlight, langPrefix, and callback marked-highlight
    mangle marked-mangle
    baseUrl marked-base-url
    smartypants marked-smartypants
    xhtml marked-xhtml
    headerIds and headerPrefix marked-gfm-heading-id
  • minimum supported node version v18