mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-13 02:59:36 +02:00
Update 8.6.0_docs.md
This commit is contained in:
@@ -11,9 +11,8 @@ The three levels of are Configuration, Global, Site and Current.
|
|||||||
| --- | --- |
|
| --- | --- |
|
||||||
| Global Configuration| Default Mermaid Configurations|
|
| Global Configuration| Default Mermaid Configurations|
|
||||||
| Site Configuration| Configurations made by site owner|
|
| Site Configuration| Configurations made by site owner|
|
||||||
| Current Configuration| Configurations added by Implementors|
|
| Current Configuration| Configurations made by Implementors|
|
||||||
|
|
||||||
**Notes**: Implementors can only modify configurations using directives and they cannot change the **secure** array.
|
|
||||||
|
|
||||||
# Limits to Modifying Configurations
|
# Limits to Modifying Configurations
|
||||||
secure Array
|
secure Array
|
||||||
@@ -32,6 +31,8 @@ mermaidAPI.initialize( { startOnLoad: true, secure: ['parameter1', 'parameter2']
|
|||||||
|
|
||||||
default values for the **secure array** consists of: ['secure', 'securityLevel', 'startOnLoad', 'maxTextSize']. These default values are immutable.
|
default values for the **secure array** consists of: ['secure', 'securityLevel', 'startOnLoad', 'maxTextSize']. These default values are immutable.
|
||||||
|
|
||||||
|
Implementors can only modify configurations using directives, but cannot change the **secure** array.
|
||||||
|
|
||||||
# Modifying Configurations and directives:
|
# Modifying Configurations and directives:
|
||||||
The Two types of directives: are “init” or “initialize” and “wrap”, or “wrapping”.
|
The Two types of directives: are “init” or “initialize” and “wrap”, or “wrapping”.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user