v1.3.1
修复
- 修复了代码块存在横向滚动条时行号和代码块不对齐的 bug
- 修复了侧边栏溢出时无法滚动的 bug
特性
- 添加了
theme_version_check
配置用于检查主题版本,当主题版本过低时会在控制台输出警告theme_version_check: true # true | false
- 添加了
theme_config_check
配置用于检查主题配置,当主题配置存在冲突时会在控制台输出警告theme_config_check: true # true | false
- 渐进支持了
interpolate-size
,现在 Chrome 129+ 的代码块折叠和 TOC 锚点会有动画效果
杂项
- 升级了 mouse-firework 依赖,减少内存占用
Fixes
- Fixed bug where line numbers and code blocks were misaligned when horizontal scrollbars were present.
- Fixed bug where sidebar couldn't scroll when overflowing.
Features
- Added
theme_version_check
configuration to check the theme version. A warning will be displayed in the console when the theme version is outdated.theme_version_check: true # true | false
- Added
theme_config_check
configuration to check for theme configuration conflicts. A warning will be displayed in the console if there are any conflicts.theme_config_check: true # true | false
- Progressive support for
interpolate-size
, now code block collapsing and TOC anchor points will have animation effects in Chrome 129+.
Miscs
- Upgraded the
mouse-firework
dependency to reduce memory usage.
Full Changelog: v1.3.0...v1.3.1