_                 _ 
 _| |___ ___ _____ _| |
| . | . |  _|     | . |
|___|___|___|_|_|_|___|

Generate beautiful, lightweight documentation sites directly from your Markdown files. Zero clutter, just content.

docmd bridges the gap between simple static site generators and heavy, framework-driven applications. It processes standard Markdown into highly optimized static HTML, while delivering a buttery-smooth Single Page Application (SPA) experience for your users.

Get StartedView on GitHub

Quick Start

You can have a beautiful documentation site running locally in under a minute. Requires Node.js installed on your machine.

# 1. Install docmd globally
npm install -g @docmd/core

# 2. Initialize a new project in your current directory
docmd init

# 3. Start the local development server
docmd dev

Open http://localhost:3000 in your browser. Any changes you make to the files in the docs/ folder will instantly update on your screen.

Why choose docmd?

We believe writing documentation should be as frictionless as possible. You shouldn’t need to configure complex JavaScript frameworks just to publish text.

Rich Content Out of the Box

Write naturally. docmd extends standard Markdown with intuitive, nestable components to help you structure complex information beautifully.

Containers
Diagrams
Code

Easily highlight information using Callouts.

Pro Tip

You can nest containers inside each other infinitely. Try putting a button inside a card inside a tab!

Get Started with docmd

Native support for Mermaid.js. Just create a code block with the mermaid language tag, and it automatically renders and adapts to your user’s Light/Dark mode preference.

graph TD A[Start] --> B{Is it working?} B -->|Yes| C[Great!] B -->|No| D[Debug] D --> E[Fix the issue] E --> B C --> F[Deploy] F --> G[End]

Automatic syntax highlighting powered by highlight.js, complete with one-click copy buttons and themes tailored for optimal contrast.

function hello() {
  console.log("Hello World");
}

Ready to dive in? Check out the Basic Usage guide or explore how to Configure your site.