【代码块】自定义主题配置
描述bug 主题:heo 代码块主题:PRISM_THEME_PREFIX_PATH: process.env.NEXT_PUBLIC_PRISM_THEME_PREFIX_PATH || 'https://raw.githubusercontent.com/PrismJS/prism-themes/master/themes/prism-solarizedlight.css'
复现步骤 NA
期望的正常结果 显示代码主题
截图
环境
- 操作系统: windows
- 浏览器 chrome
- NotionNext版本 4.0.14
- 主题 heo
补充说明 与问题相关的其它说明
https://raw.githubusercontent.com/PrismJS/prism-themes/master/themes/prism-solarizedlight.css 此链接不存在
请确认一下你要使用的主题
https://github.com/PrismJS/prism-themes/tree/master/themes
我找到类似的正确的链接如下,这个主题只有夜间模式
https://raw.githubusercontent.com/PrismJS/prism-themes/master/themes/prism-solarized-dark-atom.css
还是不行,我更改了 https://github.com/miniLQ/NotionNext/blob/main/blog.config.js 但是页面显示还是不显示主题,下面是我的博客 https://notion.iliuqi.com/article/gki_get_cmdline