Is it possible to configure the code tag used for mermaid
diagrams?
#1883
matthias-colt
started this conversation in
General
Replies: 1 comment 3 replies
-
The triple-backtick behavior is defined here: https://github.com/gollum/gollum-lib/blob/master/lib/gollum-lib/filter/code.rb#L50 As you can see the regex used to detect backtick-codeblocks is not abstracted very neatly (or at all). We could improve on this by:
Then you could override/add to If the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to render wiki pages created in Azure DevOps using
gollum
(for off-line usage), which works quite good in principle.Only small issue is that the wiki in Azure DevOps uses a different tag for
mermaid
diagrams.Azure DevOps uses three colons
:::
instead of three backticks```
Is there any option to configure the diagram tag for mermaid or any other workaround?
Azure DevOps
mermaid
example:Gollum
mermaid
example:Beta Was this translation helpful? Give feedback.
All reactions