We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
这是个很漂亮的主题,很喜欢,不过我碰到两个问题,能教教我吗?
代码好像不能设置高亮?不知道怎么设置或在哪里可以设置?因为我不会定制 html,所以你能指引一下吗?
第二个是的内容预览部分如果碰到代码,显示效果就不太好了:
The text was updated successfully, but these errors were encountered:
@sumimakito 作者是已经不维护这个主题了么, 如果是的话可以在README顶部说一声吧. 然后问下接收PR么? 打搅了
Sorry, something went wrong.
cbed298
由于这一段时间一直很忙,没有空修 Bug,关于代码高亮的问题可以使用 hexo-prism-plugin,这个依赖已在 README 文档中补上了。
可以使用 yarn add hexo-prism-plugin 或 npm install --save hexo-prism-plugin 安装。
yarn add hexo-prism-plugin
npm install --save hexo-prism-plugin
可以参考 README 或以下内容对主配置进行修改:
theme: typography highlight: enable: false # we'll use the prism plugin instead plugin: - hexo-prism-plugin # ... other plugins # For syntax highlighting prism_plugin: mode: 'preprocess' theme: 'default' line_number: true
另摘要部分确实存在截断代码的问题,修复后代码块 <pre></pre> 将不会出现在摘要中。
<pre></pre>
感谢支持。
Fixed sumimakito#9 with some optimizations.
c906d17
No branches or pull requests
这是个很漂亮的主题,很喜欢,不过我碰到两个问题,能教教我吗?
代码好像不能设置高亮?不知道怎么设置或在哪里可以设置?因为我不会定制 html,所以你能指引一下吗?
第二个是的内容预览部分如果碰到代码,显示效果就不太好了:
The text was updated successfully, but these errors were encountered: