Mermaid graph not working after sending to PR description with "Publish / Pull Request Markdown Report" job #2804
pim opened 2 weeks ago

I tried to put mermaid markdown in my pull request description from the CI but I get an error:

Screenshot From 2026-06-05 15-31-56.png

If I put the contents of my file (without the starting [mermaid] and ending []) in a mermaid live editor, it works. An example of gitgraph.mmd that I tried:

gitGraph
  branch testWithSmallChanges2
  checkout testWithSmallChanges2
  commit id: "6445568" msg: "Merge base"
  branch gitgraph-test
  checkout gitgraph-test
  commit id: "4107287"
  commit id: "72a6357"
  commit id: "f860fde"
  commit id: "2b2078a"
  commit id: "dba9904"
  commit id: "ec39e79"
  commit id: "10ad269"
  commit id: "2240d4c"
  commit id: "0f5bdee"
  commit id: "e487e9b"
  commit id: "b703da5"
  commit id: "5fc5540"
  commit id: "2ea5f57"
  checkout testWithSmallChanges2

This yields:

gitGraph branch testWithSmallChanges2 checkout testWithSmallChanges2 commit id: "6445568" msg: "Merge base" branch gitgraph-test checkout gitgraph-test commit id: "4107287" commit id: "72a6357" commit id: "f860fde" commit id: "2b2078a" commit id: "dba9904" commit id: "ec39e79" commit id: "10ad269" commit id: "2240d4c" commit id: "0f5bdee" commit id: "e487e9b" commit id: "b703da5" commit id: "5fc5540" commit id: "2ea5f57" checkout testWithSmallChanges2

So as you can see Mermaid graphs don't work in issues either...?

This is on OneDev 15.1.3

1/1
Type
Bug
Priority
Normal
Assignee
Affected Versions
<=15.1.4
Labels
No labels
Issue Votes (0)
Watchers (3)
Reference
OD-2804
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover