xyhp915 / logseq-fenced-code-plus

A Logseq plugin for missing types of fenced code 🚀
MIT License
108 stars 17 forks source link

Suggestion : does any chance can support Block Diagrams #45

Closed NYX-shell closed 3 months ago

NYX-shell commented 8 months ago

As the title is written, using a mermaid to genera a flowchart is very useful. but it's still not enough to provide a high-level view of a system, because the automatic layout will move shape positions. we can see in the official document of Mermaid, they provide another diagram called Block Diagrams that can solve this problem. https://mermaid.js.org/syntax/block.html Is there any chance you can support these diagrams?

mcmoe commented 4 months ago

Block diagram has been introduced at 10.8.0 (see https://github.com/mermaid-js/mermaid/releases) This repo is currently using mermaid.js at version 10.7.0 . Support will require a commit similar to the following with updated mermaid files of release >= 10.8.0: https://github.com/xyhp915/logseq-fenced-code-plus/commit/1030f00a5f8916cf6b19833b956ff19d765d892a.

Note that issue https://github.com/xyhp915/logseq-fenced-code-plus/issues/49 explicitly asks to bump mermaid to 10.9.0.