Skip to content

Releases: jaywcjlove/html-to-markdown-cli

v2.1.1

26 Jun 22:41
Compare
Choose a tag to compare

Buy me a coffee

Documentation v2.1.1: https://raw.githack.com/jaywcjlove/html-to-markdown-cli/75e73d8/index.html
Comparing Changes: v2.1.1...v2.1.1

  • πŸ’’ ci: update workflows config. 6dddf9d
  • πŸ’’ ci: update FUNDING.yml 38879c2
  • 🐞 fix(@wcj/html-to-markdown): fix remarkPlugins option issue. a89da8e

v2.1.0

10 May 13:13
Compare
Choose a tag to compare

Buy me a coffee

Documentation v2.1.0: https://raw.githack.com/jaywcjlove/html-to-markdown-cli/660d60a/index.html
Comparing Changes: v2.0.1...v2.1.0

  • πŸ’’ ci: update workflows config. 439e38c
  • 🌟 feat: Support getting input from STDIN and outputting to STDOUT (useful for piping) (#19) 42573ce @jessp01
  • πŸ’Š clean: format code. #19 7f58210
  • 🌟 feat: the cli supports plugin config. 973fcb4
  • πŸ“– doc: update document. 2170b4a
  echo "<h1>hello world</h1>"| html-to-markdown - --stdout

Support Config

In the project's root directory, add a .htm2mdrc.js file with the following configuration to enable the rehype and remark plugins.

/**
 * @typedef {import("@wcj/html-to-markdown").Options} Options
 * @type {Options}
 **/
export default { 
  rehypeParseOption: {},
  rehypePlugins: [],
  remarkPlugins: [],
};

The configuration is supported by auto-config-loader and it supports configurations in formats of .htm2mdrc.js, .htm2mdrc.mjs, .htm2mdrc.cjs, and .htm2mdrc.ts.

v2.0.1

19 Apr 18:05
Compare
Choose a tag to compare

Buy me a coffee

Documentation v2.0.1: https://raw.githack.com/jaywcjlove/html-to-markdown-cli/ab917dd/index.html
Comparing Changes: v2.0.0...v2.0.1

  • πŸ’„ chore: add sponsor badge. afd9a20
  • πŸ’’ ci: update workflows config. 9cdca33
  • πŸ’„ chore(deps): update dependency lerna to v8 (#18) f5d45b2 @renovate-bot
  • πŸ’’ ci: update workflows config. f4c679d
  • β›‘ test: fix test case error. 6d204ab

v2.0.0

28 Sep 09:17
Compare
Choose a tag to compare

Documentation v2.0.0: https://raw.githack.com/jaywcjlove/html-to-markdown-cli/29b2f58/index.html
Comparing Changes: v1.0.1...v2.0.0

v1.0.1

25 Apr 11:20
Compare
Choose a tag to compare

Documentation v1.0.1: https://raw.githack.com/jaywcjlove/html-to-markdown-cli/678a689/index.html
Comparing Changes: v1.0.0...v1.0.1

  • πŸ’„ chore: update workflows config. 38a91e7
  • πŸ“– doc: Update README.md b127e0c
  • πŸ’„ chore: Update workflows config. 1b6d8b6
  • πŸ’„ chore: update enovate.json 9cf58c3
  • πŸ“– doc: Update README.md 7c27907
  • πŸ“– doc: Update README.md cc54aa9
  • 🌟 feat: add remarkPlugins/rehypePlugins options. 226cd10
  • πŸ“– doc: Update API document. 6e50f05

v1.0.0

25 Apr 10:51
Compare
Choose a tag to compare
v1.0.0