Modify Export MD File Name Template to replace hyphens with spaces #1164
-
Hi there, I am trying to export and sync md files to obsidian. My literature notes only have names like "Müller 2019". I have modified the export template to not include the item key, this leaves me with hyphens in the name, e.g. "-Müller-2019-". How can I change the template so that the hyphens are replaced by spaces, so that the name can be "Müller 2019"? Is this possible? I am not familiar with the programming language used. If I manually change the name in obsidian, the sync stops, even though the item key is mentioned in the yaml data. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Any non-alphabet character will be converted to Btw, I don't really suggest you use this format as the file name. If you have two notes under the same regular item, there will be two |
Beta Was this translation helpful? Give feedback.
Any non-alphabet character will be converted to
-
in the filename.Btw, I don't really suggest you use this format as the file name. If you have two notes under the same regular item, there will be two
author-year.md
and they will try to overwrite each other.