standardnotes / forum

Support from other community members. For 1-on-1 help, please contact help@standardnotes.com.
https://forum.standardnotes.org
196 stars 9 forks source link

Markdown Diagram Support #202

Closed JasonDeland-pcc closed 1 year ago

JasonDeland-pcc commented 6 years ago

Could you add support for mermaid?

moughxyz commented 6 years ago

Not familiar with it. Would it be a standalone editor, or integrated into one of the existing editors? Something like this for standalone? https://mermaidjs.github.io/mermaid-live-editor

Also, probably won't work on this until there is some more demand for it.

JasonDeland-pcc commented 6 years ago

Could it be integrated into the advanced preview for markdown?

moughxyz commented 6 years ago

Not sure..depends on what open-source libraries there are.

JasonDeland-pcc commented 6 years ago

I would love to help under my personal githib account - jaydeland

andaag commented 6 years ago

This is something that's supported in atom/vscode markdown stuff as well, I think there are multiple open source implementations for rendering this.

Looking at how popular those extensions are might be an indicator of how interesting this is to have.

darthShadow commented 6 years ago

Would love to have this available. So, +1 for the request.

sklum commented 5 years ago

Also very interested in this as an extension. Looks like it's been requested in #445 as well.

dreamflasher commented 4 years ago

I came here to create a new issue for mermaid, and am happy to see that others are interested, too! Would be a great addition.

dreamflasher commented 4 years ago

markdown-it, the editor which is used in https://github.com/sn-extensions/simple-markdown-editor has an extension for mermaid (https://www.npmjs.com/package/markdown-it-mermaid) so it should be relatively easy to be added there?

moughxyz commented 4 years ago

It would seem like it, but the plugin seems to be abandoned.

dreamflasher commented 4 years ago

But the plugin is just a wrapper for mermaid, it's merely calling it, essentially it's finished?

moughxyz commented 4 years ago

Hmm maybe. I don't currently have the capacity for this, but take a look here: https://github.com/standardnotes/forum/issues/839#issuecomment-578812983

We could do a similar arrangement for this if someone wants to submit a PR, for a $100 bounty.