Merge branch 'develop' into 1252_gitgraph_reinvented

This commit is contained in:
ashishj
2022-03-24 17:29:36 +01:00
6 changed files with 121 additions and 108 deletions

View File

@@ -52,7 +52,7 @@ export const updateCurrentConfig = (siteCfg, _directives) => {
* **Notes:** Sets the siteConfig. The siteConfig is a protected configuration for repeat use. Calls
* to reset() will reset the currentConfig to siteConfig. Calls to reset(configApi.defaultConfig)
* will reset siteConfig and currentConfig to the defaultConfig Note: currentConfig is set in this
* function *Default value: At default, will mirror Global Config**
* function _Default value: At default, will mirror Global Config_
*
* @param conf - The base currentConfig to use as siteConfig
* @returns {object} - The siteConfig

View File

@@ -100,7 +100,7 @@ const config = {
arrowMarkerAbsolute: false,
/**
* This option controls which currentConfig keys are considered *secure* and can only be changed
* This option controls which currentConfig keys are considered _secure_ and can only be changed
* via call to mermaidAPI.initialize. Calls to mermaidAPI.reinitialize cannot make changes to the
* `secure` keys in the current currentConfig. This prevents malicious graph directives from
* overriding a site's default security.