Skip to content

rauaap/markdown-mermaid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

markdown-mermaid

Mermaid extension for Python-Markdown. Replaces mermaid tagged code blocks with div elements to be rendered by the Mermaid JavaScript library. The JavaScript itself that is required for rendering of the graphs is not inserted. The library can be acquired from a CDN or npm for example.

Installation

pip install markdown-mermaid

Example

This would be replaced:

```mermaid
a -> b
```

With this:

<div class="mermaid">
a -> b
</div>

About

Mermaid extension for Python-Markdown.

Resources

License

Stars

Watchers

Forks

Contributors

Languages