-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Description
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:
export default makeSource({
contentDirPath: "./content",
documentTypes: [Post, Page],
mdx: {
rehypePlugins: [highlight],
}
})
This has not worked for me so there must be more involved. Any idea about what that might be?
Metadata
Metadata
Assignees
Labels
No labels