mindforger icon indicating copy to clipboard operation
mindforger copied to clipboard

[Question] No diagrams in documentation (Windows installation).

Open MaxCookie opened this issue 1 year ago • 2 comments

Hi! I've installed mindforger recently and was browsing it's documentation on diagrams, when i realized that there are none - Preview panel perceives it as if it was a block of code. Should it be that way, or maybe I should perform some additional steps after the installation to put it to work or is it a bug? image

MaxCookie avatar Jul 11 '24 16:07 MaxCookie

Diagrams are rendered using Mermaid JavaScript library. It must be enabled in menu Workspace/Preferences\Viewer (it slows down preview, therefore it is disabled by default):

Screenshot from 2024-07-14 17-45-03

Unfortunately I think that there is a bug :lady_beetle: in MindForger 2.0.0 (it might be either security related OR Mermaid's CDN URL) - I will look into it and fix it in the next releases.

Thank you!

dvorka avatar Jul 14 '24 15:07 dvorka

I wasn't able to find Workspace/Preferences\Viewer, instead i stumbled upon Adapt - Viewer, where i enabled js diagrams and was able to use them in my note. If it can be done globally i would be glad to know how, thanks in advance.

MaxCookie avatar Jul 14 '24 21:07 MaxCookie