Closed m10rten closed 9 months ago
My contentlayer.config.ts is almost identical to shadcn-taxonomy:contentlayer.config.js except it is TS and with less documenttypes and different fields.
It is related to: https://github.com/contentlayerdev/contentlayer/issues/560
Completely removing the remarkPlugins & remarkGfm from the contentlayer.config.ts cleared out the issue, so that is where it is it seems.
I encountered the same problem when I used "remark-gfm": "^4.0.0"
I'm facing the same issue. Any use of backticks in MDX results in this issue. And it is due to the remark-gfm
as well. Any possible workaround to this?
Downgrading remark-gfm
from ^4.0.0
to 3.0.1
solves this for now.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I got this log, it said to post a new Issue, I have replaced my username and projectname with and because I think that does not change this error.
It says Win 10, but it is Win 11 OS. I am using
pnpm
v8.6.6. This is my package.json deps as well, before I show the full log:With the following mdx file in:
/content/docs/getting-started.mdx
:Usage
In your routes files, you can use the function to create a route handler.
This file then should look something like this: