-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
disable auto render #91
Comments
Hello! Thanks for the kind words! It is possible to turn off auto rendering. To do so, create a config object named mermaid_config with the property startOnLoad set to false. Ex:
If I understand you correctly you want this to be with in the mermaid namespace something like:
That makes sense. Think the config came to be before the mermaid namespace and was never moved. |
Cool with the widget! Hope this helps. Added the option to disable auto rendering via the mermaid namespace as below. This is in master but not released yet.
|
Your interpretation is correct, and I hesitated to file issue since the While I was typing, just noticed your response and change, thanks so much. Please let me know if I can help on any way with development or testing. |
…as described in issue #91 Added optional ; as statement separator equal to newline for sequence diagrams (help for tidy users)
…nd_yarn/husky-4.3.8 Bump husky from 4.3.0 to 4.3.8
I see in these lines of code where auto render can be disabled. Would it be possible to handle this within the
mermaid
namespace as a config rather thanglobal
?By the way, extremely well done, so well that we are attempting to wrap it in
R
as ahtmlwidget
. Hope to have more input and at least tests as we work through the process.Thanks again.
The text was updated successfully, but these errors were encountered: