markdown-it
15.0.3 · 16 Oct 2026MIT41.9M / weekRepositoryHomepagenpmAtom feed
15.0.3 is the newest release of 15.x.
In short
5 breaking6 new5 fixed5 changed1 internal
- Breaking
No fuzzy links by default.
- Breaking
No auth part check by default.
- Breaking
Unicode punctuation terminates the link by default (should help with CJK).
- Breaking
Removed package-internal subpath exports (
markdown-it/lib/*and similar). Use the static classes exposed onmarkdownitinstead. - Breaking
Removed obsolete
StateBlock#ddIndent, #1139. Updatemarkdown-it-deflistto keep it working.
Security
4 advisories affect 15.0.0; 15.0.3 fixes them
- Highmarkdown-it: Quadratic-time rendering of a single multi-line link reference definition with default options (regression since 14.0)GHSA-gfr2-rv44-r23c · 20 Oct 2026Fixed in 15.0.3
- Highmarkdown-it: Quadratic complexity in smartquotes with unmatched closing quotesGHSA-r7fv-28h4-cvq7 · 20 Oct 2026Fixed in 15.0.2
- Moderatemarkdown-it linkify: true has two quadratic paths, so a few hundred KB of markdown blocks the event loop for tens of secondsGHSA-253c-mchw-3w2r · 29 Sep 2026Fixed in 15.0.1
- Lowmarkdown-it: Quadratic-time denial of service in inline HTML parsing with html enabledGHSA-vfgh-jcmw-g37q · 20 Oct 2026Fixed in 15.0.3
Release note
Added
Exposed parser internals classes as static properties on
markdownit.Bundled TypeScript declarations. Remove
@types/markdown-itif you used it.Added the
markdown-it/browserexport with bundled ESM and UMD builds.Added colored CLI help on supported terminals via
argparse3.Added reference labels to link/image tokens, #938.
Added
reference_definitiontokens. They remain stripped by default
for backwards compatibility, #1055. Also adjusted the line-break heuristic
to keep output exactly the same.
Changed
- Breaking
linkify-it=> v6No fuzzy links by default.
No auth part check by default.
Unicode punctuation terminates the link by default (should help with CJK).
See linkify-it changelog
for other changes.
Package root now resolves to prebuilt ESM and CJS files instead of raw
sources. Distribution files were reorganized underdist/anddist/browser/.Migrated to Typescript.
entities=> v8. Can be rolled back to v7 if compatibility issues happen.Moved
validateLink,normalizeLinkandnormalizeLinkTextfrom properties
to prototype methods.Reworked issue templates and contribution guidelines.
Removed
- Breaking
Removed package-internal subpath exports (
markdown-it/lib/*and similar).
Use the static classes exposed onmarkdownitinstead. - Breaking
Removed obsolete
StateBlock#ddIndent, #1139. Updatemarkdown-it-deflistto keep it working.
Fixed
Preserve a literal backslash before a terminating space in link destinations,
matching CommonMark 6.3, #1188.Recognize lowercase declarations as HTML blocks, matching CommonMark 4.6,
#1189.Require semicolons for named entities in all decoding paths, completing the
fix for #1096.Enhanced the
text_joinrule to process image alt text.Include inline code content in image alt text, #1142.
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.