# Mermaid Plugin for DokuWiki
This is a plugin for [Dokuwiki](https://www.dokuwiki.org/dokuwiki). It provides support for the diagramming tool [Mermaid](https://mermaid.js.org/). Mermaid is a JavaScript based diagramming and charting tool that renders Markdown-inspired text definitions to create and modify diagrams dynamically.
## Installation
Install the plugin using the [Dokuwiki Plugin Manager](https://www.dokuwiki.org/plugin:plugin). Refer to [Plugins](https://www.dokuwiki.org/plugins|Plugins) on how to install plugins manually.
## Usage
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
```mermaid
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
```
The width and height of the container of the diagram can be adjusted using
where #width and #height can take any value supported by CSS:
For more examples and details on the syntax, see https://mermaid.js.org/intro/.
## Configuration and Settings
There is only one setting. You can choose which Mermaid version you want to use:
- the locally hosted version
- the remotely hosted, currently available, latest version
- a remotely hosted specific version
## Further information
Mermaid supports multiple other diagrams besides the shown flowchart, for example:
- Sequence diagrams
- Gantt diagrams
- Class diagrams
- Git graphs
- User Journey diagrams
For more information, see https://mermaid.js.org/intro/.