File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -31,24 +31,19 @@ INSTALLED_APPS = [
31
31
After you configure the ` INSTALLED_APPS ` , you will be able to load the ` mermaid ` in your template and use the template
32
32
tags for rendering mermaid diagrams.
33
33
34
- For small diagrams we recommend the simple tag:
35
-
36
34
``` jinja2
37
35
{% load mermaid %}
38
- {% mermaid "graph LR; A-->B;" %}
39
- ```
40
36
41
- For larger diagrams we recommend the block tag:
37
+ {# for small diagrams #}
38
+ {% mermaid "graph LR; A-->B;" %}
42
39
43
- ``` jinja2
44
- {% load mermaid %}
40
+ {# for larger diagrams #}
45
41
{% startmermaid %}
46
42
graph LR
47
43
A-->B
48
44
{% endmermaid %}
49
45
```
50
46
51
-
52
47
### Mermaid version
53
48
54
49
By default, Django Mermaid uses the ** 9.4.3** version of mermaid. However, if you want to use a specific version of
You can’t perform that action at this time.
0 commit comments