- Introduction
- Getting Started
- 1. Installation
- 1.1. Package managers
- 1.2. Building from source
- 1.3. Using Nix
- 2. Tree-sitter and its queries
- The Topiary CLI
- 3. Usage
- 3.1. topiary format
- 3.2. topiary visualise
- 3.3. topiary config
- 3.4. topiary completion
- 3.5. topiary prefetch
- 3.6. topiary coverage
- 4. Configuration
- 5. Runtime dialogue
- The Topiary Playground
- 6. Web playground
- 7. TTY playground
- Guides
- 8. Adding a new language
- 9. Suggested query development workflow
- 10. Writing a formatter has never been so easy: a Topiary tutorial
- 11. Contributing to Topiary
- Reference
- 12. Language support
- 13. Formatting pipeline
- 14. Capture names
- 14.1. General advice
- 14.2. Horizontal spacing
- 14.2.1. Indentation
- 14.3. Vertical spacing
- 14.3.1. Scopes
- 14.4. Insertion and deletion
- 14.5. Modification
- 15. Rust library
- 16. Related tools