marked
18.2.1 · 16 Nov 2026MIT138.2M / weekRepositoryHomepagenpmAtom feed
Upgrading marked From 4.3.0 to 5.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 4
- changes to make
- 0
- advisories fixed
- 1
- new
- 1
- fix
Before you upgrade
Tick each one off as you go- Breaking5.0.0
- Breaking5.0.0
- Deprecated5.0.0
- Deprecated5.0.0
Release by release
- Breaking
Warnings will be logged to the console if these options are used including
headerIds,mangle, andlangPrefixwhich are on by default. These warnings can be turned off by default by using: - Breaking
Minimum supported node version v18
- Deprecated
Deprecate options
- Deprecated
Deprecate options | Option | Replacement| |---------|---------------| |
highlight,langPrefix, andcallback| marked-highlight| |mangle| marked-mangle| |baseUrl| marked-base-url| |smartypants| marked-smartypants| |xhtml| marked-xhtml| |headerIdsandheaderPrefix| marked-gfm-heading-id| - New
Add block param to html renderer
- Fixed
Update min node to v18
- Breaking
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.