mirror of
https://github.com/voson-wang/toon.git
synced 2026-01-29 15:24:10 +08:00
docs: overhaul TOON example
This commit is contained in:
@@ -76,7 +76,8 @@ AI is becoming cheaper and more accessible, but larger context windows allow for
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
YAML conveys the same information with **fewer tokens**:
|
<details>
|
||||||
|
<summary>YAML conveys the same information with <strong>fewer tokens</strong></summary>
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
context:
|
context:
|
||||||
@@ -110,6 +111,8 @@ hikes:
|
|||||||
wasSunny: true
|
wasSunny: true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
TOON conveys the same information with **even fewer tokens**, while keeping the hikes in a clear tabular layout:
|
TOON conveys the same information with **even fewer tokens**, while keeping the hikes in a clear tabular layout:
|
||||||
|
|
||||||
```toon
|
```toon
|
||||||
|
|||||||
Reference in New Issue
Block a user