What problem does it solve?
Converts Markdown into styled HTML tailored for WeChat Official Accounts, ensuring consistent typography, theme compatibility, and ready-to-publish output with support for code highlighting, math formulas, PlantUML, footnotes, alerts, and external link bottom references.
Core Features & Use Cases
- WeChat-ready HTML: Markdown is converted into themed HTML with inline CSS tuned for WeChat styling, including support for WeChat-compatible themes (bytedance, grace, simple, modern, default).
- Rich Markdown Support: Includes code blocks with syntax highlighting, inline code, tables, images, footnotes, blockquotes, and embedded diagrams (PlantUML, Mermaid, etc.) through integrated extensions.
- Flexible Rendering Options: Choose themes, colors, font settings, and citation behaviors; optionally keep first heading and generate a final HTML output alongside optional metadata.
- Workflow Automation: Provides a deterministic script flow to render Markdown to HTML, manage backups, and produce a JSON output with metadata and content image mappings.
Quick Start
Run the converter on a Markdown file to produce a corresponding HTML file in the same directory and review the rendered output.
Quick Start (example)
Use the wechat-markdown-editor to convert article.md into article.html with default theme settings.