simov / markdown-viewer

Markdown Viewer / Browser Extension
MIT License
1.08k stars 135 forks source link

Add 'mermaidVersion' setting #159

Closed PietroLubini closed 1 year ago

PietroLubini commented 2 years ago

Add possibility to configure version of Mermaid Diagrams used by extension Values are loaded from https://api.github.com/repos/mermaid-js/mermaid/releases

simov commented 1 year ago

Hi, thanks for contributing. Markdown Viewer v5 got released with a lot of new features and updates including and updated Mermaid version. Also, since the migration to manifest v3 all resources now have to be bundled with the extension, meaning the way I was loading Mermaid before is no longer possible. Instead I have build script to update any of the dependencies that I use, it is inside the build folder.