Templates in Bear - an Apple Shortcut
Here is a new (updated) shortcut to use and expand templates.
Runs on Mac, iPad and iPhone.
Bear Templates - Apple Shortcuts
All templates are written and stored in Bear as regular notes, and this shortcut ask you to choose one, and {{keys}} in use will get expanded (filled in).
See sample template note below!
Sample Template to use with this shortcut.
# Sample Template
#.template
Notes with this tag will appear in template list, but will be removed from new notes.
Important! This tag should be placed on it’s own line!
## if you want to include a tag with current month or date, include:
{{datetag}}
(Set date format in shortcut)
## Current Date
Today: {{date}} (place anywhere in note)
(Set date format in shortcut)
## Expandable Keys
Keys will be expanded to corresponding values if they appear in dictionary at top of shortcut (place anywhere in note).
{{name}}
{{email}}
{{address}}
{{phone}}
{{anything)
If dictionary keys do not appear in template, they are just ignored.
## Hidden (escaped) tags in template, that will be revealed in new notes after running shortcut:
\#my-tag1 \#my new tag2#