mirror of
https://github.com/oskvr37/tiddl.git
synced 2026-08-03 13:27:06 +03:00
📝 Added new templating note (#419)
* docs: document padding behavior * Improve numeric fields note formatting in templating.md Updated note formatting for numeric fields in templating documentation. --------- Co-authored-by: xoconoch <xoconoch@cordovault.com> Co-authored-by: Oskar Dudziński <56404247+oskvr37@users.noreply.github.com>
This commit is contained in:
co-authored by
xoconoch
Oskar Dudziński
parent
05d63d153e
commit
80a34962e0
@@ -47,6 +47,10 @@ Each object type exposes fields you can use inside templates.
|
||||
| `item.explicit` | Explicit content | `E` | str |
|
||||
| `item.dolby:(Dolby Atmos)` | Dolby Atmos (track only, `UserFormat`) | `(Dolby Atmos)` | str |
|
||||
|
||||
> [!NOTE]
|
||||
> Numeric fields `item.number` and `item.volume` can be padded with leading zeros
|
||||
> using `:0<width>d` (e.g. `item.number:02d` → `03`, `item.volume:03d` → `001`).
|
||||
|
||||
---
|
||||
|
||||
### `album`
|
||||
|
||||
Reference in New Issue
Block a user