Closed WinteryFox closed 2 years ago
Sorry you ran into a spot of trouble. This is duplicate of https://github.com/remarkjs/react-remark/issues/41
as noted there
React-remark is currently using remark 13, meaning remark plugins need to be remark 13 compatible. For example remark-gfm 1 is remark 13 compatible: https://stackblitz.com/edit/react-ts-vv9vh1?file=index.tsx
The next major release will support remark 14, and newer versions of remark-gfm https://github.com/remarkjs/react-remark/pull/39
along with other latest versions of remark plugins
Initial checklist
Affected packages and versions
2.1.0
Link to runnable example
https://codesandbox.io/s/wizardly-jepsen-1jeeyl
Steps to reproduce
-
Expected behavior
The plugins work without errors.
Actual behavior
You get a bunch of weird errors about missing members. remarkGfm gives the following error;
remarkBreaks gives;
remarkParse gives;
Runtime
Node v16
Package manager
npm 8
OS
Windows
Build and bundle tools
Webpack, Next.js