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

fix tables in markdown #98

Merged
merged 1 commit into from
Dec 3, 2023
Merged

fix tables in markdown #98

merged 1 commit into from
Dec 3, 2023

Conversation

capsloq
Copy link
Contributor

@capsloq capsloq commented Dec 2, 2023

tables in blog posts are currently not working:
image

Downgrade of remark-gfm because of this bug:
contentlayerdev/contentlayer#558

Adding remark to contentlayer plugins

Copy link

vercel bot commented Dec 2, 2023

Someone is attempting to deploy a commit to a Personal Account owned by @sadmann7 on Vercel.

@sadmann7 first needs to authorize it.

@sadmann7
Copy link
Owner

sadmann7 commented Dec 3, 2023

Thanks

@sadmann7 sadmann7 merged commit 01efaa1 into sadmann7:main Dec 3, 2023
1 of 5 checks passed
@sadmann7
Copy link
Owner

sadmann7 commented Dec 3, 2023

This version gives typeerror on the markdown remark plugins tho

@capsloq
Copy link
Contributor Author

capsloq commented Dec 3, 2023

This version (3.0.1) works for me and Node 21. You can try remark-gfm 4.0.0 but that gives me the error:
[ERROR] TypeError: Cannot read properties of undefined (reading 'inTable')

@dstroot
Copy link

dstroot commented Dec 3, 2023

You have to stay on remark-gfm 3.0.1 as @capsloq noted. Anything higher throws the type error. I'd REALLY like to see Contentlayer get some love and get updated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants