Skip to content

Nibble v0.3.4

Choose a tag to compare

@github-actions github-actions released this 03 Dec 17:38
· 3 commits to main since this release

中文

  • 代码阅读区优先通过本地 WebGPU 运行 gpu-lexer。模型和权重随 Nibble 打包,离线实例可用。不支持 WebGPU、解析失败或超时时,按文件扩展名或 Markdown 围栏语言回退到 Shiki。新增 Fish、Lua、C、C++、C#、Java、Kotlin、PHP、PowerShell、Ruby 和 Swift 语法。
  • CodeMirror 编辑器加入折叠栏和折叠快捷键,Markdown 围栏代码按语言上色。代码配色可跟随站点外观,也可选择 CodeMirror 浅色或 One Dark。

English

  • Code reading uses the bundled gpu-lexer model on WebGPU when available. Shiki highlights by file extension or Markdown fence language when GPU highlighting fails or times out. The browser needs no external model download.
  • The CodeMirror editor adds a fold gutter, keyboard folding and highlighting inside Markdown fences. Code colors can follow the site appearance or use CodeMirror Light or One Dark.