I just figured it out :-) See https://github.com/millette/t3
Note that I (temporalely) forked mdx-runtime to use buble-jsx-only instead of buble but it works with either.
@Kinbaum Fetching remote Markdown is something that an application I am working on needed to do as well. Using @mdx/runtime as the example posted by @millette is the same approach we ended up using and it has been effective for returning compiled JSX to react for render to the page.
Most helpful comment
I just figured it out :-) See https://github.com/millette/t3
Note that I (temporalely) forked
mdx-runtimeto use buble-jsx-only instead of buble but it works with either.