nextjs-notion-starter-kit icon indicating copy to clipboard operation
nextjs-notion-starter-kit copied to clipboard

code syntax highlight does not work for MATLAB

Open floating15 opened this issue 2 years ago • 2 comments

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!

floating15 avatar Jun 15 '22 11:06 floating15

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

zhufengning avatar Dec 29 '22 09:12 zhufengning

add it under const Code =

zhufengning avatar Dec 29 '22 09:12 zhufengning