Packages

marked

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

Your version

18.2.1

Latest16 Nov 2026Where it was published

In short

3 faster16 fixed

Release note

Bug Fixes

  • Allow tabs between the tag name and attributes of an html block

  • cli: wait for stdout before exiting

  • Continue a block quote paragraph with a lazy line that starts an html tag

  • End a block quote at a lazy line after an empty list item

  • End a list item before a lazy line after an empty or non-paragraph nested block

  • Fix bracket escapes inside code spans in link text being stripped (#4205) (9a26ae9), closes #4176 #4176 #4176

  • Keep a tab after the block quote marker's space literal

  • Keep rejected table candidates in the preceding paragraph

  • Keep tabs that are code content under a block quote (#4217) (d2c6f73), closes #4184

  • Let a mid-run opener close against a delimiter that can also open

  • Let an autolink or inline html line start or continue a setext heading

  • Parse links generated by inline tokenizers

  • Preserve trailing blank lines in fenced code

  • Reject a link destination in angle brackets with an unescaped < or >

  • Remove a task item's checkbox marker from its own text

  • types: preserve custom output types in tokenizer overrides

Performance Improvements

  • Check the first character before inline tokenizer regexes

  • Close residual O(n²) parse time on unmatched emphasis/strikethrough delimiter runs (follow-up to #4099 / #4103)

  • Skip the emphasis closer scan for inline runs without a delimiter

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.