013786faa62cd263eb703f35205a1a3a11957c63
Expand syntax highlighting CSS from 15 to 31 highlight classes, ensuring all tree-sitter captures have assigned colors. Organized into logical sections with comments. Coverage added: - type-builtin, function-builtin, constant-builtin (variants) - variable-builtin, variable-parameter (orange, italic) - constructor, embedded, escape - string-special, string-special-path, string-special-uri - punctuation-special Color palette (Dracula-inspired): - Pink (#ff79c6): keywords, operators, tags, punctuation-special - Yellow (#f1fa8c): strings - Green (#50fa7b): functions, constructors - Cyan (#8be9fd): types, properties, attributes - Purple (#bd93f9): numbers, constants - Orange (#ffb86c): builtins, parameters, escapes - Muted (#6272a4): comments
sukr
Minimal static site compiler — suckless, Rust, zero JS.
sukr transforms Markdown content into high-performance static HTML. No bloated runtimes, no unnecessary JavaScript, just clean output.
Features
- Build-time rendering — Syntax highlighting via Tree-sitter, no client JS
- Tera templates — Runtime customizable, no recompilation needed
- Convention over configuration — Add sections by creating directories
- Monorepo support — Multiple sites via
-cflag
Quick Start
# Build
cargo build --release
# Run (uses ./site.toml)
sukr
# Custom config (monorepo)
sukr -c sites/blog/site.toml
# Help
sukr --help
Configuration
Create site.toml:
title = "My Site"
author = "Your Name"
base_url = "https://example.com"
[paths] # All optional
content = "content" # default
output = "public" # default
static = "static" # default
templates = "templates" # default
Content Structure
content/
├── _index.md # Homepage
├── about.md # Standalone page → /about.html
└── blog/
├── _index.md # Section index → /blog/index.html
└── my-post.md # Post → /blog/my-post.html
License
MIT
Languages
Rust
68.7%
Scheme
19.1%
CSS
11.7%
Nix
0.5%