File tree 1 file changed +15
-18
lines changed
1 file changed +15
-18
lines changed Original file line number Diff line number Diff line change @@ -173,6 +173,19 @@ journey
173
173
Go downstairs: 5: Me
174
174
Sit down: 5: Me
175
175
```
176
+ ////
177
+
178
+ //// tab | Pie
179
+
180
+ ``` diagram
181
+ pie
182
+ title Key elements in Product X
183
+ "Calcium" : 42.96
184
+ "Potassium" : 50.05
185
+ "Magnesium" : 10.01
186
+ "Iron" : 5
187
+ ```
188
+
176
189
////
177
190
///
178
191
@@ -198,22 +211,6 @@ gantt
198
211
199
212
////
200
213
201
- //// tab | Pie
202
-
203
- Pie at times can seem to work great, but other times it can be hard to read or missing labels all together.
204
- Like the others in this list, it relates to sizing and scaling. For instance, if you were to view this on a
205
- mobile device, you'd likely see the key for the pie chart missing.
206
-
207
- ``` diagram
208
- pie
209
- title Key elements in Product X
210
- "Calcium" : 42.96
211
- "Potassium" : 50.05
212
- "Magnesium" : 10.01
213
- "Iron" : 5
214
- ```
215
-
216
- ////
217
214
///
218
215
219
216
## Configuration
@@ -332,7 +329,7 @@ and provide the configuration. We also have the custom loader that is runs when
332
329
end</code ></pre >
333
330
334
331
<!-- Include Mermaid script and user config -->
335
- <script src =" https://unpkg.com/ mermaid@10.6.1 /dist/mermaid.min.js" ></script >
332
+ <script src =" https://cdn.jsdelivr.net/npm/ mermaid@11.5.0 /dist/mermaid.min.js" ></script >
336
333
<script >
337
334
window .mermaidConfig = {
338
335
startOnLoad: false ,
@@ -506,7 +503,7 @@ markdown_extensions:
506
503
507
504
extra_javascript :
508
505
- optionalConfig.js
509
- - https://unpkg.com/ mermaid@10.6.1 /dist/mermaid.min.js
506
+ - https://cdn.jsdelivr.net/npm/ mermaid@11.5.0 /dist/mermaid.min.js
510
507
- extra-loader.js
511
508
` ` `
512
509
You can’t perform that action at this time.
0 commit comments