How to use rehype or remark plugins with MDX?

Any MDX-related configs in next.config.js seem to be getting ignored by Tinacms, so I can’t set up remark or rehype plugins: @next/mdx - npm

The TinaMarkdown component doesn’t seem to accept any plugins as props, only custom components.

In particular, I wish to add prism or highlight.js for syntax highlighting, but at present I can’t see an easy way of doing this save for implementing a custom Code component.

Hi, we’re moving to GitHub Discussions. Do you mind reposting this question here?