mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
Update 8.6.0_docs.md
This commit is contained in:
parent
3f8eb8cb6b
commit
fb5c96731a
@ -11,9 +11,8 @@ The three levels of are Configuration, Global, Site and Current.
|
||||
| --- | --- |
|
||||
| Global Configuration| Default Mermaid Configurations|
|
||||
| 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
|
||||
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.
|
||||
|
||||
Implementors can only modify configurations using directives, but cannot change the **secure** array.
|
||||
|
||||
# Modifying Configurations and directives:
|
||||
The Two types of directives: are “init” or “initialize” and “wrap”, or “wrapping”.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user