Packages

marked

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

Your version

18.1.1

12 Oct 2026Where it was published

18.2.1 is the newest release of 18.x.

In short

1 faster9 fixed

Release note

Bug Fixes

  • cli: honor an explicitly empty string input

  • End blockquote before a lazy line after a heading, hr or html block

  • Keep a backslash in a code span from hiding emphasis

  • Keep a decoded character reference from forming a new one (#4111) (6bbac0c), closes #38 #112

  • Let indented and type 3-5 html blocks interrupt a paragraph

  • Make walkTokens linear by appending values in place (#4121) (627d9ae), closes #4120

  • Match pre, script, style and textarea as whole tag names

  • Preserve enclosing link state after parsing images

  • Respect tab stops in list continuation indentation

Performance Improvements

  • Avoid repeated raw string copies in nested lists

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.