-
Notifications
You must be signed in to change notification settings - Fork 52
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-grid-tables does not work with latest version of remark #465
Comments
Can confirm this works for older version of unified, remark etc. https://github.com/dwjohnston/remark-play/tree/d6de4d8cde062e767a0d19b84675b50c9f88ca90 Can I suggest adding those values as peer deps? |
By upgrading the dependencies one at a time, I'm able to ascertain that it is the upgrade of 8.x.x to 10.x.x of remark-parse that causes the breaking issue. |
I'm having a little bit of trouble reading the remark change log, but for remark-parse 9 and 10: https://github.com/remarkjs/remark/releases/tag/remark-parse%409.0.0 refers to major release 13 of remark: https://github.com/remarkjs/remark/releases/tag/13.0.0 And remark-parse 10 refers to major release 14 of remark https://github.com/remarkjs/remark/releases/tag/14.0.2 however 14 seems like it is just documentation fixes? |
Some related issues: remarkjs/remark#499 Is it that blockTokenizers hasn't been removed, but that another plugin removes it? |
Related issue here: #416 |
Hello 👋 this issue is known, as you have noticed. Especially, the README states:
To make it short, migration of the plugins is planned, but without any milestone. I have very little time to work on it so it is unlikely to be done anytime soon, especillay for At first sight, it seems to me to be a good idea adding remark <13 as peer dependency. I need to think about it but I will see what can be done. I'm keeping this issue open as a reminder, but further questions about the migration to micromark should go on #416 . |
@StaloneLab No worries, thanks for replying. For anyone who needs it, my current workaround is to convert the grid table into a gfm style table.
|
Thanks for this workaround. It only works for simple tables unfortunately, I think, so the scope seems limited, but it might be helpful if someone is interested in the syntax. |
I suspect that a later release of remark has broken remark-grid-table.
You can see here on Remark's list of plugins that remark-grid-tables is showing as broken:
https://github.com/remarkjs/remark/blob/main/doc/plugins.md#list-of-plugins
I have a repro attempting basic usage of the plugin here:
https://github.com/dwjohnston/remark-play/tree/851e343e3bf969b371c7737a9a93ea3751384962
When we run this we get:
That is - I believe that the
Parser
object is no longer attached.The text was updated successfully, but these errors were encountered: