Skip to content

Commit

Permalink
Bump to mermaid 10.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
deining committed Nov 9, 2023
1 parent 911c04d commit badb9fb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion layouts/partials/scripts/mermaid.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ $version := cond ( ge hugo.Version "0.90.0" ) "latest" "10.2.3" -}}
{{ $version := cond ( ge hugo.Version "0.90.0" ) "latest" "10.6.1" -}}
{{ with .Site.Params.mermaid.version -}}
{{ $version = . -}}
{{ end -}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -396,18 +396,18 @@ By default, docsy pulls in the latest officially released version of Mermaid at
{{< tab header="Hugo version >= 0.90 only:" disabled=true />}}
{{< tab header="hugo.toml" lang="toml" >}}
[params.mermaid]
version = "10.2.3"
version = "10.6.1"
{{< /tab >}}
{{< tab header="hugo.yaml" lang="yaml" >}}
params:
mermaid:
version: 10.2.3
version: 10.6.1
{{< /tab >}}
{{< tab header="hugo.json" lang="json" >}}
{
"params": {
"mermaid": {
"version": "10.2.3"
"version": "10.6.1"
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion userguide/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ params:
disable_toc: false
markmap:
enable: true
version: 10.2.3
mermaid:
version: 10.6.1
drawio:
enable: true

Expand Down

0 comments on commit badb9fb

Please sign in to comment.