Complete technical documentation for Rosettes' APIs, types, and configuration.
What Do You Need?
API Reference
Complete API documentation with signatures and examples
Token Types
Complete reference for all TokenType values
Supported Languages
All 60 supported languages and formats with aliases
Configuration
Configuration classes and options
Reference vs Guides
| Looking for... | Go to... | |
|---|---|---|
"What parameters doeshighlight()take?" |
[docs/reference/api | API Reference] |
| "How do I highlight multiple blocks?" | [docs/highlighting/parallel | Parallel Processing] |
| "What token types exist?" | [docs/reference/token-types | Token Types] |
| "How do I style highlighted code?" | [docs/styling/ | Styling] |
Note
Reference documents what is available (exhaustive, lookup-oriented). Guides explain how to accomplish tasks (goal-oriented).