下一代主题插件 MaterialX¶
MaterialX,下一代 mkdocs-material,基于 mkdocs-material-9.7.0 衍生并取名为 X,由个人开发者继续维护(因为 mkdocs-material 将停止维护),以保持 MkDocs 生态系统的活力!
v10.0.3¶
zh¶
- 新增:添加时代潮流 Liquid Glass 主题,这是一款与 Zensical 相同的现代主题
- 新增:调整语言选择框的最大高度,在不滚动时可显示更多语言选项
- 新增:给 TOC 添加缩进参考线,使用户更容易直观地浏览目录
- 新增:给 TOC 中的活动链接添加与 nav 相同的强调色,以便清晰地跟踪进度
- 新增:为表格增加斑马条纹,并适配明暗模式
- 新增:更新
source-file.html模板示例 - 修复:当启用
navigation.tabs.sticky时 header 栏中的 tooltip 提示框被挡住的问题 - 修复:右上角 repo 的 tooltip 提示框位置偏右不居中的问题
- 修复:当语言选择框最大宽度超过 150px 时,在移动设备上显示不正常的问题(chrome:右侧被遮挡;safari:整个页面会左右滚动)
MaterialX, the next generation of mkdocs-material, is based on mkdocs-material-9.7.0 and is named X. It continues to be maintained by individual developers (since mkdocs-material will cease maintenance) to keep the MkDocs ecosystem alive!
v10.0.3¶
en¶
- New: Added Liquid Glass theme, a modern theme identical to Zensical
- New: Adjusted the maximum height of the language selection box to display more language options without scrolling
- New: Added indentation guide lines to the TOC for more intuitive navigation
- New: Applied the same accent color as the nav to active links in the TOC for clear progress tracking
- New: Added zebra-striping to tables with support for both light and dark modes
- New: Updated the
source-file.htmltemplate example - Fixed: Tooltip in the header being blocked when
navigation.tabs.stickyis enabled - Fixed: Misaligned (right-offset) tooltip for the repo link in the top-right corner
- Fixed: Display issues on mobile devices when the maximum width of the language selection box exceeds 150px (Chrome: right side gets clipped; Safari: horizontal page scrolling occurs)
Chat Group¶
Discord: https://discord.gg/cvTfge4AUy
Wechat:
