Skip to content

Commit f8c16f6

Browse files
Enabled zooming in Mermaid daigrams. Fixed missing closing backticks in Mermaid example in Editing-the-Wiki.md.
1 parent 8353e57 commit f8c16f6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

doc/Editing-the-Wiki.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ You can then add the image in markdown using the URL `test.png`:
102102

103103
## Mermaid Diagrams
104104
Mermaid diagrams can be added using the following syntax (example):
105-
```
105+
````
106106
```{mermaid}
107107
---
108108
title: Simple sample
@@ -116,6 +116,7 @@ stateDiagram-v2
116116
Crash --> Develop_software
117117
Test_software --> [*]
118118
```
119+
````
119120

120121
will render as:
121122
```{mermaid}

doc/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
# Mermaid diagrams
4545
"sphinxcontrib.mermaid",
4646
]
47+
mermaid_d3_zoom = True
4748
napoleon_google_docstring = True
4849
napoleon_numpy_docstring = False
4950

0 commit comments

Comments
 (0)