mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
Update Setup.md
This commit is contained in:
parent
31027047e3
commit
09efbaf621
@ -11,7 +11,15 @@ It is is then up to the user of the API to make use of the svg, either insert it
|
|||||||
|
|
||||||
In addition to the render function, a number of behavioral configuration options are available.
|
In addition to the render function, a number of behavioral configuration options are available.
|
||||||
|
|
||||||
## Configuration
|
# Configuration
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# **Configuration methods in Mermaid version 8.6.0 have been updated, to learn more[[click here](https://github.com/NeilCuzon/mermaid/blob/develop/docs/8.6.0_docs.md)].**
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## **What follows are config instructions for older versions**
|
||||||
|
|
||||||
These are the default options which can be overridden with the initialization call like so:
|
These are the default options which can be overridden with the initialization call like so:
|
||||||
**Example 1:**
|
**Example 1:**
|
||||||
@ -49,9 +57,11 @@ A summary of all options and their defaults is found [here][2]. A description of
|
|||||||
theme , the CSS style sheet
|
theme , the CSS style sheet
|
||||||
|
|
||||||
theme , the CSS style sheet
|
theme , the CSS style sheet
|
||||||
|
|
||||||
| Parameter | Description |Type | Required | Values|
|
| Parameter | Description |Type | Required | Values|
|
||||||
\| --- \| --- \| --- \| --- \| --- \|
|
| --- | --- | --- | --- | --- |
|
||||||
| Theme |Built in Themes| String | Optional | Values include, default, forest, dark, neutral, null|
|
| Theme |Built in Themes| String | Optional | default, forest, dark, neutral, null|
|
||||||
|
|
||||||
**Notes:**To disable any pre-defined mermaid theme, use "null".
|
**Notes:**To disable any pre-defined mermaid theme, use "null".
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user