
Canghe Markdown To Html
Converts markdown to HTML with inline CSS styling, originally built for WeChat Official Account publishing but works anywhere you need self-contained HTML. Ships with three themes (default, grace, simple) and handles the usual suspects: code highlighting, tables, footnotes, alerts, even mermaid and PlantUML diagrams. The workflow is smart about Chinese content, offering to auto-format CJK text first to fix spacing and bold marker issues before conversion. Outputs to the same directory as your source file with automatic backup if a file exists. Supports EXTEND.md for custom CSS variables if you want to tweak colors without forking. The keep-title flag is a nice touch for when you don't want it stripping your first heading.
- skills.sh installs
- 536
- GitHub stars
- 474
- last updated
- Aug 21, 2026
Install
$ npx -y skills add freestylefly/canghe-skills --skill canghe-markdown-to-html --agent claude-codeInstalls into .claude/skills of the current project.
Files
Markdown to HTML Converter
Converts Markdown files to beautifully styled HTML with inline CSS, optimized for WeChat Official Account and other platforms.
Script Directory
Agent Execution: Determine this SKILL.md directory as SKILL_DIR, then use ${SKILL_DIR}/scripts/<name>.ts.
| Script | Purpose |
|---|---|
scripts/main.ts | Main entry point |
Preferences (EXTEND.md)
Use Bash to check EXTEND.md existence (priority order):
# Check project-level first
test -f .canghe-skills/canghe-markdown-to-html/EXTEND.md && echo "project"
# Then user-level (cross-platform: $HOME works on macOS/Linux/WSL)
test -f "$HOME/.canghe-skills/canghe-markdown-to-html/EXTEND.md" && echo "user"
Sponsors
Details
- Repository
- github.com/freestylefly/canghe-skills
- Category
- Frontend Development
- First seen
- Jun 3, 2026
More from freestylefly/canghe-skills
All 29- Canghe Article Illustrator522
- Canghe Infographic516
- Canghe Url To Markdown510
- Canghe Slide Deck506
- Canghe Format Markdown505
- Remotion Best Practices503
- Canghe Post To Wechat498
- Canghe Danger Gemini Web497
- Find Skills497
- Canghe Compress Image494
- Canghe Danger X To Markdown489
- Canghe Post To X488
- Obsidian Markdown488
- Douyin Downloader485
- Json Canvas484
- Skill Creator483
- Obsidian Bases477
- Release Skills476
- Flyworks Avatar Video378
- Paddleocr Doc Parsing373
- Manga Drama863
- Manga Style Video667
- Seedance Video609
- Canghe Image Gen598