What I’m trying to do
I’ve just discovered the Omnivore community plugin and am really excited to import my Omnivore notes into Obsidian. However I want to use Templater to dynamically generate parts of the YAML (I use various functions, if statements, etc. which work fine in Obsidian proper), but Templater is not being triggered on the Obsidian imports.
Things I have tried
- At first I tried putting the YAML in the advanced YAML template section of the Omnivore plugin; it threw the error that it had to be all on one line; so I did that, but then it still gave parsing errors and did not fetch files
- I tried having blank frontmatter in both the normal and advanced sections in the Omnivore plugin, and including all the templater components in the body where it wasn’t recognizing it as frontmatter anyway, and it fetched files, but Templater was not triggered, the code was just inserted as code
- So to troubleshoot, I removed all YAML and just included a simple templater call in the body (the date) and discovered the issue was more fundamental - Templater fails to trigger on Omnivore import despite being set to trigger on new file creation
Thanks in advance for any suggestions you may have!