Skip to content

Commit 18213fb

Browse files
committed
mermaid support added
1 parent 6d37396 commit 18213fb

2 files changed

Lines changed: 16 additions & 3 deletions

File tree

docs/Typography.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ Here is a statement with a footnote.[^1]
168168
| **Total Area** | | | **12040** |
169169

170170

171-
172171
# Horizontal Separator
173172

174173
---
@@ -177,4 +176,14 @@ Here is a statement with a footnote.[^1]
177176
![Nodes Logo](assets/favicon.png)
178177

179178
# Image Online
180-
![Sample Image](https://nodesautomations.com/assets/images/home.webp)
179+
![Sample Image](https://nodesautomations.com/assets/images/home.webp)
180+
181+
# Diagrams
182+
``` mermaid
183+
graph LR
184+
A[Start] --> B{Error?};
185+
B -->|Yes| C[Hmm...];
186+
C --> D[Debug];
187+
D --> B;
188+
B ---->|No| E[Yay!];
189+
```

mkdocs.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,11 @@ markdown_extensions:
5050
pygments_lang_class: true
5151
- pymdownx.inlinehilite
5252
- pymdownx.snippets
53-
- pymdownx.superfences
53+
- pymdownx.superfences:
54+
custom_fences:
55+
- name: mermaid
56+
class: mermaid
57+
format: !!python/name:pymdownx.superfences.fence_code_format
5458
- pymdownx.arithmatex: # for rendering math equations
5559
generic: true
5660
- def_list # List extensions

0 commit comments

Comments
 (0)