blob: df6664df098c142e2597aca67474539a41e17526 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{{ with $.Params.mermaid }}
{{ $js := resources.Get "js/mermaid-v8.4.6.min.js" }}
{{ $secureJS := $js | resources.Fingerprint "sha512" }}
<script src="{{ $secureJS.Permalink }}" integrity="{{ $secureJS.Data.Integrity }}"></script>
<script>
var config = {
startOnLoad: true,
flowchart: {
useMaxWidth: true,
htmlLabels: true,
curve: "cardinal",
},
theme: "neutral",
securityLevel: "strict",
};
mermaid.initialize(config);
</script>
{{ end }}
|