Tiddly Wiki 5 plugin to support the mermaid library
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
files
LICENSE
LICENSE.md
README.md
example.tid
license.tid
plugin.info
readme.tid
typed-parser.js
usage.tid
wrapper.js

README.md

mermaid-tw5

wrapper for mermaid

https://knsv.github.io/mermaid/

place the <$mermaid> widget and then use the mermaid syntax with in the text.

<$mermaid text="
        graph LR
            A-->B
            B-->C
            C-->A
            D-->C
"><$mermaid>

An alternative method is to make the Tiddler type to be text/vnd.tiddlywiki.mermaid. You can also try putting the mermaid syntax within the <$mermaid> element, but this does not work as well due to TW5 parsing.

You can install by browsing to https://gt6796c.github.io/ and dragging the link to your TiddlyWiki.