feat: add filename_small_case (#344)

Add an option to cast the new filename to lowercase. Closes #311.
This commit is contained in:
Ethan Rooke
2024-10-13 07:54:31 -05:00
committed by GitHub
parent ae6473da3d
commit c1c7a5d563
2 changed files with 19 additions and 0 deletions

View File

@@ -309,6 +309,19 @@ telekasten.setup({opts})
Default: `nil`
*telekasten.settings.filename_small_case*
filename_small_case: ~
When the note title is used within the filename, i.e.
|new_note_filename| contains 'title', the tile will be
made lowercase.
e.g. if set to true, '20230103-My New Note Title.md' would instead
become '20230103-my new note title.md'
If set to `false`, no substitution will occur.
Default: `false`
*telekasten.settings.image_link_style*
image_link_style: ~
Style of links to insert when pasting an image.