mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-10 01:29:49 +02:00
Update usage.md
This commit is contained in:
@@ -332,9 +332,9 @@ Mermaid takes a number of options which lets you tweak the rendering of the diag
|
|||||||
setting the options in mermaid.
|
setting the options in mermaid.
|
||||||
|
|
||||||
1. Instantiation of the configuration using the initialize call
|
1. Instantiation of the configuration using the initialize call
|
||||||
2. *Using the global mermaid object* - deprecated
|
2. *Using the global mermaid object* - **Deprecated**
|
||||||
3. *using the global mermaid_config object* - deprecated
|
3. *using the global mermaid_config object* - **Deprecated**
|
||||||
4. Instantiation of the configuration using the **mermaid.init** call
|
4. Instantiation of the configuration using the **mermaid.init** call- **Deprecated**
|
||||||
|
|
||||||
The list above has two ways too many of doing this. Three are deprecated and will eventually be removed. The list of
|
The list above has two ways too many of doing this. Three are deprecated and will eventually be removed. The list of
|
||||||
configuration objects are described [in the mermaidAPI documentation](Setup.md).
|
configuration objects are described [in the mermaidAPI documentation](Setup.md).
|
||||||
@@ -363,6 +363,7 @@ on what kind of integration you use.
|
|||||||
This is the preferred way of configuring mermaid.
|
This is the preferred way of configuring mermaid.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### The following methods are deprecated and are kept only for backwards compatibility.
|
||||||
|
|
||||||
## Using the mermaid object
|
## Using the mermaid object
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user