markdown-it
15.0.3 · 16 Oct 2026MIT41.9M / weekRepositoryHomepagenpmAtom feed
89 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 15.x · latest line
15.0.3
16 Oct 2026- Security
Fixed quadratic complexity when parsing multiline reference definitions.
- Security
Fixed quadratic complexity when parsing unclosed inline HTML comments, processing instructions, declarations and CDATA sections.
Enforce the 999 Unicode code point limit for reference definition labels, partially addressing #1213.
Fixed
Enforce the 999 Unicode code point limit for reference definition labels, partially addressing #1213.
Require whitespace before multiline reference titles.
Security
- Security
Fixed quadratic complexity when parsing multiline reference definitions.
- Security
Fixed quadratic complexity when parsing unclosed inline HTML comments, processing instructions, declarations and CDATA sections.
15.0.1
27 Aug 2026- Security
Fixed quadratic complexity when replacing fuzzy links.
- Security
Fixed quadratic complexity in scheme backscan (inline linkify rule).
Fixed code span parsing after lookaheads for unclosed link and image labels, #1201.
Fixed
Fixed code span parsing after lookaheads for unclosed link and image labels, #1201.
Preserve spaces in code spans whose content consists only of spaces, #1180.
Preserve brackets around IPv6 address literals when normalizing links, #1204.
Security
- Security
Fixed quadratic complexity when replacing fuzzy links.
- Security
Fixed quadratic complexity in scheme backscan (inline linkify rule).
15.0.0
30 Jul 2026- Breaking
linkify-it=> v6 - 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.
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 under
dist/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.
- 14.x
14.2.0
23 May 2026- Security
Fixed poor smartquotes perfomance on > 70k quotes in single block
- Security
Bumped linkify-it to 5.0.1 with fixed potential perfomance issues.
isPunctCharCodeto utilities.
Added
isPunctCharCodeto utilities.
Fixed
Don't end HTML comment blocks on a blank line, #1155.
Properly recognize astral chars (surrogates) in delimiter scans for emphasis-like markers, #1072. Big thanks to @tats-u for his global efforts with improving CJK support.
Preserve unicode whitespaces when trimm headings/paragraphs, #1074.
More strict entities decode to avoid false positives
;, #1096.Restore block parser state on fail in
lheadingrule, #1131.
Security
- Security
Fixed poor smartquotes perfomance on > 70k quotes in single block
- Security
Bumped linkify-it to 5.0.1 with fixed potential perfomance issues.
14.0.0
8 Dec 2023Drop ancient browsers support (use
.fromCodePointand other features).Rewrite to ESM (including all plugins/deps). CJS fallback still available. No signatures changed, except
markdown-it-emojiplugin.Dropped
dist/folder from repo, build on package publish.
Changed
Drop ancient browsers support (use
.fromCodePointand other features).Rewrite to ESM (including all plugins/deps). CJS fallback still available. No signatures changed, except
markdown-it-emojiplugin.Dropped
dist/folder from repo, build on package publish.Set
punicode.jsas external dependency.
Fixed
Html tokens inside img alt are now rendered as their original text, #896.
Hardbreaks inside img alt are now rendered as newlines.
- 13.x
13.0.1
3 May 2022Bumped
linkify-itto 4.0.1. That should fix some hangs, caused by wrong data, returned fromlinkify-it.
13.0.0
22 Apr 2022Added a new token type
text_specialto store escaped characters, same astextbut unaffected by replacement plugins (smartquotes, typographer, linkifier, etc.).Added a new rule
text_joinincoreruler. Text replacement plugins may choose to insert themselves before it.(p)is no longer replaced with § by typographer (conflicts with ℗), #763.
Added
Added a new token type
text_specialto store escaped characters, same astextbut unaffected by replacement plugins (smartquotes, typographer, linkifier, etc.).Added a new rule
text_joinincoreruler. Text replacement plugins may choose to insert themselves before it.
Changed
(p)is no longer replaced with § by typographer (conflicts with ℗), #763.text_collapserule is renamed tofragments_join.
Fixed
Smartquotes, typographic replacements and plain text links can now be escaped with backslash (e.g.
\(c)orgoogle\.comare no longer replaced).Fixed collision of emphasis and linkifier (so
http://example.org/foo._bar_-_bazis now a single link, not emphasized). Emails and fuzzy links are not affected by this.
- 12.x
12.3.2
8 Jan 2022- Security
Fix possible ReDOS in newline rule. Thanks to @MakeNowJust.
12.3.0
9 Dec 2021- Removed
StateInline.delimiters.jumpis removed. Fixed quadratic complexity in pathological
***<10k stars>***a***<10k stars>***case.
12.1.0
1 Jul 2021Updated CM spec compatibility to 0.30.
12.0.3
7 Dec 2020(<foo<bar>)is no longer a valid link.(url (xxx())is no longer a valid link.(url\ xxx)is no longer a valid link.
Fixed
(<foo<bar>)is no longer a valid link.(url (xxx())is no longer a valid link.(url\ xxx)is no longer a valid link.Fix performance issues when parsing links (#732, #734), backticks, (#733, #736), emphases (#735), and autolinks (#737).
Allow newline in
<? ... ?>in an inline context.Allow
<meta>html tag to appear in an inline context.
12.0.0
14 Oct 2020.gitattributes, force unix eol under windows, for development.Added 3rd argument to
highlight(code, lang, attrs), #626.Rewrite tables according to latest GFM spec, #697.
Added
.gitattributes, force unix eol under windows, for development.
Changed
Added 3rd argument to
highlight(code, lang, attrs), #626.Rewrite tables according to latest GFM spec, #697.
Use
rollup.jsto browserify sources.Drop
bower.json(bower reached EOL).Deps bump.
Tune
specsplit.jsoptions.Drop
Makefilein favour of npm scrips.
Fixed
- 11.x
11.0.0
19 May 2020Bumped
linkify-itto 3.0.0, #661 + allow unlimited.inside links.Dev deps bump.
Switch to
nycfor coverage reports.
Changed
Bumped
linkify-itto 3.0.0, #661 + allow unlimited.inside links.Dev deps bump.
Switch to
nycfor coverage reports.Partially moved tasks from Makefile to npm scripts.
Automate web update on npm publish.
Fixed
- 10.x
10.0.0
10 Sep 2019- Security
Fix quadratic parse time for some combinations of pairs, #583. Algorithm is now similar to one in reference implementation.
Minor internal structs change, to make pairs parse more effective (cost is linear now). If you use external "pairs" extensions, you need sync those with "official ones". Without update, old code will work, but can cause invalid result in rare case. This is the only reason of major version bump. With high probability you don't need to change your code, only update version dependency.
Updated changelog format.
Security
- Security
Fix quadratic parse time for some combinations of pairs, #583. Algorithm is now similar to one in reference implementation.
Changed
Minor internal structs change, to make pairs parse more effective (cost is linear now). If you use external "pairs" extensions, you need sync those with "official ones". Without update, old code will work, but can cause invalid result in rare case. This is the only reason of major version bump. With high probability you don't need to change your code, only update version dependency.
Updated changelog format.
Deps bump.
- 9.x
9.0.0
9 Jul 2019Updated CM spec compatibility to 0.29.
Update Travis-CI node version to actual (8 & latest).
Deps bump.
- 8.x
8.4.0
24 Aug 2017Updated CM spec compatibility to 0.28.
8.2.1
1 Dec 2016Add missed h2..h6 to whitelisted block tags.
8.2.0
1 Dec 20168.0.1
18 Oct 2016Tables: Allow tab characters in markup
8.0.0
16 Sep 2016Benchmarks src cleanup.
Remove testing in old nodes (but still use es5).
Updated CM spec compatibility to 0.26 (see list below):
Changed
Benchmarks src cleanup.
Remove testing in old nodes (but still use es5).
Updated CM spec compatibility to 0.26 (see list below):
Two consecutive newlines no longer terminate a list.
Ordered list terminating a paragraph can now only start with 1.
Adjust emphasis algorithm (
*foo**bar**baz*is now parsed as<strong>inside<em>).Fix tab width calculation inside lists and blockquotes.
- 7.x
7.0.0
22 Jun 2016Major version bumped, because internals or
linkify-itwas changed. You will not be affected anyhow, if not used direct access torequire('linkify-it/re')for customizations.
- 6.x
6.1.1
21 Jun 2016Render
code_inline&code_blockattributes if exist.
6.1.0
19 Jun 2016Updated
fencerenderer to not mutate token. Token stream should be immutable after renderer call.
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.