Skip to content

How to use precomputed mdast in react #728

Answered by ChristianMurphy
ExpHP asked this question in Q&A
Discussion options

You must be logged in to vote

Check out XDM https://github.com/wooorm/xdm#xdm (built on remark and mdast)
And in particular the integrations with build tools and bundlers https://github.com/wooorm/xdm#integrations many of which build documents into static react components at build time.
That could be used directly or the approach could be reapplied to plain remark.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ExpHP
Comment options

@ChristianMurphy
Comment options

@ExpHP
Comment options

@wooorm
Comment options

Answer selected by ExpHP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants