openclaw/docs/plugins/reference/diffs-language-pack.md
Vincent Koc f486f76460
docs: close the remaining ia and ste findings (#144089)
Two nav repairs (an orphaned reference page with a real inbound link, and
two start/ pages sitting under Help > Community), Related lists and index
cards that omitted whole top-level areas, and a plain-English pass over the
pages carrying rate findings.

Hard STE violations across the 46 measured pages: 649 -> 334 at the 25-word
cap, 767 -> 388 at 20. Every page named by a rate row is now under 1.5 at
both caps except reference/templates/AGENTS.md, refuted separately.

Co-authored-by: Vincent Koc <vincent@openclaw.org>
2026-09-10 22:28:26 +08:00

1.5 KiB

summary read_when title
Adds syntax highlighting for languages outside the default diffs viewer set.
You are installing, configuring, or auditing the diffs-language-pack plugin
Diffs Language Pack plugin reference

Adds syntax highlighting for languages outside the default diffs viewer set.

Distribution

  • Package: @openclaw/diffs-language-pack
  • Install route: npm or ClawHub: clawhub:@openclaw/diffs-language-pack

Surface

This plugin declares no channels, providers, commands, or contracts.

Added languages

The base diffs plugin already highlights the common languages documented in Diffs. Install this language pack when you want syntax highlighting for a broader set of Shiki-supported languages. If the pack is not installed, those files still render as readable plain text.

Examples include:

  • Astro
  • Vue
  • Svelte
  • MDX
  • GraphQL
  • Terraform/HCL
  • Nix
  • Clojure
  • Elixir
  • Haskell
  • OCaml
  • Scala
  • Zig
  • Solidity
  • Verilog/VHDL
  • Fortran
  • MATLAB
  • LaTeX
  • Mermaid
  • Sass/Less/SCSS
  • Nginx
  • Apache
  • CSV
  • dotenv
  • INI
  • diff files

See Shiki languages for Shiki's upstream language and alias catalog.