I can get the Zotero annotations into Obsidian without any issues, but the script breaks when I try to create a new note with my highlighted annotations.
I’m having the same trouble. In the Obsidian Developer Console I get
Templater Error: Template parsing error, aborting. tp.user.header is not a function.
I’ve made the requisite header.js user-defined script and pointed templater to the relevant folder containing it. Problem is, when I hit the Refresh button in Templater’s settings pane I get “Detected 0 User Script(s)”.
I fixed it! I had made the header.js file in Obsidian, and Obsidian added .md to the filename (by default) so that it was in the scripts folder as header.js.md. I quit Obsidian, deleted the “.md” from the filename in the Finder(macOS), rebooted, and it worked. In the preference pane it now reads: