atom-community / markdown-preview-plus

Markdown Preview + Community Features
https://atom.io/packages/markdown-preview-plus
Other
370 stars 85 forks source link

[Feature requests] Mermaid support #150

Open EliasGabrielsson opened 8 years ago

EliasGabrielsson commented 8 years ago

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

stasberkov commented 8 years ago

+1 I also need this feature!

stasberkov commented 8 years ago

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

Galadirith commented 8 years ago

@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

kachkaev commented 8 years ago

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).