You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Build-time code highlighting (tree-sitter) into span data #255
In build.rs or an xtask, highlight code fences with tree-sitter-highlight (Rust first, then TOML and shell), and emit compact pre-coloured spans keyed by the code's hash, mapped onto the theme's colours. At runtime a code block is monospace rich text (#249) with a copy button. No highlighter ships in the binary, so native and web match.
Follow-up from the Markdown widget: #270 (code blocks scroll horizontally instead of wrapping). Highlighting will want a non-wrapping block too, so the two may be best done together.
Activity
samitbasu commentedon Nov 16, 2026
Follow-up from the Markdown widget: #270 (code blocks scroll horizontally instead of wrapping). Highlighting will want a non-wrapping block too, so the two may be best done together.