Reputation: 1389
Which version of mermaid is currently supported in AzureDevOps? In the official docs it only mentions some diagrams that are supported.
Upvotes: 18
Views: 14310
Reputation: 92
erDiagram & stateDiagram-v2 are not working on dev.azure on 20231229 works fine in visual studio code with Markdown Editor v2
Upvotes: 0
Reputation: 762
UPDATE From this release, all the diagram types in the following list are supported:
--- Original Post ---
Checking the listed support page it shows the following diagrams as supported:
Supported:
Unsupported:
Testing each of the diagram types in a DevOps wiki page using the examples from the mermaid website, the first three work. The rest return an error "Unsupported diagram type". Truly amazing they have it documented as supported but in reality its not.
Upvotes: 0
Reputation: 560
As a workaround, you can actually use any type of diagram in Azure DevOps using embedded markdown links. From the mermaid live editor, expand the "Actions" section and click on "COPY MARKDOWN" button:
This relies on the mermaid.ink webservice so it's not entirely reliable.
Upvotes: 4
Reputation: 23
Sad that azure devops (server) wiki still not support mermaid.
One hack could be using the 'markdown' button on https://mermaid.live/ and then paste the markdown from mermaid.live into devops wiki.
Upvotes: 2
Reputation: 8088
As of Sprint 200 (March 2022) the following diagrams are supported up to version 8.13.9:
Upvotes: 8
Reputation: 1543
I looked at the files downloaded from the Developer Tools: Network tab. I first thought it was 6.3 based upon the url but looking into the json I saw this...
"./package.json":function(e){e.exports={name:"mermaid",version:"8.2.3",description:"Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",main:"dist/mermaid.core.js",keywords:["diagram","markdown","flowchart","sequence diagram","gantt","class diagram","git graph"]
So as of this moment... I believe it to be 8.2.3
Upvotes: 2
Reputation: 572
Based on your description, I further checked this problem. Currently, the wiki supports the following Mermaid diagram types:
Wiki does not support other types of Mermaid diagrams, so this seems to have nothing to do with the version. Regarding this feature, I help you find a user voice. You can vote and add comments on it.
Upvotes: 5