mermaid.init
is not using the config
that's passed.
#3406
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Describe the bug
init
function doesn't use the passed config while rendering, so we have to callmermaid.initialize
beforemermaid.init
, which is confusing asmermaid.init
does accept config.To Reproduce
Steps to reproduce the behavior:
mermaid.init
with a forest theme.Expected behavior
Forest theme is used
The text was updated successfully, but these errors were encountered: