Is your feature request related to a problem?
Currently, when building a site using mermaid diagrams, diagrams are rended by referencing mermaid lib via a CDN, even if building for offline mode.
This means diagrams aren't rendered properly if site is deployed in an air-gapped environment or if offline mode is used.
Describe the solution you'd like
OpenAPI plugin should download mermaid dependency at build time (or allow via a flag to download it). This should also be enabled in offline mode.
Another solution would involve generating SVG's at build time and use them as assets.
Describe alternatives you've considered
Generating svgs from *.mmd files and include svgs in markdown file.
This would render mermaid plugin useless and documentation maintenance heavier
Is your feature request related to a problem?
Currently, when building a site using mermaid diagrams, diagrams are rended by referencing mermaid lib via a CDN, even if building for offline mode.
This means diagrams aren't rendered properly if site is deployed in an air-gapped environment or if offline mode is used.
Describe the solution you'd like
OpenAPI plugin should download mermaid dependency at build time (or allow via a flag to download it). This should also be enabled in offline mode.
Another solution would involve generating SVG's at build time and use them as assets.
Describe alternatives you've considered
Generating svgs from *.mmd files and include svgs in markdown file.
This would render mermaid plugin useless and documentation maintenance heavier