MarkBind / markbind

MarkBind is a tool for generating content-heavy websites from source files in Markdown format
https://markbind.org/
MIT License
134 stars 123 forks source link

Support Mermaid diagrams in offline mode #2548

Open damithc opened 1 month ago

damithc commented 1 month ago

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 commented 1 month ago

@Tim-Siu any thoughts?

Tim-Siu commented 1 month ago

@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?

damithc commented 1 month ago

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.