Probably MDX files can’t be handled with 100% accuracy due to specific structure, especially with docusarus. It’s now a simple .jsons, they’re complex files. I guess you’ll need to figure a workaround because there for sure wouldn’t be a quick solution out of the box.