Install
openclaw skills install @520xiaomumu/html-markdown-hybridCombine high-quality Markdown to HTML rendering with robust HTML to Markdown extraction in one skill. Use when converting Markdown into nicer-looking standalone HTML pages, or when converting HTML files, raw HTML, URLs, and directories into clean Markdown with article/docs/forum cleanup profiles. Prefer the Python renderer for best-looking Markdown to HTML output, and use the Node pipeline for HTML to Markdown, batch mode, metadata, reports, and advanced profile-based cleanup.
openclaw skills install @520xiaomumu/html-markdown-hybridThis skill combines the best parts of two separate tools:
scripts/pretty_markdown_to_html.py for better-looking Markdown to HTML outputscripts/html_to_markdown.mjs for stronger HTML to Markdown conversion, URL fetching, cleanup profiles, metadata, and reportsscripts/markdown_to_html.mjs as an optional Node-based Markdown to HTML fallback when batch directory conversion or theme switching is more important than final polishUse this skill when the task is any of the following:
Use the Python renderer first when visual output quality matters most.
python scripts/pretty_markdown_to_html.py input.md -o output.html --theme light --title "Document"
Use this for:
Why this is the default:
Use the Node pipeline first for HTML extraction and cleanup.
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
Use this for:
Read references/profiles.md when choosing article, docs, forum, or custom.
Use the Node renderer when you need directory batch conversion or its built-in themes.
node scripts/markdown_to_html.mjs \
--file ./README.md \
--out ./README.html \
--theme github
Use it when:
github or minimal theme is specifically desiredDo not make this the first choice when the user explicitly cares most about frontend presentation quality.
pretty_markdown_to_html.pyhtml_to_markdown.mjs --profile articlehtml_to_markdown.mjs --profile docsmarkdown_to_html.mjs --input-dir ... --output-dir ...scripts/pretty_markdown_to_html.pyscripts/html_to_markdown.mjsscripts/markdown_to_html.mjsreferences/profiles.mdpackage.jsonThe Node scripts depend on packages listed in package.json.
If dependencies are not installed yet, run:
npm install
from the skill directory before using the Node scripts.
The Python renderer uses only the standard library and needs no extra dependencies.
For the exact kind of comparison where the same AI news markdown was rendered two ways, prefer:
pretty_markdown_to_html.pyhtml_to_markdown.mjsThat gives the stronger visual result in one direction and the stronger cleanup/extraction result in the other.