markdown: support rendering Mermaid diagrams#6776
Merged
Conversation
Closed
Contributor
Author
unknwon
approved these changes
Mar 5, 2022
Member
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: |
Member
dna2github
pushed a commit
to dna2fork/gogs
that referenced
this pull request
May 1, 2023
Co-authored-by: Joe Chen <jc@unknwon.io>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



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
