Skip to content

support mermaid #366

@LuisBL

Description

@LuisBL

Describe the solution you'd like

support mermaid

Describe alternatives you've considered

The conf.py I used to make work mermaid with recommonmark:

$ tail conf.py
extensions = [ 'recommonmark', 'sphinxcontrib.mermaid']
from recommonmark.transform import AutoStructify
def setup(app):
    app.add_transform(AutoStructify)
$

This mermaid is rendered

```mermaid::

  graph LR
    a --> b
\```

Note that the above need to have a new line after mermaid:: and graph need to start with a space.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmore-info-requiredMore information is required to fix the issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions