Mermaid in asciidoc
using the standard [mermaid]
block
#106933
Replies: 3 comments 1 reply
-
Same here. Would be awesome if GH could support both syntax variants. |
Beta Was this translation helpful? Give feedback.
-
The standard in the AsciiDoc ecosystem for diagrams is the asciidoctor-diagram which provides for each diagram type a block as described above. The Due to that, the behavior GitHub shows here is very atypical to the AsciiDoc ecosystem. |
Beta Was this translation helpful? Give feedback.
-
Would like to see a change here also. I use asciidoc and right know I need to choose if I want to get mermaids properly rendered in the editor or on github which does simply not feel right. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Product Feedback
Body
Hello 👋
This issue is related to asciidoctor/asciidoctor-intellij-plugin#1463.
In GitHub, if we want to read, in the online file viewer, an asciidoc file, we have to use the
[source, mermaid]
block.However, in other popular tools (IntelliJ, GitLab…), the block to declare a diagram is just
[mermaid]
.Would it be possible to match the same as IntelliJ because we currently have to choose between rendering in the UI or in our IDEA, which is a bit painful 😅.
Thank you
Kevin
Beta Was this translation helpful? Give feedback.
All reactions