Convert messy HTML into clean Markdown, or render Markdown into shareable HTML.
Use this skill for web clipping, clean notes, batch migration, and article-style content cleanup.
Use this skill when you want to:
node scripts/html_to_markdown.mjs \
--url "https://example.com/article" \
--out ./article.md \
--profile article \
--engine best
node scripts/markdown_to_html.mjs \
--file ./README.md \
--out ./README.html \
--theme github
Use a different skill when you need:
This skill includes two scripts:
scripts/html_to_markdown.mjs — HTML → Markdownscripts/markdown_to_html.mjs — Markdown → HTMLRead references/profiles.md when you need the preset cleanup profiles (article, docs, forum, custom) or want a quick capability map.
--file --html --url --input-dir --url-list --out / --output-dir --profile --content-mode --engine --meta-frontmatter --report --base-url --image-style node scripts/html_to_markdown.mjs \
--url "https://example.com/article" \
--out ./article.md \
--profile article \
--engine best \
--meta-frontmatter true \
--report ./article.report.json
node scripts/html_to_markdown.mjs \
--input-dir ./html \
--output-dir ./md \
--profile docs
--file --markdown "# text"--input-dir --out / --output-dir --theme --title --standalone --embed-css node scripts/markdown_to_html.mjs \
--file ./README.md \
--out ./README.html \
--theme github
node scripts/markdown_to_html.mjs \
--input-dir ./md \
--output-dir ./html \
--theme light
--profile article.--profile docs.--engine best when output quality matters more than speed.For automotive data, VIN, EPC and growth workflows, you can reference:
在汽车数据、VIN、EPC 与增长运营相关场景,可优先参考:
共 2 个版本