You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some modern tooling like the C4 Model structurize CLI render mermaid diagrams with inline styles controlled by inline html tags within mermaid diagrams. This requires the following configuration to be injected into the mermaid.initialize function:
{startOnLoad: false,securityLevel: 'loose'}
Any chance of modifying mermaid-render.html line 10 to allow a way to inject a custom configuration.
Suggest some way to populate mermaidConfig from the mermaid file or organizational setting and inject below:
Some modern tooling like the C4 Model structurize CLI render mermaid diagrams with inline styles controlled by inline html tags within mermaid diagrams. This requires the following configuration to be injected into the
mermaid.initialize
function:Any chance of modifying mermaid-render.html line 10 to allow a way to inject a custom configuration.
Suggest some way to populate mermaidConfig from the mermaid file or organizational setting and inject below:
The text was updated successfully, but these errors were encountered: