Skip to content
Proyectos

mgaitan/sphinxcontrib-mermaid

Ver en GitHub

Acerca de

Mermaid diagrams in yours sphinx powered docs

Diseño y multimedia

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

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

Explorar proyectos relacionados

Cargando…