plugin-templates icon indicating copy to clipboard operation
plugin-templates copied to clipboard

Feature request: Create links to matching notes

Open shbach opened this issue 2 years ago • 0 comments

Would it be possible to create links to notes that are an exact match for existing notes?

For example, every week I use the template plugin to create a weekly review note that is titled in a standard way. i.e. template_title: {{#custom_datetime}}GGGG-[W]WW{{/custom_datetime}} review. Also, every day I create a daily note (again using a template) and here I want to automatically link it to the weekly review note. So I want something like this [[{{#custom_datetime}}GGGG-[W]WW{{/custom_datetime}} review]] in my daily note template to automatically create a link to the weekly review note. Whatever is in enclosed in double brackets [[ ]] should be used to do a match for an existing note and create a note link to it. So it sort of does what this plugin does but less manually and the link will only be one way (no link back).

Also, if #53 is implemented, in the daily note, I could also do [[{{yesterday}} daily note]] to link to the previous day's note (assuming I always title my daily notes using template_title: {{date}} daily note).

shbach avatar Feb 07 '22 00:02 shbach