feat: Add sorting feature [closes #85]

* feat: Add sorting feature #85

* fix: Remove the lines that should not be sorted
This commit is contained in:
Yuta Katayama
2022-05-01 04:39:48 +09:00
committed by GitHub
parent 10df87abae
commit b3a58db72e
3 changed files with 36 additions and 5 deletions

View File

@@ -92,6 +92,8 @@ telekasten.setup({opts})
-- markdown: ![](image_subdir/xxxxx.png)
image_link_style = "wiki",
-- default sort option: 'filename', 'modified'
sort = "filename",
-- specific note templates
-- set to `nil` or do not specify if you do not want a template
@@ -245,6 +247,16 @@ telekasten.setup({opts})
Default: 'markdown'
*telekasten.settings.sort*
sort: ~
Order the notes by the option.
Valid options are:
- 'filename'
- 'modified'
Default: 'filename'
*telekasten.settings.follow_create_nonexisting*
follow_creates_nonexisting: ~
Flag that determines whether non-existing notes should be created when