From 9b343dd4f54a9870f3ba1e41f5a5b3f4a1e25340 Mon Sep 17 00:00:00 2001 From: Harry Mellor <19981378+hmellor@users.noreply.github.com> Date: Wed, 20 May 2026 17:10:00 +0900 Subject: [PATCH] Enable mermaid diagrams in the docs (#43192) Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> --- mkdocs.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mkdocs.yaml b/mkdocs.yaml index 88d99bf244..097f7497fb 100644 --- a/mkdocs.yaml +++ b/mkdocs.yaml @@ -119,7 +119,11 @@ markdown_extensions: - admonition - pymdownx.details # For content tabs - - pymdownx.superfences + - pymdownx.superfences: + custom_fences: + - name: mermaid + class: mermaid + format: !!python/name:pymdownx.superfences.fence_code_format - pymdownx.tabbed: slugify: !!python/object/apply:pymdownx.slugs.slugify kwds: