hans / obsidian-citation-plugin

Obsidian plugin which integrates your academic reference manager with the Obsidian editor. Search your references from within Obsidian and automatically create and reference literature notes for papers and books.
MIT License
1.04k stars 76 forks source link

{{note}} does not work for my #233

Open modernhero666 opened 1 year ago

modernhero666 commented 1 year ago

I put the {{note}} to my template, when I open literature there is nothing


title: {{title}} authors: {{authorString}} year: {{year}}

Notes

{{eprint}} {{abstract}} {{note}}

orionpilot commented 1 year ago

What do you mean by {{note}}? It is unclear what you expect that to be (note from the bibtex entry, literature note you made in obsidian, annotation you made in a pdf that you want to bring into obsidian, etc). Having that information would help solve your issue.

Having said that, the {{note}} attribute picks up the note attribute of the bibtex entry. So if it's empty/does not exist, that's one reason why nothing shows up when you load the literature note.

For example, with this test entry, having {{note}} in the citations plugin template would add the This is a really cool paper to your literature note in obsidian.

@Article{citekey,
   author    = {LastName, FirstName},
   year      = {2023},
   note      = {This is a really cool paper},
   abstract  = {example abstract},
}