Mermaid support introduced with #2173 is absolutely awesome! 馃憦馃憤
There's just a small problem with readability of texts in the diagrams when using one of the dark interface themes:
Some text in Mermaid diagrams in the preview panel is not readable when using one of the dark interface themes:

All text in Mermaid diagrams should be readable when using one of the dark interface themes, as it is the case for light interface themes:

Haha, yeah, we need to fix it. I assume a single line of css code, which is setting a background color, should be enough.
I noticed that Mermaid itself seems to have different themes (note the default, dark, neutral and forest folders in the output below):
~/dev/Boostnote/node_modules/mermaid/src/themes> ls
class.scss default forest git.scss neutral
dark flowchart.scss gantt.scss mermaid.scss sequence.scss
Maybe it's just a matter of somehow activating Mermaids dark theme if Boostnote runs with a dark interface theme?
I'd love to help more, but unfortunately I'm not at all familiar with Electron so I have no idea from what angle to tackle that task.
@anothernode Fixed 馃憤 https://github.com/BoostIO/Boostnote/pull/2231
@boostio funded this issue with $30. Visit this issue on Issuehunt
Looks like it's my lucky day 馃槅
yay馃帀
@yougotwill Don't forget to apply for the rewarding 馃槃
https://issuehunt.io/repos/53266139/issues/2215
@yougotwill has started working. Visit this issue on Issuehunt
@yougotwill has submitted output. Visit this issue on Issuehunt
@kazup01 has rewarded. Visit this issue on Issuehunt