v5.0.0
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
, andlangPrefix
which are on by default.
These warnings can be turned off by default by using:If you need these options you can use the extensions listed below.marked.use({ mangle: false, headerIds: false, });
- deprecate options
Option Replacement highlight
,langPrefix
, andcallback
marked-highlight mangle
marked-mangle baseUrl
marked-base-url smartypants
marked-smartypants xhtml
marked-xhtml headerIds
andheaderPrefix
marked-gfm-heading-id - minimum supported node version v18