markdown-preview-plus icon indicating copy to clipboard operation
markdown-preview-plus copied to clipboard

[Feature requests] Mermaid support

Open EliasGabrielsson opened this issue 10 years ago • 4 comments

What?

Supporting mermaid would be a good addon. Have a look at this example how it could be integrated: http://tylingsoft.github.io/tutorial.md/#extensions

How

There is a mermaid only implementation to atom today. Maybe its possible to integrate it directly? https://github.com/y-takey/atom-mermaid

EliasGabrielsson avatar Nov 12 '15 16:11 EliasGabrielsson

+1 I also need this feature!

stasberkov avatar Nov 18 '15 11:11 stasberkov

Markdown editor that already has mermaid support - https://cloose.github.io/CuteMarkEd/. It would be really great if atom had one.

stasberkov avatar Nov 18 '15 11:11 stasberkov

@EliasGabrielsson @stasberkov Thanks so much for the suggestion and I really apologise for taking so long to reply to your feature request.

We use markdown-it as our markdown parser and in theory its possible to extend it with a plugin to support the mermaid syntax. Unfortunately it doesn't look like such a plugin already exists and it is not something I would have the time to implement myself.

I will label this as a wont-implement however if you or anyone else would like to implement it I would be happy to consider a PR. Thanks again @EliasGabrielsson @stasberkov

Galadirith avatar Mar 25 '16 18:03 Galadirith

Mermaid seems to be supported by markdown-preview-enhanced now. But that project is pretty young, so I would not use it in production (at least for now).

kachkaev avatar May 26 '16 15:05 kachkaev