transitive-bullshit / nextjs-notion-starter-kit

Deploy your own Notion-powered website in minutes with Next.js and Vercel.
https://transitivebullsh.it/nextjs-notion-starter-kit
MIT License
6.16k stars 5.23k forks source link

code syntax highlight does not work for MATLAB #328

Open floating15 opened 2 years ago

floating15 commented 2 years ago

As the title said, the code syntax highlight does not work for MATLAB, e.g.

This is the code block in Notion page:

image

This is the code block in my site:

image

I try to add

import 'prismjs/components/prism-matlab'

in nextjs-notion-starter-kit/pages/_app.tsx, as this said, but it does not work.

What should I do? thank you very much!

zhufengning commented 1 year ago

it is moved to this file: components\NotionPage.tsx

zhufengning commented 1 year ago

add it under const Code =