thomiceli / opengist

Self-hosted pastebin powered by Git, open-source alternative to Github Gist.
https://opengist.io
GNU Affero General Public License v3.0
1.89k stars 100 forks source link

[Feature request] Adds mmd (mermaid) file type support. #386

Open jcvanhalle-ec opened 5 days ago

jcvanhalle-ec commented 5 days ago

Hi,

Support for rendering mermaid diagrams in markdown has been added https://github.com/thomiceli/opengist/issues/96 (pretty cool !).

Could we have diagram rendering when gist file extension is mmd ? That would remove the need to surround mermaid code with a markdown fence block when creating a new gist and copying code from mermaid live editor (and vice versa: it would remove the need to remove markdown fence block from opengist when pasting to mermaid).