weichenw / obsidian-hypothesis-plugin

An Obsidian.md plugin that syncs highlights from Hypothesis.
MIT License
235 stars 20 forks source link

[Feature request] Settings option to customise file naming pattern #49

Open moaschulz opened 2 years ago

moaschulz commented 2 years ago

Thanks a lot for this great plugin! 👏

Would it be possible, though, to provide an option in the settings to customise how file names of imports are generated? As far as I can tell, this currently is essentially the {{title}} variable cleansed of forbidden characters. However, if one has several workflows for generating source notes in place, it may be valuable to facilitate sticking to a joint naming convention. Ideally, Nunjucks could be used in the specified naming pattern?

For reference, this is what such an option looks like in the settings of the Zotero Desktop Connector plugin: grafik