What I’m trying to do
I have meeting notes that include a section titled Attendees, where I link to individual people notes. I’d like to automatically copy the list of linked people from this section into the Attendees
property in the YAML frontmatter.
Things I have tried
- Created a Templater user script (
sync_attendees_to_yaml.js
) to extract[[linked attendees]]
from the note body and update the YAML frontmatter. - Attempted to trigger it via a Templater button inside the note → caused crashes during note creation.
- Tried using the Buttons plugin to run the script → plugin error prevented button execution.
- Switched to QuickAdd, created a macro to run the script → found QuickAdd cannot run Templater
.js
user scripts. - Tried inserting the logic into a
.md
file as a Templater template → it pasted code instead of executing.
Appreciate any help that can be given