bm-md

Render Markdown to HTML, convert bidirectionally, extract text, and lint formatting.

602|74|Updated Jan 10, 2026
One-click install
npx skills add https://github.com/miantiao-me/bm.md --skill bm-md
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bm-md
Source: https://github.com/miantiao-me/bm.md/tree/main/skills/bm-md
Command: npx skills add https://github.com/miantiao-me/bm.md --skill bm-md

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

bm.md streamlines content publishing by rendering Markdown to styled HTML, converting between Markdown and HTML, extracting plain text, and auto-validating/fixing formatting for cross-platform distribution.

Core Features & Use Cases

  • Markdown Rendering: Convert Markdown to styled HTML with inline CSS for editors and posts.
  • HTML ↔ Markdown: Bidirectional conversion to support content migration.
  • Text Extraction: Extract plain text from Markdown for summaries or analytics.
  • Lint & Repair: Validate and auto-fix formatting issues to ensure clean output.
  • Use Case: Publish a long article to WeChat, Zhihu, and Juejin with consistent styling across platforms.

Quick Start

Use the bm-md API to render a sample Markdown string via the API, for example, POST to /api/markdown/render with a Markdown payload and a chosen platform.

Frequently Asked Questions about bm-md

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I render Markdown to styled HTML for cross-platform publishing?

Markdown rendering to styled HTML is done by POSTing a Markdown payload to the /api/markdown/render endpoint, which returns JSON with a styled HTML result. This supports consistent formatting for publishing long articles to WeChat, Zhihu, and Juejin.

Can I convert HTML back to Markdown for content migration?

Bidirectional HTML and Markdown conversion is supported via the /api/markdown/parse endpoint, enabling content migration. You can convert existing HTML back into Markdown format for editing or repurposing across different platforms.

Does this Skill validate and fix Markdown formatting issues?

Markdown formatting validation and auto-fixing is handled by the /api/markdown/lint endpoint. It checks your text for formatting issues and automatically repairs them to ensure clean output before rendering or publishing.

What's the best way to extract plain text from Markdown for summaries?

Text extraction from Markdown is performed via the /api/markdown/extract endpoint. This API operation strips formatting and returns plain text in a JSON result field, which is useful for generating summaries or performing text analytics.

Do I need any dependencies to use the Markdown rendering API?

No dependencies are required to use this Markdown rendering API. It operates independently without external components, allowing you to directly call endpoints like /markdown/render and /markdown/parse to receive JSON responses.