dvorka / mindforger

Thinking notebook and Markdown editor.
https://www.mindforger.com
GNU General Public License v2.0
2.27k stars 136 forks source link

[Feature/Enhancement] Support enhanced styling features of the GitHub Flavored Markdown #1505

Open suntorytimed opened 1 year ago

suntorytimed commented 1 year ago

Enhancement / feature description: For an improved compatibility with Github and a larger feature set on the markdown language, it would be great if MindForger could support advanced styling features of the GitHub Flavored Markdown Spec.

This would for example ease the usage of symbols and improve the compatibility with Github markdown (e. g. :warning: :warning: , https://gist.github.com/rxaviers/7360908) to include graphical emojis in the document. This way there is no need for hex codes or copy pasting the UTF-8 symbols into the markdown.

In addition the support of warnings and notes could be added, which is a great highlighting feature in that spec (https://github.com/orgs/community/discussions/16925)

Screenshots (with sketch), drawings, mocks, wireframes or diagrams: (if available) https://github.github.com/gfm/ https://gist.github.com/rxaviers/7360908 https://github.com/orgs/community/discussions/16925

dvorka commented 1 year ago

@suntorytimed MindForger actually uses cmark-gfm https://github.com/dvorka/mindforger/tree/master/deps to render Markdown. As far as I remember, the features you mentioned are handed by extensions/plug-ins of https://github.com/github/cmark-gfm (which were not available in the past). MindForger uses pretty old version of the cmark-gfm and the project seems to be really active recently. I will check what's new and upgrade to the latest version (hopefully there will be a way how to support also these features).