Description
Originally posted by @chalin in #48724 (review)
Visit the following preview doc page https://deploy-preview-48724--kubernetes-io-main-staging.netlify.app/docs/contribute/style/diagram-guide/#example-2-ingress and you'll see that the "Code block" is rendered as a mermaid diagram rather than raw code, as it is rendered currently:
![]()
This is because the code-block language is set to
mermaid
and as of Docsy 0.6.0 such code blocks are rendered as Mermaid diagrams (without the need to use{{<mermaid}}
). We need to set the code-block language totext
.The same is true of
content/zh-cn/docs/contribute/style/diagram-guide.md
.
The issue still needs to be resolved for the zh-cn
page, see https://kubernetes.io/zh-cn/docs/contribute/style/diagram-guide/#%E7%A4%BA%E4%BE%8B-2-ingress: