A lightweight, expressive document format where every symbol looks like what it does. Built for clarity, power, and self-sufficiency.
--- title: "Getting Started with KMD" author: "Alice" date: "2026-03-24" --- ## Welcome to KMD Write **bold**, *italic*, and __underline__ with intuitive syntax. [Visit Koder](https://koder.dev) ```python def hello(): print("Hello, KMD!") ``` !!! tip "Pro Tip" KMD admonitions make your docs stand out with clear callouts.
Twelve powerful features that cover every documentation scenario, from simple notes to complex technical specifications.
Six levels of headings with ## syntax. Clean hierarchy for organizing documents of any size, from quick notes to full books.
Bold, italic, underline, strikethrough, highlight, subscript, and superscript. Every inline style you need with intuitive delimiters.
**bold***italic*__underline__Inline links, reference links, auto-links, and images with alt text, titles, and optional sizing attributes.
[text](url)referencesFenced code blocks with ``` and language identifiers for syntax highlighting. Inline code with backticks for quick references.
Pipe-delimited tables with column alignment (left, center, right). Clean syntax that reads well in both source and rendered form.
| pipe tablesalignmentheadersNote, tip, warning, danger, and info callout blocks with !!! syntax. Make important information impossible to miss.
Inline and block math expressions with $$ delimiters. Full LaTeX math support for equations, formulas, and scientific notation.
YAML front matter between --- delimiters for metadata. Define title, author, date, tags, and custom fields for any document.
Toggle sections with +++ syntax. Hide verbose content behind expandable blocks to keep documents clean and scannable.
Reference-style footnotes with [^1] syntax. Add citations, clarifications, and side notes without breaking the reading flow.
Interactive checklists with - [ ] and - [x] syntax. Track progress, create to-do lists, and manage project tasks inline.
Auto-generated table of contents with [TOC] placeholder. Navigable outline generated from your heading hierarchy.
Build well-structured documents with headings, front matter, and rich inline formatting. KMD reads naturally in both source and rendered form.
--- title: "Architecture Overview" author: "Engineering Team" tags: ["architecture", "design"] --- # System Architecture The platform uses a **microservices** architecture with *event-driven* communication[^1]. ## Components Each service is __independently__ deployable and follows the ==twelve-factor== methodology. [^1]: See the messaging docs for details.
Present structured data with pipe-delimited tables. Support for column alignment, header rows, and clean formatting that reads well in source.
## Performance Benchmarks | Engine | Parse | Render | Size | |:------------|--------:|---------:|-------:| | KMD | 1.2ms | 0.8ms | 12KB | | Markdown | 1.8ms | 1.1ms | 15KB | | AsciiDoc | 3.4ms | 2.7ms | 28KB | | reST | 4.1ms | 3.2ms | 32KB | ## Release Checklist - [x] Write documentation - [x] Add syntax tests - [ ] Performance audit - [ ] Publish release notes
Draw attention to important content with styled callout blocks. Support for notes, tips, warnings, danger alerts, and custom types.
!!! note "Important" KMD admonitions support **rich** formatting inside callout blocks. !!! tip "Performance" Use `[TOC]` for auto-generated table of contents in long documents. !!! warning "Breaking Changes" The v2 API removes deprecated endpoints. See migration guide. +++ "Click to expand details" This content is hidden by default. Useful for verbose logs, examples, or optional reading. +++
KMD combines the simplicity of Markdown with the power of AsciiDoc and the structure of reStructuredText.
| Feature | KMD | Markdown | AsciiDoc | reStructuredText | LaTeX |
|---|---|---|---|---|---|
| Headings | ✓ | ✓ | ✓ | ✓ | ✓ |
| Bold / Italic | ✓ | ✓ | ✓ | ✓ | ✓ |
| Tables | ✓ | Extension | ✓ | ✓ | Package |
| Code Blocks | ✓ | ✓ | ✓ | ✓ | Package |
| Admonitions | ✓ | — | ✓ | ✓ | — |
| Math | ✓ | Extension | Extension | ✓ | ✓ |
| Footnotes | ✓ | Extension | ✓ | ✓ | ✓ |
| Front Matter | ✓ | Extension | — | — | — |
| Collapsible | ✓ | — | Partial | — | — |
| TOC | ✓ | Extension | ✓ | ✓ | ✓ |
| Columns | ✓ | — | ✓ | — | ✓ |
| Alignment | ✓ | — | ✓ | ✓ | ✓ |
Common questions about the KMD document format.
One format. Every feature. Zero extensions needed.