Skip to content

Add feature for useParse in myst-to-react to render mdast output Node #987

Answered by rowanc1
GYHHAHA asked this question in Ideas
Discussion options

You must be logged in to vote

The output renderer is brought in by the @myst-theme/jupyter package (here). We split them up as there are a lot of conflicts in packages when using this inside of jupyterlab-myst (i.e. we want to use jupyter natively in that case, not bring in a subset of the capabilities). The output renderer can be brought in directly if you are doing your own renderer using something like this and then use the theme-provider (here) or the useParse function directly to give you access to those renderers in react!

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@rowanc1
Comment options

@GYHHAHA
Comment options

@rowanc1
Comment options

@GYHHAHA
Comment options

@GYHHAHA
Comment options

Answer selected by GYHHAHA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants