gt6796c / mermaid-tw5

Tiddly Wiki 5 plugin to support the mermaid library
MIT License
19 stars 10 forks source link

Feature Request: standalone embeddable mermaid diagram #12

Open AntonioGHub opened 5 years ago

AntonioGHub commented 5 years ago

It would be nice to have the ability to generate a single mermaid diagram that is rendered in several tiddlers.

i.e.: the same as you can create an image-tiddler, which is embedded as an image in other tiddlers via the syntax [img[my_image_tiddler]], it would be handy to generate a single mermaid-tiddler to be embedded in multiple tiddlers by just referencing its name.

dm1090 commented 4 years ago

Transclusion works for me. I created one tiddler with a mermaid diagram. Transcluded it in another.

https://tiddlywiki.com/static/Transclusion%2520in%2520WikiText.html