# What changed in node-html-markdown

> 9 changes in node-html-markdown 2 from its official release notes, upgrade guides and advisories: 1 breaking. Each one cited. Sources checked 2026-10-20. HTML: https://unstale.sh/npm/node-html-markdown/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## node-html-markdown 2

### Breaking changes

- Elements that should not be inside codeblocks are explicitly denied special handling, changing how those elements are processed. (2.0.0) — [release notes](https://github.com/crosstype/node-html-markdown/releases/tag/v2.0.0)

### Fixes and other changes

- Backslash escaping is prevented in tables nested within list items. (2.0.0) — [release notes](https://github.com/crosstype/node-html-markdown/releases/tag/v2.0.0)
- Whitespace and newlines are preserved in code blocks. (2.0.0) — [release notes](https://github.com/crosstype/node-html-markdown/releases/tag/v2.0.0)
- Mixed-case HTML tags are now handled correctly. (2.0.0) — [release notes](https://github.com/crosstype/node-html-markdown/releases/tag/v2.0.0)
- Nested lists now use 2-space indentation. (2.0.0) — [release notes](https://github.com/crosstype/node-html-markdown/releases/tag/v2.0.0)
- Options overwritten when an element is a block element are now ignored. (2.0.0) — [release notes](https://github.com/crosstype/node-html-markdown/releases/tag/v2.0.0)
- A table parsing issue was fixed. (2.0.0) — [release notes](https://github.com/crosstype/node-html-markdown/releases/tag/v2.0.0)
- Trailing whitespace is trimmed while two-space line breaks are preserved. (2.0.0) — [release notes](https://github.com/crosstype/node-html-markdown/releases/tag/v2.0.0)
- Whitespace before inline formatting elements is preserved. (2.0.0) — [release notes](https://github.com/crosstype/node-html-markdown/releases/tag/v2.0.0)
