marked
18.2.1 · 16 Nov 2026MIT138.2M / weekRepositoryHomepagenpmAtom feed
0.8.2 is the newest release of 0.4.x.
In short
8 breaking2 security3 new4 changed
- Breaking
Fix escaping pipes in tables
- Breaking
Fix html output for tables to match GFM spec
- Breaking
Fix many bugs to reach parity with CommonMark spec
- Breaking
Fix new Renderer() so it uses default options
- Breaking
Fix text and paragraph return types
- Breaking
Fix
<em>less than 3 chars - Breaking
Fix
<pre>code blocks so there is no more trailing\n - Breaking
Fix default langPrefix to follow CommonMark standard
language-
Security
4 advisories affect 0.4.0; 4.0.10 fixes the others
- HighInefficient Regular Expression Complexity in markedGHSA-5v2h-r2cx-5xgj · 14 Jan 2022Fixed in 4.0.10
- HighInefficient Regular Expression Complexity in markedGHSA-rrrm-qjm4-v8hf · 14 Jan 2022Fixed in 4.0.10
- ModerateMarked ReDoS due to email addresses being evaluated in quadratic timeGHSA-xf5p-87ch-gxw2 · 5 Jun 2019Fixed in 0.6.2
- LowRegular Expression Denial of Service in markedGHSA-ch52-vgq2-943f · 3 Sep 2020No fix yet
Release note
Security Fixes
New Features
Add option to disable heading ids
Add support for GFM Task Lists to comply with the GFM spec
Breaking Changes
- Breaking
Fix escaping pipes in tables
- Breaking
Fix html output for tables to match GFM spec
- Breaking
Fix many bugs to reach parity with CommonMark spec
- Breaking
Fix new Renderer() so it uses default options
- Breaking
Fix text and paragraph return types
- Breaking
Fix
<em>less than 3 chars - Breaking
Fix
<pre>code blocks so there is no more trailing\n - Breaking
Fix default langPrefix to follow CommonMark standard
language-
CLI Changes
Add string argument to CLI
Change CLI stdio to remove warning
Other changes
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.