Closed sunknudsen closed 3 years ago
the new version of this plugin uses an API not yet exposed in remark-markdown
. A solution for now is to downgrade remark-gfm
for a bit, and wait for remark-markdown
to update!
tracked upstream as https://github.com/remarkjs/react-markdown/issues/626
Thanks for the heads-up guys!
For posterity: Upgrading remark-parse
from ^9
to ^10
solved this issue for me.
Initial checklist
Affected packages and versions
remark-gfm@2.0.0
Link to runnable example
No response
Steps to reproduce
Simplified snippet:
Not sure why, but the
\n
characters appear to be throwing error.Expected behavior
No error
Actual behavior
TypeError: self.parser.lazy is undefined lineStart node_modules/@sunknudsen/react-cms/node_modules/micromark-extension-gfm-table/lib/syntax.js:563
Runtime
Node v14
Package manager
npm v6
OS
macOS
Build and bundle tools
Webpack