Skip to content

sebastienwarin/mkdocs-mermaid-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mkdocs-markdownextradata-plugin

A MkDocs plugin that render meraid graph to mermaid style

Installation

Install the package with pip:

pip install git+https://github.com/sebastienwarin/mkdocs-mermaid-plugin

Usage

Enable this plugin in your mkdocs.yml:

plugins:
    - markdownmermaid

extra_javascript:
    - https://unpkg.com/[email protected]/dist/mermaid.min.js

Note: Don't forget to include the mermaid.min.js (local or remotely) in your mkdocs.yml

To override the default options, declare them in you mkdocs.yml file.

For example :

plugins:
    - markdownmermaid:
        init_options:
            - startOnLoad: true
            - theme: "forest"
            - themeCSS: ".node rect { fill: red; }"
            - flowchart:
                - curve: "cardinal"
                - useMaxWidth: true

More information about mermaid in the Mermaid documentation More information about plugins in the MkDocs documentation

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%