This commit is contained in:
Rene Schallner
2021-12-08 19:35:58 +01:00
parent e710d725fe
commit 7f15ec4b23
2 changed files with 21 additions and 0 deletions

View File

@@ -227,6 +227,9 @@ require('telekasten').setup({
close_after_yanking = false,
insert_after_inserting = true,
-- make syntax available to markdown buffers and telescope previewers
install_syntax = true
})
END
```
@@ -482,6 +485,10 @@ The only symbols allowed are:
Numbers are allowed in tags, as long as a tag is not purely numeric. For example, #1984 is not a valid tag, but `#y1984`
is.
**Note**: For proper highlighting, the `install_syntax` option is set to `true` by default. This automatically sets the
syntax of filetype `markdown` to `telekasten`, and also registers this syntax with telescope previewers for `.md` files.
### 2.2 Note templates
The functions `goto_today`, `goto_thisweek`, `find_daily_notes`, `find_weekly_notes`, and `follow_link` can create