diff --git a/.github/workflows/auto-update-content.yml b/.github/workflows/auto-update-content.yml index d74395f56..fd8189730 100644 --- a/.github/workflows/auto-update-content.yml +++ b/.github/workflows/auto-update-content.yml @@ -28,10 +28,8 @@ jobs: id: go_version shell: bash run: | - GO_VERSION=${GO_VERSION:-`make version/go`} + GO_VERSION=$(make version/go) echo "version=${GO_VERSION}" >> $GITHUB_OUTPUT - env: - GO_VERSION: ${{ input.go_version }} - uses: actions/setup-go@v4 with: go-version: ${{ steps.go_version.outputs.version }} diff --git a/preview b/preview index 745af67b9..6c0299e7d 160000 --- a/preview +++ b/preview @@ -1 +1 @@ -Subproject commit 745af67b9947da75194f88afa2b5bda746aa9e60 +Subproject commit 6c0299e7d413c620063625c5736d45cee48154c5 diff --git a/themes/vald/layouts/_default/_markup/render-codeblock-mermaid.html b/themes/vald/layouts/_default/_markup/render-codeblock-mermaid.html new file mode 100644 index 000000000..94ea0cad0 --- /dev/null +++ b/themes/vald/layouts/_default/_markup/render-codeblock-mermaid.html @@ -0,0 +1,4 @@ +
+ {{- .Inner | safeHTML }} ++{{ .Page.Store.Set "hasMermaid" true }} diff --git a/themes/vald/layouts/_default/single.html b/themes/vald/layouts/_default/single.html index 54bdcc435..759e28d07 100644 --- a/themes/vald/layouts/_default/single.html +++ b/themes/vald/layouts/_default/single.html @@ -18,4 +18,10 @@