Although this thread is quite old, this is a problem that vexed me for 
quite some time so I want to offer an update this thread for anyone coming 
across this later.

There are now two good options for using Mermaid.JS within TW5:

"Complete" Mermaid.js library installation into TW5: This is the full 
library, but has been updated as of October 2021 and published with a demo 
wiki to make installation a breeze. It is however a full library 
installation (1.2MB).

Demo wiki: https://efurlanm.github.io/mermaid-tw5

Lightweight TiddlyWiki5 plugin that wraps Mermaid Live Editor: I just 
published this as a very lightweight (18kb) "wrapper" of the Mermaid Live 
service which handles all the rendering. All the power of Mermaid with 
streamlined code management and virtually no TW bloat.

YouTube: https://www.youtube.com/watch?v=e78RRDp-NZg
GitHub repo: https://github.com/jasonmhoule/tw5-mermaid
Demo wiki: https://jasonmhoule.github.io/tw5-mermaid/

On Wednesday, December 10, 2014 at 3:57:00 PM UTC-6 jeremy...@gmail.com 
wrote:

> Hi Tobias
>
> The current D3 plugin for TiddlyWiki ($:/plugins/tiddlywiki/d3), actually 
> weighs in at 175KB when saved in JSON format. Perhaps this is a more recent 
> version?
>
> Best wishes
>
> Jeremy
>
> On Wed, Dec 10, 2014 at 8:14 PM, Tobias Beer <beert...@gmail.com> wrote:
>
>> Oh, ok, so the heavyweight is d3... I guess we'd be well advised to 
>> install that alongside plugins as a separate global library that can be 
>> used by other libraries as well.
>>
>> What about some official *$:/library/foo* namespace? I think that may be 
>> advisable to be reserved for these kinds of global, possibly shared 
>> libaries, e.g. vis, d3, jquery, math.js, etc...
>>
>> But 400k for d3, I never thought it was that big a thing. Good to know.
>>
>> Best wishes, Tobias.
>>
> -- 
>>
> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to tiddlywiki+...@googlegroups.com.
>> To post to this group, send email to tiddl...@googlegroups.com.
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:jeremy...@gmail.com
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2126d4a2-ceb0-4b60-9433-98590bf4fca7n%40googlegroups.com.

Reply via email to