UNPKG

@kingsword/node-html-markdown

Version:

Fast HTML to markdown cross-compiler, compatible with both node and the browser

138 lines (73 loc) 8.48 kB
# Changelog All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. ## [1.3.3](https://github.com/kingsword09/node-html-markdown/compare/v1.3.1...v1.3.3) (2025-05-31) ### Remove - Remove build.yml ([aeed07d](https://github.com/kingsword09/node-html-markdown/commit/aeed07d1991765ac5444832f970adbaaa6e0dd7a)) ## [1.3.2](https://github.com/kingsword09/node-html-markdown/compare/v1.3.1...v1.3.2) (2025-05-31) ### Fixes - Fixed npm publish issue ([b396b57](https://github.com/kingsword09/node-html-markdown/commit/b396b572b3a545769e5830bae395b56e5f9aeb57)) ## [1.3.1](https://github.com/kingsword09/node-html-markdown/compare/v1.3.0...v1.3.1) (2025-05-31) ### Features - Added `parse` export to parser html ([096b183](https://github.com/kingsword09/node-html-markdown/commit/096b183114d6c15715090f03a1f79d6c3607656f)) ## [1.3.0](https://github.com/crosstype/node-html-markdown/compare/v1.2.0...v1.3.0) (2022-12-13) ### Features - Added `useInlineLinks` option ([c318667](https://github.com/crosstype/node-html-markdown/commit/c318667334d979db3cf7bcd3600f9dd1618ba5b3)) - Added option to customize custom strike tag. ([82cf1e3](https://github.com/crosstype/node-html-markdown/commit/82cf1e3c33662254983f35bb2000c62fc3d5870c)) ### Fixes - Can't get text from TextNode in the browser (fixes [#40](https://github.com/crosstype/node-html-markdown/issues/40)) ([feec660](https://github.com/crosstype/node-html-markdown/commit/feec6609cc4ad5c00ce81835d60c3a00036f82e7)) - perfStart and perfStop breaking code in the browser (fixes [#36](https://github.com/crosstype/node-html-markdown/issues/36) ([7d52c92](https://github.com/crosstype/node-html-markdown/commit/7d52c928b718acae578692736cda1f17d4733ab1)) ### [1.2.2](https://github.com/crosstype/node-html-markdown/compare/v1.2.0...v1.2.2) (2022-10-26) ### Fixes - Can't get text from TextNode in the browser (fixes [#40](https://github.com/crosstype/node-html-markdown/issues/40)) ([feec660](https://github.com/crosstype/node-html-markdown/commit/feec6609cc4ad5c00ce81835d60c3a00036f82e7)) - perfStart and perfStop breaking code in the browser (fixes [#36](https://github.com/crosstype/node-html-markdown/issues/36) ([7d52c92](https://github.com/crosstype/node-html-markdown/commit/7d52c928b718acae578692736cda1f17d4733ab1)) ## [1.2.0](https://github.com/crosstype/node-html-markdown/compare/v1.1.3...v1.2.0) (2022-04-20) ### Features - Added table support ([faaebe8](https://github.com/crosstype/node-html-markdown/commit/faaebe8b8b85a6e4680a286f24ff963db097cc66)) ### [1.1.3](https://github.com/crosstype/node-html-markdown/compare/v1.1.2...v1.1.3) (2021-10-24) ### Fixes - Percent-encode Markdown reserved symbols in URLs ([#26](https://github.com/crosstype/node-html-markdown/issues/26)) ([83d4fff](https://github.com/crosstype/node-html-markdown/commit/83d4fff866eb027ebba052ab45996f679412c42b)) ### [1.1.2](https://github.com/crosstype/node-html-markdown/compare/v1.1.1...v1.1.2) (2021-09-18) ### Fixes - **upstream:** Parser dependency parses invalid nested A improperly (closes [#25](https://github.com/crosstype/node-html-markdown/issues/25)) ([bdc7caa](https://github.com/crosstype/node-html-markdown/commit/bdc7caaac615428c89729f30b23fa2a29d9a6c56)) - Correct nesting and other possible issues in child nodes of A tag (closes [#25](https://github.com/crosstype/node-html-markdown/issues/25)) ([dcd6b20](https://github.com/crosstype/node-html-markdown/commit/dcd6b209f630335c314d67e47fd2290218bd6e79)) ### [1.1.1](https://github.com/crosstype/node-html-markdown/compare/v1.1.0...v1.1.1) (2021-08-03) ### Fixes - Preformatted code block node contents getting trimmed (fixes [#20](https://github.com/crosstype/node-html-markdown/issues/20)) ([af79995](https://github.com/crosstype/node-html-markdown/commit/af799956d94d7a06c50df71746bcfac8f31e342e)) ## [1.1.0](https://github.com/crosstype/node-html-markdown/compare/v1.0.1...v1.1.0) (2021-07-26) ### Features - Added `preserveIfEmpty` translator option to allow triggering translators that do not have children (closes [#19](https://github.com/crosstype/node-html-markdown/issues/19)) ([c3d8829](https://github.com/crosstype/node-html-markdown/commit/c3d88296de6c51b016524406021718218d0c412b)) ### Fixes - Codeblocks apply markdown formatting to contents (fixes [#22](https://github.com/crosstype/node-html-markdown/issues/22)) ([040f81e](https://github.com/crosstype/node-html-markdown/commit/040f81edde8ec21e393a2b38273f9427751bfad2)) - Whitespace not always properly handled (fixes [#20](https://github.com/crosstype/node-html-markdown/issues/20) [#21](https://github.com/crosstype/node-html-markdown/issues/21)) ([8c43a22](https://github.com/crosstype/node-html-markdown/commit/8c43a22c3da5a5f5134fc52e08015b476cfbbb45)) ### [1.0.1](https://github.com/crosstype/node-html-markdown/compare/v1.0.0...v1.0.1) (2021-07-13) ### Fixes - Whitespace between some nodes not properly handled (fixes [#16](https://github.com/crosstype/node-html-markdown/issues/16)) ([a7abf81](https://github.com/crosstype/node-html-markdown/commit/a7abf81add691e199587ca85600fb0f4c6876a01)) ## [1.0.0](https://github.com/crosstype/node-html-markdown/compare/v0.1.7...v1.0.0) (2021-07-11) ### Features - Add useLinkReferenceDefinitions option (closes [#15](https://github.com/crosstype/node-html-markdown/issues/15)) ([a7caef1](https://github.com/crosstype/node-html-markdown/commit/a7caef106a37a5de618e7072ed4e329a1c4c4f95)) - Improved spacing in and around bold, italic, and strikethrough tags ([8198524](https://github.com/crosstype/node-html-markdown/commit/8198524680ec3e6e5d8578b18fe58067158774bb)) - Prefer <inline> links when possible (closes [#17](https://github.com/crosstype/node-html-markdown/issues/17)) ([613e8bb](https://github.com/crosstype/node-html-markdown/commit/613e8bb5d39ca84efcce13c33c1fda8206a9d924)) ### Fixes - Ensure html entities are decoded (Fixes [#14](https://github.com/crosstype/node-html-markdown/issues/14)) ([1e59887](https://github.com/crosstype/node-html-markdown/commit/1e59887ea9baea37d72d977943cfda936e925924)) - Nested text formatting tags can break formatting (fixes [#18](https://github.com/crosstype/node-html-markdown/issues/18)) ([7640e33](https://github.com/crosstype/node-html-markdown/commit/7640e334936e6cd678cc1ea960b77135832afd55)) ### [0.1.7](https://github.com/crosstype/node-html-markdown/compare/v0.1.6...v0.1.7) (2021-06-11) ### Fixes - Allow for leading/trailing spaces in node content (fixes [#9](https://github.com/crosstype/node-html-markdown/issues/9)) ([ff61746](https://github.com/crosstype/node-html-markdown/commit/ff617463d9a0c18f5c58f31feda0c06a69a34d27)) ### [0.1.6](https://github.com/crosstype/node-html-markdown/compare/v0.1.5...v0.1.6) (2021-03-28) ### Fixes - **tsconfig:** Set output target to es2017 to support Node v10+ (Fixes [#7](https://github.com/crosstype/node-html-markdown/issues/7)) ([#8](https://github.com/crosstype/node-html-markdown/issues/8)) ([dd63205](https://github.com/crosstype/node-html-markdown/commit/dd63205a5019ab84ac5010cf0e2f06cbc5ffabb2)) ### [0.1.5](https://github.com/crosstype/node-html-markdown/compare/v0.1.4...v0.1.5) (2021-01-03) ### [0.1.3](https://github.com/crosstype/node-html-markdown/compare/v0.1.2...v0.1.3) (2020-11-28) ### Fixes - Fixed performance bottleneck (doubled speed) ([6d59c27](https://github.com/crosstype/node-html-markdown/commit/6d59c275f5f812d998ad36c09aeafa84191ed0a9)) ### [0.1.2](https://github.com/crosstype/node-html-markdown/compare/v0.1.1...v0.1.2) (2020-11-28) ### Fixes - Fixed wrong install instructions in readme ([e76df44](https://github.com/crosstype/node-html-markdown/commit/e76df44d3244888238a8962b5559e3a19a53675b)) ### [0.1.1](https://github.com/crosstype/node-html-markdown/compare/v0.0.3...v0.1.1) (2020-11-28) ### Fixes - Fixed broken benchmark file speed stats ([d12b702](https://github.com/crosstype/node-html-markdown/commit/d12b702274a2872d38d2b53269929002fc3924b7)) ## [0.1.0](https://github.com/crosstype/node-html-markdown/compare/v0.0.3...v0.1.0) (2020-11-28) ### Features - Added performance enhancements + improved benchmark display ([4777441](https://github.com/crosstype/node-html-markdown/commit/477744167d4e1ffce8c7bcbfbc34b5cd88aabf74)) ## [0.0.5](https://github.com/crosstype/node-html-markdown/v0.0.0...v0.0.5) - 2020-11-27 - Released initial version