Skip to content

Commit

Permalink
Added Mermaid
Browse files Browse the repository at this point in the history
  • Loading branch information
LNA-DEV committed Dec 8, 2022
1 parent 7b6e3e4 commit 073a705
Show file tree
Hide file tree
Showing 3 changed files with 1,282 additions and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@

{{ if $needmermaid -}}
{{ $jsArray = $jsArray | append $jsMermaid -}}
<script src="https://cdn.jsdelivr.net/npm/mermaid@9.2.2/dist/mermaid.min.js" integrity="sha512-IX+bU+wShHqfqaMHLMrtwi4nK6W/Z+QdZoL4kPNtRxI2wCLyHPMAdl3a43Fv1Foqv4AP+aiW6hg1dcrTt3xc+Q==" crossorigin="anonymous"></script>
<script src="/js/mermaid.min.js"></script>
{{ end -}}

{{ $js := $jsArray | resources.Concat "js/main.js" -}}
Expand Down
1,280 changes: 1,280 additions & 0 deletions static/js/mermaid.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions static/js/mermaid.min.js.map

Large diffs are not rendered by default.

0 comments on commit 073a705

Please sign in to comment.