Packages

marked

18.2.1 · 16 Nov 2026MIT138.2M / weekRepositoryHomepagenpmAtom feed

Your version

2.0.0

major7 Feb 2021Where it was published

2.1.3 is the newest release of 2.x.

In short

3 breaking2 fixed

  • Breaking

    em and strong tokenizers have been merged into one emStrong tokenizer.

  • Breaking

    code and text tokenizers do not get passed all tokens as a second parameter.

  • Breaking

    No longer supporting IE 11. IE 11 may still work but we are not committed to making sure it works with every update. We still provide an es5 version in lib/marked.js but some pollyfills may be needed for IE 11 in the future.

Security

Fixes 1 advisory that affected 1.2.9

2 advisories affect 2.0.0; 4.0.10 fixes them

Release note

Bug Fixes

  • Join adjacent inlineText tokens

  • Total rework of Emphasis/Strong

Breaking changes

  • Breaking

    em and strong tokenizers have been merged into one emStrong tokenizer.

  • Breaking

    code and text tokenizers do not get passed all tokens as a second parameter.

  • Breaking

    No longer supporting IE 11. IE 11 may still work but we are not committed to making sure it works with every update. We still provide an es5 version in lib/marked.js but some pollyfills may be needed for IE 11 in the future.

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.