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

Cannot read properties of undefined (reading 'blockTokenizers') #470

Closed
polyamakov opened this issue Aug 29, 2022 · 1 comment
Closed

Cannot read properties of undefined (reading 'blockTokenizers') #470

polyamakov opened this issue Aug 29, 2022 · 1 comment
Labels
status/duplicate This is "déjà vu" type/bug This is a problem

Comments

@polyamakov
Copy link

Hi! I have problems, I have to update "react-markdown" at least to "^7.1.1", But when i do it remarkDisableTokenizers is broken.

<ReactMarkdown remarkPlugins={[remark, [remarkDisableTokenizers, { block: ['setextHeading'] }]]} ... />

"react-markdown": "^7.1.1",
"remark-disable-tokenizers": "^1.1.0",

image

Could you help me please? no one on the whole internet has come across this problem

@StaloneLab
Copy link
Member

Hello, I think you have the problem mentioned in issue #416 : your remark version does not match the version needed by our plugins. To be more specific, we state that:

Currently, all the plugins provided only work for remark versions lesser than 13.0.0.

If you are using a version greater than or equal to 13.0.0, then you'll need to wait (probably for a long time) for the plugin to be migrated or use the tricks mentioned here: #416 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/duplicate This is "déjà vu" type/bug This is a problem
Projects
None yet
Development

No branches or pull requests

2 participants