I withdraw my recommendation of Byword.
MDX is not Markdown.
It look like you’re going to have to stick with an editor that caters to programmers, specifically to an editor with understanding of, and support for, this non-standard mix of Markdown and JavaScript.
1 Like
MDX - is and isn’t markdown. We’re only using MDX because it is the standard for Astro and makes future features easier to build. In reality all of our MDX files are markdown files.
In iA Writer’s settings, there’s a field where you can type in whatever file extension you want it to default to:
Since the beginning, Markdown has supported the ability to use inline HTML coding when Markdown itself was unable to format and display some text.
So MDX uses syntax that looks like Markdown but fills its documents with HTML-like tags that contain the images, formatting, and actions that Markdown cannot display or perform on its own. MDX documents are targeted at compatible web browsers with the proper packages and plug-ins installed.
MDX documents are designed to be read by browsers and web developers, not by every day users, as is the design and major purpose of a Markdown document.
So while some of the syntax may look familiar, I still would not call it Markdown.