Markdown to React at compile time?

Basically I am searching for something like @sashko’s package for Blaze but in React:

Any reason not to compile to HTML and then just use dangerouslySetInnerHTML?

No. How to do that at compile time?

I’m saying you could modify my package to output HTML strings that you can import in your React code. That’s the most I can help with now.

OK. Thank you.

As a dirty “workaround” I am compiling it at runtime with the react-markdown package.