プロジェクト
概要
Mermaid diagrams in yours sphinx powered docs
デザイン・メディア計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルsphinxcontrib-mermaid
Embed Mermaid diagrams in Sphinx documents. HTML pages render diagrams in the browser with a bundled copy of Mermaid, sized to keep text readable, with pan, zoom, and a fullscreen view. LaTeX, texinfo, and static image output use mermaid-cli.
Install
pip install sphinxcontrib-mermaid
# conf.py
extensions = ["sphinxcontrib.mermaid"]
Use
.. mermaid::
:caption: Publishing flow
flowchart LR
Draft --> Review --> Published
In Markdown with MyST, use a
```{mermaid} fence, or set myst_fence_as_directive = ["mermaid"] to render
plain ```mermaid fences. Diagrams can also come from .mmd files:
.. mermaid:: diagrams/release.mmd.
Size and interaction options work as directive options or in the diagram's frontmatter:
---
title: Release
height: 400px
config:
layout: elk
---
flowchart TD
Tag --> Build --> Publish
Documentation
関連プロジェクトを探す
読み込み中…