Forum Discussion
tmayrand
Jan 30, 2024Brass Contributor
Displaying Mermaid diagrams in Sharepoint Online Markdown web parts
Hello, I have been trying to find a way to incorporate/visualize Mermaid diagrams in Sharepoint Online Markdown web parts. Currently, when I try to add Mermaid diagram code to the md content, the...
xvier
Jun 04, 2024Copper Contributor
tmayrand Any luck?
From what I'm seeing https://github.blog/2022-02-14-include-diagrams-markdown-files-mermaid/ there is a syntax to announce mermaid.
I tried this
```mermaid
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
```
Or also this
:::mermaid
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
:::
within a Markdown WebPart of SharePoint.
However neither worked.
I'm unsure if it's because my syntax is wrong, or if we just need for Microsoft to roll out an update where mermaid would be recognized.
Alternatively, what's a good way to do diagrams within SharePoint?
My previous company used Atlassian Confluence and I find the library of webpart in Sharepoint to be limited.