Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better handle JSX block parsing in remark-mdx #415

Merged
merged 4 commits into from
Feb 28, 2019
Merged

Better handle JSX block parsing in remark-mdx #415

merged 4 commits into from
Feb 28, 2019

Conversation

johno
Copy link
Member

@johno johno commented Feb 27, 2019

MDX core overrides the blocks regex with the regex defined
in util.js. Since remark-mdx is implemented differently I've opted
to bring in all parsing code from remark and modify it in line.

This will make it easier to further improve JSX block parsing
since we will want to eventually support empty new lines.

@vercel
Copy link

vercel bot commented Feb 27, 2019

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

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

Successfully merging this pull request may close these issues.

1 participant