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.12k stars 83 forks source link

Date Added and Modfied field #262

Open davidRFB opened 10 months ago

davidRFB commented 10 months ago

I would like to know if is possible to add the Date Added and Modifed fields. When inserting the new note. image I am trying to add this into a set of properties in YAML.

Thank you for the help and for the plugin ! David

orionpilot commented 10 months ago

If these are fields of the bibtex entry, this can be done. Use {{entry.data.fields.FIELD}} (see e.g., #100) for any field of the bibtex entry that does not have a "shortcut" version in the instructions. For example, I have the creation date of the entry in as {{entry.data.fields.creationdate}}. Note that this just enters the information as it exists in the bib file (see example in picture).

image

I have not tried to format it like you have, though I suspect using templater is one way to get the formatting.