jakob1111 / dokuwiki-plugin-flowcharts

Add flowcharts and diagrams to Dokuwiki with an incredibly simple syntax
GNU General Public License v2.0
7 stars 8 forks source link

support for basic dokuwiki syntax inside flowchart blocks #3

Closed solewniczak closed 5 years ago

solewniczak commented 6 years ago

Since the mermaid has some problems with html, this solution may not be prefectly relible but it's very useful from my point of view.

Currently supported syntax modes: 'strong' 'emphasis' 'underline' 'monospace' 'subscript' 'superscript' 'deleted' 'internallink' 'media' 'externallink'

solewniczak commented 6 years ago

Example syntax:

<flow>
  graph TD;
  A["<del>[[sample:page|hello]]</del> ''[[Test]]'' <sub>{{ :some_file.odt |H20}}</sub> <sup>[[http://example.com|C2htp2]]</sup>"];
  B("**Pogrubienie** //Pochylenie// ''Kod źródłowy'' <del>Przekreślenie</del> __Podkreślenie__ [[next:page|asd]]");
  A-->B;
</flow>
solewniczak commented 5 years ago

What do you think about that? I believe that this is very useful.