[BUG] Book Search info not auto-filling after Properties update
TinkerSquirrel opened this issue ยท 4 comments
I have several Properties set up for my book notes that are supposed to autofill using the plugin's data. Since the most recent Properties update, that's not happening. This is what the frontmatter looks like in source mode:
cover: "{coverUrl}"
title: "{title}"
author: "{author}"
category: "{category}"
And this is what's outputted in the Properties field when I create a new book note:
Have I messed up the formatting, or is this a plugin issue?
It may be
cover: "{{coverUrl}}"
title: "{{title}}"
author: "{{author}}"
category: "{{category}}"
you can use double brackets instead of single brackets for generate properties.
Ah, it was the double brackets that did the trick. Weird that they didn't carry over from the old YAML when Properties was introduced. Thanks!
All the template variables are singular, not plural. If you change it to {{author}} it should work.
All the variables are listed here if you need to double check any others: https://github.com/anpigon/obsidian-book-search-plugin#template-variables-definitions