Closed
Description
Initial checklist
- I read the support docs
- I read the contributing guide
- I agree to follow the code of conduct
- I searched issues and couldn’t find anything (or linked relevant results below)
Affected packages and versions
react-remark 2.1.0 and remark-gfm 3.0.1
Link to runnable example
https://stackblitz.com/edit/react-ts-zf4r6n?file=index.tsx
Steps to reproduce
The linked code shows the problem. When I add a remark plugin (in this instance remark-gfm, but I also tried remark-math), there is no output and no errors.
I also tried this using the hook version and got null
as the rendered content.
If I dial back the version of remark-gfm to 1.0 as it is in this project's package.json
, then it works as expected.
Expected behavior
I expected the markdown to be converted to HTML and the table in github flavored markdown to be correctly rendered.
Actual behavior
Nothing is output at all, and there are no warning or error messages in the console.
Runtime
No response
Package manager
No response
OS
No response
Build and bundle tools
No response