Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | Today | - | ||||
LICENSE | H A D | 31-Jul-2020 | 17.7 KiB | 340 | 281 | |
README | H A D | 31-Jul-2020 | 994 | 28 | 19 | |
README.md | H A D | 31-Jul-2020 | 2 KiB | 73 | 52 | |
action.php | H A D | 31-Jul-2020 | 1.3 KiB | 44 | 27 | |
deleted.files | H A D | 31-Jul-2020 | 181 | 6 | 4 | |
examplediagram.png | H A D | 31-Jul-2020 | 4.3 KiB | |||
mermaid-override.css | H A D | 31-Jul-2020 | 30 | 3 | 3 | |
mermaid.min.js | H A D | 31-Jul-2020 | 740 KiB | 42 | 15 | |
plugin.info.txt | H A D | 31-Jul-2020 | 247 | 9 | 7 | |
renderer.php | H A D | 31-Jul-2020 | 2.2 KiB | 88 | 53 | |
screnshotflowchart.png | H A D | 31-Jul-2020 | 4.8 KiB | |||
syntax.php | H A D | 31-Jul-2020 | 4.3 KiB | 155 | 89 |
README
1mermaidflowcharts Plugin for DokuWiki 2 3Create flowcharts and diagrams with an incredibly simple syntax 4 5All documentation for this plugin can be found at 6https://www.dokuwiki.org/plugin:flowcharts 7 8If you install this plugin manually, make sure it is installed in 9lib/plugins/mermaidflowcharts/ - if the folder is called different it 10will not work! 11 12Please refer to http://www.dokuwiki.org/plugins for additional info 13on how to install plugins in DokuWiki. 14 15---- 16Copyright (C) Jakob Schwichtenberg <mail@jakobschwichtenberg.com> 17 18This program is free software; you can redistribute it and/or modify 19it under the terms of the GNU General Public License as published by 20the Free Software Foundation; version 2 of the License 21 22This program is distributed in the hope that it will be useful, 23but WITHOUT ANY WARRANTY; without even the implied warranty of 24MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25GNU General Public License for more details. 26 27See the LICENSING file for details 28
README.md
1# Flowcharts Plugin for DokuWiki 2 3 4Add flowcharts and diagrams to Dokuwiki with an intuitive syntax 5 6The diagrams and flowcharts are generated with https://mermaidjs.github.io/. 7 8**With the current version of the plugin it is crucial to remove the following lines from the Dokuwiki file conf/entities.conf** 9 10 11``` 12<-> ↔ 13-> → 14<- ← 15--- — 16-- – 17``` 18 19Otherwise, Dokuwiki will render -> to → and then the diagrams are not rendered correctly since, e.g. → is the wrong syntax and we need -> etc. (For more information, see https://www.dokuwiki.org/entities and also https://github.com/splitbrain/dokuwiki/blob/master/conf/entities.conf.) 20 21# Syntax 22 23``` 24<flow> 25graph TD; 26 A-->B; 27 A-->C; 28 B-->D; 29 C-->D; 30</flow> 31``` 32 33will be rendered to 34 35![example diagram](examplediagram.png) 36 37A nice feature is that each element of a diagram can be made clickable by using 38 39``` 40<flow> 41graph TD; 42 A-->B; 43 A-->C; 44 B-->D; 45 C-->D; 46click A "SOMEPAGE" 47</flow> 48``` 49Clicking on `A` will take you to http://yoururl.com/SOMEPAGE. 50 51For further details on the syntax, see https://mermaidjs.github.io/. Diagrams can be built in realtime using https://mermaidjs.github.io/mermaid-live-editor/. 52 53If you install this plugin manually, make sure it is installed in 54lib/plugins/mermaidflowcharts/ - if the folder is called different it 55will not work! 56 57Please refer to http://www.dokuwiki.org/plugins for additional info 58on how to install plugins in DokuWiki. 59 60---- 61Plugin by Jakob Schwichtenberg http://jakobschwichtenberg.com 62 63This program is free software; you can redistribute it and/or modify 64it under the terms of the GNU General Public License as published by 65the Free Software Foundation; version 2 of the License 66 67This program is distributed in the hope that it will be useful, 68but WITHOUT ANY WARRANTY; without even the implied warranty of 69MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 70GNU General Public License for more details. 71 72See the LICENSING file for details 73