Huashu md · html Publishing Pipeline
A multi-directional pipeline that turns any file into clean Markdown and then publishes it as polished HTML, DOCX, PDF or EPUB.
Docs & OfficeIntermediate★ 939⑂ 100AI score 10/10Last updated: Oct 13, 2026
What it does
- Anything → md: converts PDF, DOCX, PPTX, XLSX, images, audio, YouTube subtitles and web URLs into clean Markdown via markitdown.
- md → publication-grade output: HTML with four curated themes (article/report/reading/interactive), DOCX with publisher-grade typesetting presets, PDF in A4/A5/Letter/176×240mm via Playwright, and EPUB3 via ebooklib.
- html → md: uses trafilatura to strip navigation, ads and sidebars so you can archive published posts back into your source repo.
- Designer mode: the model reads your content, proposes three distinct visual directions, then builds the chosen one.
- Anti-AI-slop taste rules: bans purple gradients, neon, emoji icons; pins fonts, line-height and measure.
Who it's for
- Writers and teams who author once in Markdown and publish to many channels.
- Authors who need a submission-ready DOCX for publishers or editors.
- Researchers digitizing PDFs, decks and video transcripts into reusable text.
- Self-publishers producing EPUBs or print-ready PDFs.
Example uses
- "Turn this whitepaper PDF into a readable web page" →
any_to_md.py whitepaper.pdfthenmd_to_html.py --theme report. - "Bundle my nine chapters into a Word file for the publisher" →
md_to_docx.py ch*.md --book --title ... --images-dir ./imagesproduces a DOCX with cover, TOC and page numbers. - "Let me read this manuscript in Apple Books" →
md_to_epub.py book.md --split-h1 --cover cover.jpgsplits chapters on H1 and embeds local images.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/alchaincyf/huashu-md-html/HEAD/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on AI Skill Mart. Copy the SKILL.m folder from the GitHub repo alchaincyf/huashu-md-html into my ~/.claude/skills/huashu-md-html/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/alchaincyf/huashu-md-html.git ~/.claude/skills/huashu-md-html⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and create the skills folder if needed:
mkdir -p ~/.claude/skills - Clone the repo into it:
git clone https://github.com/alchaincyf/huashu-md-html.git ~/.claude/skills/huashu-md-html - Install pandoc, the core converter:
brew install pandocon macOS, or the installer from pandoc.org on Windows. - Install the Python dependencies:
python3 -m pip install 'markitdown[all]' html-to-markdown trafilatura python-docx Pillow ebooklib playwright(on macOS always usepython3 -m pip, not barepip). - For PDF output, download the browser engine once:
python3 -m playwright install chromium - Restart Claude Code and try a prompt like "convert this PDF to markdown" or "make a beautiful HTML page from this md file".
View source on GitHub ↗License: MIT