Skip to content

v1.1.0

Compare
Choose a tag to compare
@D-Sketon D-Sketon released this 07 Dec 07:51
· 38 commits to main since this release

修复

  • 修复了部分 css token 未统一的问题

特性

  • 添加了配置用于控制代码块的默认展开状态,expand 可以设置为 truefalse 或数字,数字表示当代码块的行数大于该数字时默认收缩。
    code_block:
      expand: true # true | false | number
  • 添加了 local_font 配置用于定义本机兜底字体,其优先级比谷歌字体低:
    local_font:
      article:
        - "-apple-system"
        - PingFang SC
        - Microsoft YaHei
        - sans-serif
      code:
        - Menlo
        - Monaco
        - Consolas
        - monospace

杂项

  • 为 README 添加了“自定义主题”和“内置卡片Tag”板块

Fixes

  • Fixed the issue where some CSS tokens were not unified.

Features

  • Added configuration to control the default expand state of code blocks. The expand option can be set to true, false, or a number. If a number is provided, the code block will collapse by default if the number of lines exceeds that value.

    code_block:
      expand: true # true | false | number
  • Added local_font configuration to define fallback fonts, with a lower priority than Google Fonts:

    local_font:
      article:
        - "-apple-system"
        - PingFang SC
        - Microsoft YaHei
        - sans-serif
      code:
        - Menlo
        - Monaco
        - Consolas
        - monospace

Miscs

  • Added sections on "Custom Themes" and "Built-in Card Tags" to the README.

Full Changelog: v1.0.0...v1.1.0