Skip to content
New to Sumi? Read the introduction.
Sumi
Local-first · for MkDocs NG

Markdown in.
Beautiful docs out.

Sumi is a documentation theme for MkDocs that keeps your content plain Markdown, ships every asset with your site, and writes pages that people and AI agents can read.

mkdocs.yml
site_name: My Project

theme:
  name: sumi          # paper, ink and a vermilion seal

plugins:
  - search            # ⌘K search, CJK-aware
  - llms_txt          # a Markdown copy of every page
  - sumi              # components, blog, print edition
Native Markdown

Write it once. Read it anywhere.

Sumi never asks you to write a private dialect. Each component is a blockquote, a list, a table or a fence with one attribute line — so the same file renders in Sumi, on GitHub, and in the Markdown copy an agent reads.

  • No MDX, no shortcodes, no imports in your pages.
  • Every component degrades to readable Markdown and prints fully expanded.
  • Mermaid and KaTeX load only on pages that contain a diagram or a formula.
docs/install.md
> [!TIP]
> Use a virtual environment.

1. Install the theme
2. Enable the plugin
3. Run `mkdocs serve`
{.steps}

```sh {tab="Linux"}
pip install mkdocs-sumi
```

```powershell {tab="Windows"}
py -m pip install mkdocs-sumi
```
runtime services or CDNs
0
native-Markdown components
16
core script, gzipped. No framework.
11 KB
interface languages: English, 中文
2
Three minutes

From empty folder to a published site.

  1. Install

    pip install mkdocs-sumi — it brings MkDocs with it.

  2. Configure

    Set theme: sumi and add the sumi plugin to mkdocs.yml.

  3. Write

    Run mkdocs serve and write Markdown. Sumi takes care of the rest.

  4. Publish

    mkdocs build produces plain static files for any host.

Your docs deserve good paper.

Sumi is free and open source under the Apache 2.0 license.

Esc
↵ to open ↑↓ to move Esc to close
Keyboard shortcuts
Ctrl K /
Open search and commands
t
Toggle dark mode
[ ]
Previous / next page
j k
Previous / next heading
?
Show this help