Forum Discussion
Vladislavs1
Mar 22, 2021Copper Contributor
Mermaid in Share Point
Hello, got a problem with Mermaid code in sharepoint 2016. In script editor i put this code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
</head>
<body>
<div class="mermaid">
graph LR
A --- B
B-->C[fa:fa-ban forbidden]
B-->D(fa:fa-spinner);
</div>
<script src="mermaid.min.js"></script>
<script>mermaid.initialize({startOnLoad:true});</script>
</body>
</html>
and in edit mode SharePoint shows all properly, but when iam exiting edit mode Sharepoint only shows
graph LR A --- B B-->C[fa:fa-ban forbidden] B-->D(fa:fa-spinner); |
not the picture.
- Tizza42Copper ContributorHi, did you ever get Mermaid working in SharePoint?