Add Prism Code Syntax Styling To NextJS Blog (mdx-prism)

Опубликовано: 13 Октябрь 2024
на канале: Benjamin Carlson
5,000
100

In this video I add Prism or mdx-prism package to a next JS blog website. This website also has chakra ui as a css framework but it is not necessary to have to follow along.

Code: https://github.com/bjcarlson42/person...

Previous Video:    • NextJS + ChakraUI Blog With next-mdx-...  
Next Video:    • Vercel Crash Course - Deploy Next.js ...  

Chakra-UI version: V1
Next.JS version: 10
next-mdx-remote Version: 2.1.3
prism version (mdx-prism): 0.3.1 - can use 1.21.0

Gear: https://benjamincarlson.io/gear

Like my videos and want to support me? Consider sponsoring me on GitHub: https://github.com/sponsors/bjcarlson42

CONTACT: [email protected]

Connect with me:
Website: https://benjamincarlson.io
Twitter:   / bjmncrlsn  
Github: https://github.com/bjcarlson42
LinkedIn:   / bjcarlson42  
Medium:   / benjamincarlson  
Newsletter: https://buttondown.email/benjamincarlson