From a2d1e041f83427ca2d2fa1bac7d4ce19c165b747 Mon Sep 17 00:00:00 2001 From: lambtho12 Date: Sun, 16 Jan 2022 13:34:55 +0100 Subject: [PATCH] doc: add doc for RFC3339 template --- README.md | 1 + doc/telekasten.txt | 13 +++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index a3558ce..3ed95b4 100644 --- a/README.md +++ b/README.md @@ -694,6 +694,7 @@ Currently, the following substitutions will be made during new note creation: | `{{prevday}}` | previous day's date in iso format | 2021-11-20 | | `{{nextday}}` | next day's date in iso format | 2021-11-22 | | `{{hdate}}` | date in long format | Sunday, November 21st, 2021 | +| `{{rfc3339}}` | date in RFC3339 format| 2021-11-21T14:30Z+01:00 | | `{{week}}` | week of the year | 46 | | `{{prevweek}}` | previous week of the year | 45 | | `{{nextweek}}` | next week of the year | 47 | diff --git a/doc/telekasten.txt b/doc/telekasten.txt index e6e5e84..65596d2 100644 --- a/doc/telekasten.txt +++ b/doc/telekasten.txt @@ -296,18 +296,18 @@ telekasten.setup({opts}) to non-existing note. Valid options are: - - `'smart'`: put daily-looking (date as title) into the daily folder, + - `'smart'`: put daily-looking (date as title) into the daily folder, weekly-looking notes into the weekly folder, all other notes - into the home folder, except for notes with `sub/folders` in + into the home folder, except for notes with `sub/folders` in the title. - `'prefer_home'`: put all notes in home folder except for - `goto_today()` and `goto_thisweek()`, and notes with + `goto_today()` and `goto_thisweek()`, and notes with `sub/folders` in the title. - `'same_as_current'`: put all new notes in the directory of the - currently open note (where the cursor is) if - present or else into the home folder, except for + currently open note (where the cursor is) if + present or else into the home folder, except for notes with `sub/folders` in the title. Default: `smart` @@ -674,7 +674,7 @@ Tag syntax:~ Note:~ For proper highlighting, the `auto_set_filetype` option is set to `true` by - default. This automatically sets the to `telekasten`, and also registers the + default. This automatically sets the to `telekasten`, and also registers the syntax with telescope previewers for `.md` files. -------------------------------------------------------------------------------- @@ -735,6 +735,7 @@ The following substitutions will be made during new note creation: | `{{prevday}}` | previous day, iso | 2021-11-20 | | `{{nextday}}` | next day, iso | 2021-11-22 | | `{{hdate}}` | date in long format | Sunday, November 21st, 2021 | +| `{{rfc3339}}` | date in RFC3339 format| 2021-11-21T14:30Z+01:00 | | `{{week}}` | week of the year | 46 | | `{{prevweek}}` | previous week | 45 | | `{{nextweek}}` | next week | 47 |