Skip to content

mermaid


Function: setSiteConfig()

setSiteConfig(conf): MermaidConfig

Defined in: packages/mermaid/src/config.ts:164

Sets the siteConfig to the desired values.

The siteConfig is a protected configuration for repeat use. Calls to reset will reset the currentConfig to siteConfig.

Parameters

conf

MermaidConfig

The config to use as siteConfig. This will be merged with the defaultConfig.

Returns

MermaidConfig

The new siteConfig

Opens in mermaid.ai