make uuid more robust

This commit is contained in:
lambtho12
2022-01-27 12:04:39 +01:00
parent c1008bff22
commit 767e6dc0c4
3 changed files with 39 additions and 8 deletions

View File

@@ -68,9 +68,12 @@ telekasten.setup({opts})
extension = ".md",
-- prefix file with uuid
prefix_title_by_uuid = true,
prefix_title_by_uuid = false,
-- file uuid type ("rand" or input for os.date such as "%Y%m%d%H%M")
uuid_type = "%Y%m%d%H%M",
-- UUID separator
uuid_sep = "-",
templates = '/path/to/directory', -- path to templates
extension = '.file extension', -- file extension of note files
@@ -200,6 +203,12 @@ telekasten.setup({opts})
Default: '%Y%m%d%H%M'
*telekasten.settings.uuid_sep*
uuid_sep: ~
Separator between UUID and title in filaneme.
Default: '-'
*telekasten.settings.image_subdir*
image_subdir: ~
Path to the directory where pasted images should go to. Accepts