mirror of
https://github.com/voson-wang/toon.git
synced 2026-01-29 23:34:10 +08:00
docs: fix YAML example formatting in README
This commit is contained in:
@@ -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}:
|
||||||
|
|||||||
Reference in New Issue
Block a user