You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/config/usage.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,12 @@ Mermaid can load multiple diagrams, in the same page.
98
98
> Try it out, save this code as HTML and load it using any browser.
99
99
> (Except Internet Explorer, please don't use Internet Explorer.)
100
100
101
+
## Tiny Mermaid
102
+
103
+
We offer a smaller version of Mermaid that's approximately half the size of the full library. This tiny version doesn't support Mindmap Diagrams, Architecture Diagrams, KaTeX rendering, or lazy loading.
104
+
105
+
If you need a more lightweight version without these features, you can use [Mermaid Tiny](https://github.com/mermaid-js/mermaid/tree/develop/packages/tiny).
106
+
101
107
## Enabling Click Event and Tags in Nodes
102
108
103
109
A `securityLevel` configuration has to first be cleared. `securityLevel` sets the level of trust for the parsed diagrams and limits click functionality. This was introduced in version 8.2 as a security improvement, aimed at preventing malicious use.
Copy file name to clipboardExpand all lines: packages/mermaid/src/docs/config/usage.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,6 +92,12 @@ Mermaid can load multiple diagrams, in the same page.
92
92
> Try it out, save this code as HTML and load it using any browser.
93
93
> (Except Internet Explorer, please don't use Internet Explorer.)
94
94
95
+
## Tiny Mermaid
96
+
97
+
We offer a smaller version of Mermaid that's approximately half the size of the full library. This tiny version doesn't support Mindmap Diagrams, Architecture Diagrams, KaTeX rendering, or lazy loading.
98
+
99
+
If you need a more lightweight version without these features, you can use [Mermaid Tiny](https://github.com/mermaid-js/mermaid/tree/develop/packages/tiny).
100
+
95
101
## Enabling Click Event and Tags in Nodes
96
102
97
103
A `securityLevel` configuration has to first be cleared. `securityLevel` sets the level of trust for the parsed diagrams and limits click functionality. This was introduced in version 8.2 as a security improvement, aimed at preventing malicious use.
0 commit comments