Packages

markdown-it

15.0.3 · 16 Oct 2026MIT41.9M / weekRepositoryHomepagenpmAtom feed

Upgrading markdown-it From 4.4.0 to 5.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 4.4.0Clears its 5 advisories14.3.3Latest15.0.3
The note of 5.0.0 lists no breaking change or deprecation; the migration guide below lists them.
  1. 4.4.0yours
  2. 5.0.0target
?
changes to make
0
advisories fixed
0
new
2
fixes

Start here

Security

Release by release

  1. 5.0.0

    5 Oct 20152 fixes
    • Fixed

      Don't wrap iframes with paragraphs.

    • Fixed

      Fix closure compiler collisions (don't use reserved words), #159.

4 other lines we could not sort, mostly version bumps
  • Internal API change. Due to new CM spec requirements, we had to update internals. That should not touch ordinary users, but can affect some external plugins. If you are plugin developper - see migration guide: github.com/markdown-it/markdown-it/blob/master/….

    5.0.0
  • Updated CM spec compatibility to 0.22 (see list below).

    5.0.0
  • Keep tabs (don't replace with spaces).

    5.0.0
  • Rewritten emphasis algorithm.

    5.0.0

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.