+1
It could perhaps be something like how IDEs do code-snippets.
Maybe you can see a drop down of available snippets when you type a special character like ‘/’ with some customisable keys. For example /br would insert the code snippet for notes on a book that you’re reading:
I would imagine we create beforehand, a code snippet for book notes that already contains some sections and commonly used tags, and some macros. Something like:
# $highlighted
Started reading: [[$today]]
tags: [[book notes]] [[reading]] $cursor
# Summary
# Key points
# Things to look up
So to invoke the snippet you first type out the book title,
The book title, then highlight it and pressing / would show a dropdown next to the cursor of available snippets. By further typing ‘b’, and ‘r’, it would narrow the available snippets to the the above snippet by matching the pre-configured pattern /br.
Pressing enter would insert the text from the snippet and replace all the macros with relevant values. For example,
-
$highlighted would place the text that was highlighted while invoking the code-snippet (the book title).
-
$today replaced with today’s date (in the format specified under the daily notes plugin?)
-
$cursor is where the cursor ends up after inserting the snippet.