.mdx files are a mix of markdown and JSX, used for writing content heavy websites like blogs: https://reacttraining.com/blog/gatsby-mdx-blog/
Interesting file format that I haven't seen before.
miniblog.
Related Posts
Difftastic 0.16 is out! In this release:
* Substantially improved performance (a little over 2x)
* Improvements for Bash, OCaml and JSX
* Added Scala support
* Better handling of diff sliders
tree-sitter is really helpful in difftastic, but we still have to do some post-processing. We need to know which tokens are OK to move around (e.g. variables) and which aren't (delimiters).
In the second run, I've fixed delimiters in JSX, so you don't get mismatched > on h1.
I'm really excited about the possibility of using tree-sitter in difftastic. I get accurate JSX parsing for free!


