alchaincyf/huashu-md-html
md/html 双向流水线 · 三个能力一站式:万物→md / md→精美html / html→md。封装 markitdown + Pandoc + html-to-markdown + trafilatura。4 套反 AI slop 主题。Claude Code skill.
What it solves
This project addresses the friction between how we write documents and how we share them. It treats Markdown as the "source of truth" for writing and editing, while automating the conversion to professional-grade formats like polished HTML or publisher-ready DOCX files, allowing you to switch between these formats without losing structure or quality.
How it works
It functions as a command-line tool (or an AI agent skill) that provides four core capabilities:
- Universal Import: Converts various files (PDF, DOCX, PPTX, XLSX, EPUB, images, audio, YouTube, or URLs) into clean Markdown.
- HTML Export: Transforms Markdown into one of four professionally designed, self-contained HTML themes (Article, Report, Reading, or Interactive) that avoid common "AI-generated" aesthetic tropes.
- HTML Archiving: Converts existing web pages or HTML files back into clean Markdown for your personal archives.
- Publisher-Ready DOCX: Converts Markdown into structured Word documents, complete with auto-generated covers, tables of contents, headers, footers, and professional typography suitable for editorial review.
Who it’s for
It is designed for writers, researchers, and developers who use Markdown for version control and AI-assisted editing but need to output high-quality, professional documents for publication, submission, or distribution.
Highlights
- Four Professional Themes: Includes pre-styled HTML themes (Tufte-inspired, whitepaper-style, minimalist, and interactive) that are self-contained and require no external dependencies.
- Publisher-Grade DOCX: Automates complex formatting tasks like embedding images, styling tables, and generating book-level navigation, making documents ready for human editors.
- Agent-Agnostic: Compatible with popular AI coding agents like Claude Code, Cursor, and others.
- Anti-Slop Design: All visual outputs follow a strict design philosophy that avoids common "AI-generated" visual clutter like neon gradients or excessive emojis.
- Seamless Workflow: Supports "round-tripping" content, allowing you to pull published web content back into your Markdown-based writing workflow.
Related
- Project
- Project
- Project
- Project