Replies: 1 comment
-
|
This is a valid need. Being able to read back the active config, especially theme variables like As an alternative to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Since mermaidAPI is deprecated, and there is comment in the code asking me to start a discussion, I guess that is what I'm doing.
I am currently working on making a small change to integrate mermaid a bit better into SilverBullet.
What I am doing there, is that I want to get the 'background' color from the active theme and use that as the background color of the diagram.
A bit of simplified code what I'm doing:
And using the mermaidAPI seemed the most straightforward to do this. Although that could be a lack of knowledge on my side.
Beta Was this translation helpful? Give feedback.
All reactions