We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98058f8 commit 7d6248dCopy full SHA for 7d6248d
README.md
@@ -76,6 +76,15 @@ the `MERMAID_THEME` variable.
76
{% startmermaid "dark" %}graph LR; A--B;{% endmermaid %}
77
```
78
79
+### Mermaid use CDN
80
+
81
+By default, Django Mermaid uses the local copy of mermaid from staticfiles. However, if you want to use the CDN version
82
+directly, you can set the `MERMAID_USE_CDN` variable in your Django project's **settings.py** file.
83
84
+```python
85
+MERMAID_USE_CDN = True
86
+```
87
88
### Mermaid theme variables
89
90
You can define your custom theme by overriding the `MERMAID_THEME_VARIABLES` variable. You will need to use
0 commit comments