Bm.md CLI

A CLI formats Markdown for publication, creates styled HTML, extracts plain text and fixes document markup from a terminal.

  • 620 ★ on the repository
  • Last commit
  • LGPL-3.0
CLI

Extended access

Why this level

  • The CLI writes HTML and can overwrite source Markdown during fixes.
All reasons and checks

miantiao-me/bm.md

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add cli/bm-md-cli

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • The CLI writes HTML and can overwrite source Markdown during fixes.

This is third-party code. Review the repository files before installing.

What it does

Bm.md CLI exposes the bm.md project’s Markdown processing in a terminal. It accepts files or standard input, renders HTML for a selected platform and extracts plain text. A WeChat target formats articles for publication. Markup checking can fix the source file in place. This supports scripted preparation or a focused document operation by an agent. The project’s web editor offers additional export features; CLI work should follow the commands exposed by its own interface.

Who it is for. For writers and developers preparing Markdown for publication through scripts or a terminal.

Good fit when

  • Render an article as WeChat HTML.
  • Extract plain text from Markdown.
  • Fix markup before publication.
  • Add text processing to an existing pipeline.

Not a fit when

  • You need a general graphical editor in a terminal.
  • You expect every web export feature in each CLI command.
  • The source document cannot be overwritten by fixes.

Example request

Convert a copy of this article into WeChat HTML and show the result before publication.

Limitations

The published CLI needs Node.js 20 or later; the project recommends Node.js 24, so choose a maintained runtime for a new installation. The `bmmd lint` command with `--fix` overwrites the source, so keep a copy or inspect the Git diff. HTML appearance depends on the publishing platform; review it after pasting into the target editor. PDF and image export are primarily documented for the web interface; check actual CLI commands before relying on those features.

How to disable. Remove the global bmmd package with pnpm. Generated HTML and Markdown edits remain in their directories.

FAQ

What is the command name?

The published package exposes `bmmd`.

Does it accept stdin?

Yes, for example `cat article.md | bmmd extract`.

How do I save HTML?

The render command accepts `--output article.html`.

How do I choose WeChat?

Pass `--platform wechat` to render.

Does the CLI need the web development server?

The standalone package installs separately from the web application development environment.

Discussion

No questions or reviews yet.

CLI tools

A document pipeline skill: anything to markdown, markdown to clean html and publisher-grade docx, and html back to markdown

SkillExtended access939Repository stars

Marp CLI rebuilds slides when Markdown or a theme changes, so authors can review the output while editing their text.

CLIExtended access3.9KRepository stars

The CLI checks and formats Markdown so an agent can report violations before applying agreed changes.

CLIExtended access1.6KRepository stars

An MCP server on top of pandoc: the agent converts Markdown, HTML, DOCX, LaTeX, EPUB, ODT and other formats into one another

MCP serverExtended access586Repository stars

A skill and CLI that turn Markdown into DOCX, PDF, PPTX, XLSX, PNG and about a dozen more formats, all computed locally

SkillExtended access274Repository stars
Editors’ pick

A Firecrawl skill and CLI that lets your agent convert Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV and PDF to Markdown on your own machine

SkillExtended access23.4KRepository stars

README in short

The CLI supports piped text processing. The web application and its server settings are a separate part of the project.

README badge

Report a problem

Foxx AIBm.md CLI
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.