Closed maple3142 closed 1 year ago
Thanks for opening this issue, maintainers will get back to you as soon as possible!
Issue-Label Bot is automatically applying the label Bug
to this issue, with a confidence of 0.70. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
I tested it in the latest version and reproduced the problem.
Maybe need to adjust the layout
original
<pre>
<code></code>
<div class="copy-btn"></div>
</pre>
change to
<div class=""wrapper">
<pre>
<code></code>
</pre>
<div class="copy-btn"></div>
</div>
Prism 的问题似乎最好配合 Hexo 那边解决 在解析 md 的时候把高亮的代码块包起来 我想通过这样统一一下 highlight 和 prism 处理后的文档整体结构,使代码高亮部分可以统一通过某选择器选择这样子
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
Works correctly when using prismjs
Actual behavior
Steps to reproduce the behavior
Disable highlight js in
_config.yml
, and enable prismjs, thenhexo clean && hexo s
.Environment Information
Node.js and NPM Information
Package dependencies Information
Hexo Configuration
NexT Configuration
Other Information
Browser: Chrome 80.0.3987.163