markbind icon indicating copy to clipboard operation
markbind copied to clipboard

Support Mermaid diagrams in offline mode

Open damithc opened this issue 1 year ago • 3 comments

In some cases, a MarkBind site might need to run in locally, without Internet (e.g., running a course website during an exam).

Suggestion: support Mermaid plugin in offline mode

damithc avatar May 07 '24 03:05 damithc

@Tim-Siu any thoughts?

damithc avatar May 07 '24 03:05 damithc

@Tim-Siu any thoughts?

Hi @damithc ,

This is possible if we bundle the mermaid js code with Markbind. Do we need to have a separate mode for this or shall we just make it the default and only option?

Tim-Siu avatar May 07 '24 04:05 Tim-Siu

This is possible if we bundle the mermaid js code with Markbind. Do we need to have a separate mode for this or shall we just make it the default and only option?

@Tim-Siu With other similar features/plugins, we bundle the required files and that is the only option. The downside is that we need to update the bundled file frequently, but I guess we have to live with that.

damithc avatar May 07 '24 04:05 damithc