react-notion-x
react-notion-x copied to clipboard
Bug: Re-introduce the patch for syntax highlighting issues regarding C++ and F#
[!TIP] Please check out https://github.com/transitive-bullshit/nextjs-notion-starter-kit/pull/605 for a bandaid fix before this PR gets merged.
Description
@transitive-bullshit mentioned in #220 that this fix was introduced with the release of v6, but apparently it vanished from master, thus the same issue still persists.
This PR re-introduces the patch to address syntax highlighting issues caused by Notion-prism.js language identifier mismatch.
Please refer to https://github.com/transitive-bullshit/nextjs-notion-starter-kit/issues/309 and https://github.com/NotionX/react-notion-x/issues/220 for more context.
Notion Test Page ID
Before:
After:
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated (UTC) |
|---|---|---|---|
| react-notion-x | ✅ Ready (Inspect) | Visit Preview | Mar 19, 2024 4:09pm |
| react-notion-x-minimal-demo | ✅ Ready (Inspect) | Visit Preview | Mar 19, 2024 4:09pm |
@transitive-bullshit