-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Remark plugins are not working #41
Comments
React-remark is currently using remark 13, meaning remark plugins need to be remark 13 compatible. The next major release will support remark 14, and newer versions of remark-gfm #39 |
This is a bit annoying, but not something react-remark itself can fix. |
HI @ChristianMurphy Nice plugin you made here. Any ETA for the next major release that will support remark 14? |
No ETA currently, will probably be a couple months until I can circle back and start to look into the remaining migration items again |
Initial checklist
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
The text was updated successfully, but these errors were encountered: