Repository navigation
markdown: support rendering Mermaid diagrams - #6776
Conversation
unknwon
left a comment
There was a problem hiding this comment.
Thanks for the PR! The changes LGTM, I just need to pull down do a sanity check locally.
Codecov Report
@@ Coverage Diff @@
## main #6776 +/- ##
========================================
+ Coverage 8.79% 8.80% +0.01%
========================================
Files 97 97
Lines 13208 13208
========================================
+ Hits 1161 1163 +2
+ Misses 11885 11884 -1
+ Partials 162 161 -1 |
|
This feature looks so incredible I tried to find a way to use it for a few hours, but it didn't work for me. Can you please hint me on how to enable it, if it's disabled? I tried version 0.11, 0.12.10, 0.13-dev, but none of them seem to react to mermaid syntax like illustrated in the first comment in this thread: |
|
Hey @AlbeTech - I just did some quick tests against 0.13.0+dev and confirm that mermaid currently only works for markdown files (i.e. doesn't render for issue and its comments), also "Preview" would still display as code block, I had to save and see the rendered diagram. |
Co-authored-by: Joe Chen <[email protected]>



Trying to support mermaid issue #4229, #6630
I found that need to ranmakenotgo buildto took effect.make generate && make buildfor build.Test the mermaid's diagrams were passed.
The renderings
