Open powersagitar opened 4 months ago
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
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:![Screenshot 2024-03-19 12 03 32](https://github.com/NotionX/react-notion-x/assets/114868133/9c1ba392-0c02-4032-b424-9b65bc4f2a8e)
After:![Screenshot 2024-03-19 11 58 14](https://github.com/NotionX/react-notion-x/assets/114868133/4bbe18ba-9a96-4547-b6ef-00e21c45ba0e)
https://powerium.notion.site/Decoding-Conditionals-A-Dive-into-if-else-switch-case-Lookup-Tables-and-Interfaces-19254846bcb64aac9c340e81518a9dac