Languages
Sugar High includes 25 languages out of the box—no extra grammars or setup required. JavaScript and JSX work by default; pass a canonical name to highlight TypeScript, Python, CSS, Rust, Go, HTML, SQL, Markdown, and the other built-ins.
Related dialects share the same built-in implementation, including TSX, JSONC, Bash/Zsh, and Terraform. Use lang() when input comes from a filename or integration: it turns aliases and extensions such as py, yml, and gql into their canonical language names.