Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Use w/o Gatsby / suggestions to support MDX@2 #23

Open
wooorm opened this issue Nov 13, 2020 · 0 comments
Open

Use w/o Gatsby / suggestions to support MDX@2 #23

wooorm opened this issue Nov 13, 2020 · 0 comments

Comments

@wooorm
Copy link

wooorm commented Nov 13, 2020

Hi all! I’m coming here as the maintainer of remark et al, and would like to see a standalone project, for example so that it can be used directly with remark, but also for example with Next or MDSveX.
It seems like there’s only a small layer of Gatsby-specific code here?

For the remark part, there are certain Gatsby-esque things in this project, such as using raw HTML strings:

node.value = embedData.html;

That works fine if you’re indeed going to make HTML, and Gatsby (and MDX@1) are doing some magic there, but with MDX@2 we’re going remove it in favor of an AST: hast (rehype) (which the other stuff made on remark already supports).

Is this of interest?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant