Skip to content

Releases: crosstype/node-html-markdown

v2.0.0

14 Nov 03:26

Choose a tag to compare

2.0.0 (2025-11-14)

⚠ BREAKING CHANGES

  • Explicitly deny special handling for elements that should not be inside codeblocks

  • Explicitly deny special handling for elements that should not be inside codeblocks (80fd704)

Fixes

  • correct nested list indentation to 2 spaces (fixes #57) (9358ccc)
  • eliminate circular dependency between config and utilities (fixes #74) (3934406)
  • fixed table parsing issue (closes #38, closes #47) (5ac217a)
  • handle mixed-case HTML tags correctly (fixes #63) (9016420)
  • Ignore options overwritten if block element. (fixes #49) (bdc0d09)
  • preserve whitespace and newlines in code blocks (fixes #52, #24) (372be6d)
  • preserve whitespace before inline formatting elements (fixes #61, fixes #34) (ba035e6)
  • Prevent backslash escaping in tables within list items (fixes #60) (f15e482)
  • remove perf functions from browser builds (fixes #58) (d1552fd)
  • trim trailing whitespace while preserving two-space line breaks (c0062b8)

v1.3.0

13 Dec 20:37

Choose a tag to compare

1.3.0 (2022-12-13)

Features

  • Added useInlineLinks option (c318667)
  • Added option to customize custom strike tag. (82cf1e3)

Fixes

  • Can't get text from TextNode in the browser (fixes #40) (feec660)
  • perfStart and perfStop breaking code in the browser (fixes #36 (7d52c92)

v1.2.2

26 Oct 00:34

Choose a tag to compare

1.2.2 (2022-10-26)

Fixes

  • Can't get text from TextNode in the browser (fixes #40) (feec660)
  • perfStart and perfStop breaking code in the browser (fixes #36 (7d52c92)

v1.2.0

20 Apr 15:49

Choose a tag to compare

1.2.0 (2022-04-20)

Features

v1.1.3

24 Oct 17:46

Choose a tag to compare

1.1.3 (2021-10-24)

Fixes

  • Percent-encode Markdown reserved symbols in URLs (#26) (83d4fff)

v1.1.2

18 Sep 17:57

Choose a tag to compare

1.1.2 (2021-09-18)

Fixes

  • upstream: Parser dependency parses invalid nested A improperly (closes #25) (bdc7caa)
  • Correct nesting and other possible issues in child nodes of A tag (closes #25) (dcd6b20)

v1.0

11 Jul 21:59

Choose a tag to compare

Release Notes

There should be no breaking changes in this release. However, because the library is considered stable and following semver, I am bumping to the v1 major version.

Features

  • Add useLinkReferenceDefinitions option (closes #15) (a7caef1)
  • Improved spacing in and around bold, italic, and strikethrough tags (8198524)
  • Prefer links when possible (closes #17) (613e8bb)

Fixes

  • Ensure html entities are decoded (Fixes #14) (1e59887)
  • Nested text formatting tags can break formatting (fixes #18) (7640e33)