Markdown-Mermaid-Expand-to-PNGVS Code extension to expand your markdown mermaid tags to PNG and vice versa. FeaturesIf you have a markdown file using mermaid and you want to publish it to sites that don't render mermaid you can use this extension. This will allow you to transform all the mermaid tags to PNG. It will also enable you to do the reverse and retrieve the original text from the PNGs back to the markdown file. See it in action. Converting Markdown with Mermaid blocks to PNG: Converting Markdown with PNGs back to Mermaid code: You can test this with this sample.md file:
After executing the command "Convert Markdown code to PNG" it will be transformed to this file and 3 png files are created in the same folder:
Running the command "Convert Markdown Mermaid PNGs to Code" the file will be transformed to the original state.
Requirements
Release Notes1.3.0Fix documentation 1.1.0Initial release. Useful linksNote:For the solution to run there is an http call to mermaid server (mermaid.ink). |