bm.md

Markdown formatter and exporter for WeChat and multi-platform publishing.

Local

Install

See setup instructions on bm.md

What it does

bm.md is a Markdown formatting tool aimed at people publishing articles to WeChat Official Accounts and other platforms. It renders Markdown with one of 16 built-in layout styles and 14 code highlighting themes, then copies rich text with inline styles for WeChat, handling link footnotes, code block whitespace and horizontal table scrolling; generic HTML copying is also available. Custom CSS can be appended.

Mermaid diagrams and AntV infographic blocks render and are embedded after sanitization. Outputs include PNG or JPEG images generated with snapDOM, and vector A4 PDF produced in the browser by the Takumi PDF WASM engine, with font subsetting and fallback for missing glyphs. Multiple files persist in IndexedDB, documents open through the AnyDoc WASM converter, and imported images can be OCR'd locally with PaddleOCR.js.

All Markdown operations are exposed through one registry as a web UI, a CLI, a REST API and an MCP server. The installable CLI is bmmd on npm, supporting Node.js 20 or newer; the project itself builds with Node.js 24 and deploys via Nitro to providers such as Alibaba Cloud ESA or Tencent Cloud EdgeOne. Optional S3 storage or a fallback image host handles uploads. The source does not detail MCP transport or client configuration.

Compatibility and authentication

Connection
Local
Transports
Unspecified
Authentication
Unknown

Security and permissions

  • When you run the server locally, it runs with your user permissions.
  • Authentication type: Unknown.

Repository data

Stars
624
Last push
Oct 25, 2026
License
LGPL-3.0
Archived
No

FAQ

What license does bm.md use?
LGPL-3.0
Does bm.md run locally or remotely?
It runs locally.
Is bm.md an official server?
It is listed as a community server.

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/mcp/bm-md"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options