After a period of exploration, the mermaid plugin was officially changed to the oeyoews/mermaid plugin, and the mermaid-tiny version was used, reducing the size from 2.5M to 1.6M.
graph
a --> b
After a period of exploration, the mermaid plugin was officially changed to the oeyoews/mermaid plugin, and the mermaid-tiny version was used, reducing the size from 2.5M to 1.6M.
graph
a --> b
Is this the compressed version, or can the size be further reduced using Uglify?
This is the compressed output of the Mermaid library. Theoretically, it can no longer be compressed further—it is already at its smallest size.
Excellent! How can a theme be set? Is it similar to mermaid neutral
?
Since many people in tiddlywiki basically only use flowchart (graph), I removed other mermaid types and only kept the info, graph/flowchart/pie/state syntax to further reduce the size of this library.
Now this mermaid lib size only has 1M.
$__plugins_oeyoews_mermaid (1).json (1.2 MB)
Thank for providing two versions. This one is nearly the same size the old Mermaid plugin but includes more features and an updated library.
Is this the markdown version or standard TW version? I get errors on text/vnd.tiddlywiki tiddler?
It has nothing to do with markdown. What exactly is the error?
It works. It seems I used tab character, which is not allowed.
Nice work. – I am impressed, what “tiny” means to different programmers