added formats to API doc

This commit is contained in:
Gamosoft 2026-05-07 15:01:06 +02:00
parent a7b5452d56
commit c058ee47b0
1 changed files with 1 additions and 0 deletions

View File

@ -708,6 +708,7 @@ Creates a new note from a template with placeholder replacement.
- `{{day}}` - Current day (DD) - `{{day}}` - Current day (DD)
- `{{title}}` - Note name without extension - `{{title}}` - Note name without extension
- `{{folder}}` - Parent folder name - `{{folder}}` - Parent folder name
- `{{date:FMT}}` / `{{time:FMT}}` / `{{datetime:FMT}}` - Custom [`strftime`](https://docs.python.org/3/library/datetime.html#strftime-and-strptime-format-codes) format (e.g. `{{datetime:%Y%m%d%H%M%S}}``20251126153045`, `{{date:%A}}``Wednesday`); invalid format strings are left verbatim. See [TEMPLATES.md](TEMPLATES.md) for a recipe table.
**Response:** **Response:**
```json ```json