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/math.md
+10
Original file line number
Diff line number
Diff line change
@@ -84,3 +84,13 @@ Example with legacy mode enabled (the latest version of KaTeX's stylesheet can b
84
84
</body>
85
85
</html>
86
86
```
87
+
88
+
## Handling Rendering Differences
89
+
90
+
Due to differences between default fonts across operating systems and browser's MathML implementations, inconsistent results can be seen across platforms. If having consistent results are important, or the most optimal rendered results are desired, `forceLegacyMathML` can be enabled in the config.
91
+
92
+
This option will always use KaTeX's stylesheet instead of only when MathML is not supported (as with `legacyMathML`). Note that only `forceLegacyMathML` needs to be set.
93
+
94
+
If including KaTeX's stylesheet is not a concern, enabling this option is recommended to avoid scenarios where no MathML implementation within a browser provides the desired output (as seen below).
95
+
96
+

|`config`|`MermaidConfig`| configuration that has style and theme settings to use |
173
-
|`classDefs`|`undefined`\|`null`\|`Record`<`string`, `DiagramStyleClassDef`> | the classDefs in the diagram text. Might be null if none were defined. Usually is the result of a call to getClasses(...) |
|`config`|`MermaidConfig`| configuration that has style and theme settings to use |
173
+
|`classDefs`|`undefined`\|`null`\|`Map`<`string`, `DiagramStyleClassDef`> | the classDefs in the diagram text. Might be null if none were defined. Usually is the result of a call to getClasses(...) |
174
174
175
175
#### Returns
176
176
@@ -190,20 +190,20 @@ the string with all the user styles
-**Editor** - A web based editor for creating and editing Mermaid diagrams.
20
24
21
-
-**Presentation** - A presentation mode for viewing Mermaid diagrams in a slideshow format.
25
+
-**Visual Editor** - The Visual Editor enables users of all skill levels to create diagrams easily and efficiently, with both GUI and code-based editing options.
22
26
23
-
-**Collaboration** - A web based collaboration feature for multi-user editing on Mermaid diagrams in real-time (Pro plan).
27
+
-**AI Chat** - Use our embedded AI Chat to generate diagrams from natural language descriptions.
24
28
25
29
-**Plugins** - A plugin system for extending the functionality of Mermaid.
-[Microsoft PowerPoint and Word](https://appsource.microsoft.com/en-us/product/office/WA200006214?tab=Overview)
32
-
-[Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=MermaidChart.vscode-mermaid-chart)
33
37
34
-
-**AI diagramming** - A feature for generating Mermaid diagrams from text using AI (Pro plan).
38
+
Visit our [Plugins](https://www.mermaidchart.com/plugins) page for more information.
35
39
36
-
-**More** - To learn more, visit our [Product](https://www.mermaidchart.com/product) page.
40
+
-**Collaboration** - A web based collaboration feature for multi-user editing on Mermaid diagrams in real-time (Pro and Enterprise plans).
41
+
42
+
-**Comments** - Enhance collaboration by adding comments to diagrams.
43
+
44
+
-**Presentations** - A presentation mode for viewing Mermaid diagrams in a slideshow format.
37
45
38
46
## Plans
39
47
@@ -43,11 +51,9 @@
43
51
44
52
-**Enterprise** - A paid plan for enterprise use that includes all Pro features, and more.
45
53
46
-
## Access
47
-
48
-
Sign up for a free account at [Mermaid Chart](https://www.mermaidchart.com/app/sign-up).
54
+
To learn more, visit our [Pricing](https://mermaidchart.com/pricing) page.
49
55
50
-
Mermaid Chart is currently offering a 14-day free trial of our newly-launched Pro tier. To learn more, visit our [Pricing](https://mermaidchart.com/pricing) page.
56
+
Mermaid Chart is currently offering a 14-day free trial on our Pro and Enterprise tiers. Sign up for a free account at [Mermaid Chart](https://www.mermaidchart.com/app/sign-up).
Copy file name to clipboardExpand all lines: docs/news/blog.md
+12
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,18 @@
6
6
7
7
# Blog
8
8
9
+
## [How to Choose the Right Documentation Software](https://www.mermaidchart.com/blog/posts/how-to-choose-the-right-documentation-software/)
10
+
11
+
7 May 2024 · 5 mins
12
+
13
+
How to Choose the Right Documentation Software. Reliable and efficient documentation software is crucial in the fast-paced world of software development.
14
+
15
+
## [AI in software diagramming: What trends will define the future?](https://www.mermaidchart.com/blog/posts/ai-in-software-diagramming/)
16
+
17
+
24 April 2024 · 5 mins
18
+
19
+
Artificial intelligence (AI) tools are changing the way developers work.
20
+
9
21
## [Mermaid Chart Unveils Visual Editor for Sequence Diagrams](https://www.mermaidchart.com/blog/posts/mermaid-chart-unveils-visual-editor-for-sequence-diagrams/)
Copy file name to clipboardExpand all lines: docs/syntax/flowchart.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -881,7 +881,7 @@ Examples of tooltip usage below:
881
881
882
882
```html
883
883
<script>
884
-
constcallback=function () {
884
+
window.callback=function () {
885
885
alert('A callback was triggered');
886
886
};
887
887
</script>
@@ -913,7 +913,7 @@ flowchart LR
913
913
914
914
> **Success** The tooltip functionality and the ability to link to urls are available from version 0.5.2.
915
915
916
-
?> Due to limitations with how Docsify handles JavaScript callback functions, an alternate working demo for the above code can be viewed at [this jsfiddle](https://jsfiddle.net/Ogglas/2o73vdez/7).
916
+
?> Due to limitations with how Docsify handles JavaScript callback functions, an alternate working demo for the above code can be viewed at [this jsfiddle](https://jsfiddle.net/yk4h7qou/2/).
917
917
918
918
Links are opened in the same browser tab/window by default. It is possible to change this by adding a link target to the click definition (`_self`, `_blank`, `_parent` and `_top` are supported):
919
919
@@ -957,7 +957,7 @@ Beginner's tip—a full example using interactive links in a html context:
0 commit comments