
Security News
Socket Releases Free Certified Patches for Critical vm2 Sandbox Escape
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.
@docmd/core
Advanced tools
Build production-ready documentation from Markdown in seconds. No React, no bloat, just content.
Build production-ready documentation from Markdown in seconds.
Zero setup when you start. Full control when you need it.
Run docmd instantly in any folder with Markdown files:
npx @docmd/core dev
Starts: http://localhost:3000
That’s it.
Build your site:
npx @docmd/core build
npm install -g @docmd/core
docmd dev # start dev server
docmd build # build for deployment
docmd migrate # migrate from other documentation tools (like Docusaurus, VitePress, MkDocs, etc.)
docmd deploy # instantly generate docker, nginx, or caddy configs
Designed to start instantly and scale without friction.
llms.txt)See the full roadmap.
Keeps your project simple.
my-docs/
├── docs/
├── assets/
├── docmd.config.js (optional)
└── package.json
A browser-based editor for writing and previewing docs instantly. No setup required.
Try it: live.docmd.io
No configuration is required to get started.
Add a config file (docmd.config.js in the project root) only when you need more control.
const { defineConfig } = require('@docmd/core');
module.exports = defineConfig({
title: 'My Project',
url: 'https://docs.myproject.com',
});
module.exports = defineConfig({
// Versioning
versions: {
current: 'v2',
all: [
{ id: 'v2', dir: 'docs' },
{ id: 'v1', dir: 'docs-v1' }
]
},
// Internationalisation
i18n: {
default: 'en',
locales: [
{ id: 'en', label: 'English' },
{ id: 'zh', label: '中文' },
]
}
});
Built-in support for: English, Hindi, Chinese, Spanish, German, Japanese, and French. You can easily add and support any other language.
Other common settings include src, out, navigation, plugins, and theming.
Use in scripts or CI pipelines:
const { build, buildLive } = require('@docmd/core');
await build('./docmd.config.js', { isDev: false });
await buildLive();
Full configuration, plugins, and advanced usage: docs.docmd.io
Core functionality is included by default.
Everything works out of the box.
Plugins are only needed when you want to extend functionality.
| Plugin | Included | Description |
|---|---|---|
search | ✓ | Offline full-text search with fuzzy matching |
seo | ✓ | SEO tags and Open Graph metadata |
sitemap | ✓ | Generates sitemap.xml |
git | ✓ | Git commit history logger |
analytics | ✓ | Lightweight analytics integration |
llms | ✓ | AI context generation (llms.txt) |
mermaid | ✓ | Mermaid diagrams in Markdown |
openapi | ✓ | Build-time OpenAPI 3.x spec renderer |
pwa | Optional | Progressive Web App support for offline navigation |
threads | Optional | Inline discussion threads (by @svallory) |
math | Optional | KaTeX/LaTeX math rendering |
Install optional plugins:
docmd add <plugin-name>
| Feature | docmd | Docusaurus | MkDocs | VitePress | Mintlify |
|---|---|---|---|---|---|
| Language | Node.js | React.js | Python | Vue | SaaS |
| Require Config | None (Auto) | docusaurus.config.js | mkdocs.yml | config.mts | mint.json |
| Multi-project | Native | Plugin | Plugin | No | No |
| Initial payload | ~18kb | ~250kb | ~40kb | ~50kb | ~120kb |
| Navigation | Instant SPA | React SPA | Full reloads | Vue SPA | Hosted SPA |
| Versioning | Native | Native (complex) | mike plugin | Manual | Native |
| i18n | Native | Native (complex) | Plugin-based | Manual | Native |
| Search | Built-in | Algolia (cloud) | Built-in | MiniSearch | Cloud |
| AI Context | Built-in | Manual | None | None | Proprietary |
| PWA | Plugin | Community plugin | None | None | Hosted |
| Self-hosted | Yes | Yes | Yes | Yes | No |
| Cost | Free (OSS) | Free (OSS) | Free (OSS) | Free (OSS) | Freemium |
Starts simple. Scales without friction.
Documentation tools should disappear.
Focus on writing, not setup.
No configuration overhead. No framework complexity. Just docs.
MIT License. See LICENSE for details.
FAQs
Build production-ready documentation from Markdown in seconds. No React, no bloat, just content.
We found that @docmd/core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.

Research
Five malicious NuGet packages impersonate Chinese .NET libraries to deploy a stealer targeting browser credentials, crypto wallets, SSH keys, and local files.

Security News
pnpm 11 turns on a 1-day Minimum Release Age and blocks exotic subdeps by default, adding safeguards against fast-moving supply chain attacks.