shuzijun / markdown-editor

IntelliJ Platform A full-featured WYSIWYG editor for markdown
https://plugins.jetbrains.com/plugin/17254-markdown-editor
Apache License 2.0
155 stars 35 forks source link

Add MDX format support? Or at least allow *.mdx file extension #99

Closed Den-Rimus closed 10 months ago

Den-Rimus commented 11 months ago

We have some fancy framework for our API documentation website - it works on top of Markdown format. Files have *.mdx extension and are, in fact, 90% markdown with some special blocks that are recognized by that framework. If they are not recognized&processed - they are just text. MacDown app shows them like that and it is great because allows 95% of editing and preview.

This would be great to also do in your plugin because editing in well-known IntelliJ editor is way better than any other app.

shuzijun commented 11 months ago

I learned about *.mdx, and the plug-in cannot guarantee compatibility with this format.

According to your description, most of them are compatible with md. You can try to set the .mdx suffix to Markdown format, so that the plug-in can be edited with the plug-in.

image
Den-Rimus commented 10 months ago

Your suggested workaround with file types worked! Thanks!