v1.8.14
版本发布时间: 2021-12-31 16:32:11
fluid-dev/hexo-theme-fluid最新发布版本:v1.9.8(2024-07-24 14:14:28)
:warning:公告
对于正在使用 MathJax 的老用户,建议将原 kramed
渲染器更换为 pandoc
,步骤如下:
-
npm uninstall hexo-renderer-kramed --save
-
npm install hexo-renderer-pandoc --save
- 根据操作系统安装 Pandoc
:wrench: 配置变更
-
hint
库(用于关于页里图标悬浮框)修改为使用公共 CDN:
static_prefix:
- hint: /lib/hint/
+ hint: https://cdn.jsdelivr.net/npm/hint.css@2/
:sparkles: 新功能
- 增加对滚动条颜色的配置项:
color:
+ scrollbar_color: "#c4c6c9"
+ scrollbar_color_dark: "#687582"
+ scrollbar_hover_color: "#a6a6a6"
+ scrollbar_hover_color_dark: "#9da8b3"
:art: 优化
- TOC 增加光标样式
- 表格适配暗色模式
- 代码高亮适配缩进代码块
- 固定 highlight 代码行数
:bug: 修复
- 修复上个版本中关于页头像在移动端会被隐藏的问题
- 暂时移除代码块在暗色模式下变暗(会导致复制按钮偏移)
:warning: Notice
For the users who are using MathJax, it is recommended to replace kramed
renderer to pandoc
, the steps are as follows:
-
npm uninstall hexo-renderer-kramed --save
-
npm install hexo- renderer-pandoc --save
- Install Pandoc according to your os system
:wrench: Configuration
-
hint
(for the icon hover in the about page) was modified to jsdelivrCDN:
static_prefix:
- hint: /lib/hint/
+ hint: https://cdn.jsdelivr.net/npm/hint.css@2/
:sparkles: Feature
- Add config item for scrollbar color:
color:
+ scrollbar_color: "#c4c6c9"
+ scrollbar_color_dark: "#687582"
+ scrollbar_hover_color: "#a6a6a6"
+ scrollbar_hover_color_dark: "#9da8b3"
:art: Enhancement
- TOC add cursor style
-
<table>
is adapted to dark mode - Indented code block is adapted to highlight
- Stick line-number of code
:bug: Fix
- Fix the about avatar being hidden on mobile in the previous version
- Temporarily remove code blocks to darken in dark mode (causes the copy button to shift)