shadcn / next-contentlayer

A template with Next.js 13 app dir, Contentlayer, Tailwind CSS and dark mode.
https://next-contentlayer.vercel.app
678 stars 91 forks source link

Fix: add remarkGfm plugin for mdx tables. #17

Open NikharPandya opened 1 year ago

NikharPandya commented 1 year ago

The table styling was broken when displaying through mdx, so added the remarkGfm plugin to content layer config. and also this pr closes issue #6

Before

Screenshot 2023-08-08 134840

After

Screenshot 2023-08-08 140329

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
next-contentlayer ❌ Failed (Inspect) Aug 8, 2023 6:10pm
NikharPandya commented 1 year ago

@shadcn Please review and merge the pr whenever possible. Thanks