You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Showing Mermaid Diagram in Wiki doesn't work #7409
Writing Mermaid code to some .md-file in the Repo (eg. README.md) will render the diagram as expected (as implemented in #4229 )
However moving the same file into the Wiki will just display the plain mermaid code instead of the diagram.
To reproduce
Add a Wiki-Page with the following content
graph LR
A -> B
Loading
Expected behavior
The mermaid graph is rendered in the browser.
Additional context
In templates/base/footer.tmpl the code block importing the mermaid library is guarded by an {{if .IsMarkdown}}. This flag seems not to be set, when viewing Wiki pages.
Activity
unknwon commentedon Nov 16, 2026
Fixed in #8620. Mermaid diagrams now render wherever Markdown is shown, including wiki pages, issues, comments and release notes.