Packages

marked

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

Your version

18.1.2

26 Oct 2026Where it was published

18.2.1 is the newest release of 18.x.

In short

1 faster13 fixed

Release note

Bug Fixes

  • Allow a tab or end of input after a type 6 html block tag name

  • Apply emphasis flanking and rules 9-10 to the whole delimiter run

  • cli: await config functions before parsing

  • cli: create no-clobber output files atomically

  • Do not continue a block quote paragraph from a whitespace-only line

  • Expand a tab after the block quote marker to the next tab stop

  • Honor per-call async options when composing hooks

  • Keep a line starting with # but no space in the list item

  • Keep duplicate link definitions in the tokens

  • Keep lazy lines after a list in a nested blockquote

  • Keep lazy setext underlines in list items as text

  • Render nested image alt formatting as plain text

  • Stop an unclosed inline raw tag from unescaping later blocks

Performance Improvements

  • ~16% faster parsing by skipping em/strong masking for runs without *, _ or ~

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.