Skip to content
Proyek

mgaitan/sphinxcontrib-mermaid

Lihat di GitHub

Tentang

Mermaid diagrams in yours sphinx powered docs

Desain dan media

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

sphinxcontrib-mermaid

build status version downloads

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

Jelajahi proyek terkait

Memuat…