Open cpmooney opened 1 year ago
This pull request solves the problem:
https://github.com/shadcn/next-contentlayer/pull/1
Someone should probably merge that . . .
Alternatively, I really like RehypePrettyCode Great support for line highlighting and other thing deffo worth a look
@cpmooney Rehype Pretty Code seems to be working for me without an issue.
Is it possible to enable syntax coloring in this example?
I installed
rehype-highlight
and followed https://www.contentlayer.dev/docs/reference/source-files/make-source-a5ba4922#mdx to get this:This has not worked for me so there must be more involved. Any idea about what that might be?