hi
before markdown-preview-enhanced i was using atom-mermaid, that has the nice feature to export a graph into SVG (by a simple mermaid-cli --svg see https://github.com/y-takey/atom-mermaid/issues/31 )
do you think it could be possibile here? maybe a contextual menuitem or command
Hi @StefanoCecere ,
Sorry I don't have plan to support exporting mermaid to svg.
I just tried on my laptop and it seems that the edge is not generated correctly. Don't know why this happened.
Thanks
ok, the SVG doesnt work well... but exporting the PNG?
so we could re-embed the generated PNG into the .md file to have a full working doc with graphs, to publish on GitHub for example, where we can't have the mermad.js code to render graphs
@StefanoCecere I was thinking about compiling markdown to markdown so that the exported markdown includes all graphs (as png images), code chunks (hide and only include results), math typesettings (show as image) etc and can be published on GitHub.
I was quite busy recently. I might implement export as markdown feature during the Thanksgiving break.
i think that the compilation into markdown would be a killer feature! making Atom + markdown-preview-enhanced the definitive Markdown writing environment
Most helpful comment
@StefanoCecere I was thinking about compiling
markdowntomarkdownso that the exportedmarkdownincludes all graphs (as png images), code chunks (hide and only include results), math typesettings (show as image) etc and can be published on GitHub.