docs: fix YAML example formatting in README

This commit is contained in:
Johann Schopplich
2025-11-13 14:54:25 +01:00
parent dc983b42ab
commit a7eebaa9b3

View File

@@ -50,15 +50,15 @@ YAML conveys the same infromation with **fewer tokens**:
```yaml ```yaml
users: users:
- id: 1 - id: 1
name: Alice name: Alice
role: admin role: admin
- id: 2 - id: 2
name: Bob name: Bob
role: user role: user
``` ```
TOON conveys the same information with even **fewer tokens**: TOON conveys the same information with **even fewer tokens**:
``` ```
users[2]{id,name,role}: users[2]{id,name,role}: