Replies: 3 comments 1 reply
-
I'd like to work on contributing this, but don't want to spend effort if it will never be accepted as a PR. Any update? |
Beta Was this translation helpful? Give feedback.
-
I'm not keen on adding markdown-it plugins ... with Mermaid specifically (1) there are several competing plugins and (2) the Mermaid server needs to be configurable for privacy reasons. Instead I'd recommend pre-processing Mermaid blocks in Markdown files via a DSL plugin, an example of which can be found at https://github.com/structurizr/examples/tree/main/dsl/plantuml-and-mermaid/plugin/src/main/java/mermaid |
Beta Was this translation helpful? Give feedback.
-
Oh wow awesome, I had no clue this example existed! I searched the docs, but there was only the mermaid exporter. So my only question about the plugin.jar file that I will build against the maven dependency of structurizr-dsl For example https://central.sonatype.com/artifact/com.structurizr/structurizr-dsl/1.30.2 is quite old, from 2023. So I imagine that plugin.jar I generate from that would not work with the latest structurizr-lite docker image. How forgiving is it with dependency 3.0.^? or 3.^? |
Beta Was this translation helpful? Give feedback.
-
Just wanted to gauge interest in allowing plugins for markdown-it.
For example, I'd like to use some of the syntax for a flow chart, using mermaid. So have a mermaid code fence, and then mermaid syntax.
Is this something you'd consider adding, or accepting a contribution?
Beta Was this translation helpful? Give feedback.
All reactions