Closed Wyatex closed 2 years ago
I tested it in the latest version and reproduced the problem.
The same as #98
mac 样式可能只能适配 highlight.js。prism 自带的主题本身就把代码块的样式都设置了,强行加 mac 样式反而会显得杂乱。
虽然但是,我还是喜欢mac那个样式
mac 样式可以根据这个改: https://github.com/next-theme/hexo-theme-next/issues/227
I'm closing this issue. Please join the discussion there :)
This thread has been automatically locked since there has not been any recent activity after it was closed. It is possible issue was solved or at least outdated. Feel free to open new for related bugs.
Please follow this Issue template to provide relevant information, such as source code repository, website URL and screenshots, which will help us investigate. 请按照此 Issue 模版提供相关信息,例如源码仓库、网站链接和屏幕截图,这将有助于我们进行调查。
Issue Checklist
Expected behavior
1、代码块文件名区域显示应该和highlight引擎一样 2、左右滑动时copy按钮应该固定在右上角 3、可以使用mac样式
Actual behavior
文件名处显示不正常,mac主题不工作
copy按钮没有固定
Steps to reproduce the behavior
在hexo的config文件开启prismjs
Next主题的config设置:
然后用hexo s运行,在页面中看到的就和上图一样
Environment Information
Node.js and NPM Information
Package dependencies Information
Hexo Configuration
详细可以看我上面贴出来的仓库
NexT Configuration
详细可以看我上面贴出来的仓库
Other Information
Edge和Chrome浏览器,Windows10