mirror of
https://github.com/Ascyii/telekasten.nvim.git
synced 2026-01-01 06:14:23 -05:00
Improve note filename formatting options
Provide the user with the choice between: "title" (default) - Title only "uuid" - UUID only "uuid-title" - Title prefixed by UUID "title-uuid" - Title suffixed with UUID
This commit is contained in:
@@ -242,8 +242,12 @@ require('telekasten').setup({
|
||||
-- markdown file extension
|
||||
extension = ".md",
|
||||
|
||||
-- prefix file with uuid
|
||||
prefix_title_by_uuid = false,
|
||||
-- Generate note filenames. One of:
|
||||
-- "title" (default) - Use title if supplied, uuid otherwise
|
||||
-- "uuid" - Use uuid
|
||||
-- "uuid-title" - Prefix title by uuid
|
||||
-- "title-uuid" - Suffix title with uuid
|
||||
new_note_filename = "title",
|
||||
-- file uuid type ("rand" or input for os.date()")
|
||||
uuid_type = "%Y%m%d%H%M",
|
||||
-- UUID separator
|
||||
|
||||
Reference in New Issue
Block a user