Templates in Bear - an Apple Shortcut

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# 

5 Likes

This is great idea. I had something similar but not as much automation and the keys idea. Thank you for putting this up.

1 Like

Thank you :blush:

I have come to realize that the:
{{name}}, {{email}}, {{address}}, {{phone}}, {{anything}} keys are probably not that useful or necessary, since they might as well be typed (“hard coded”) directly in the templates, when needed.

The {{date}} and {{datetag}} are probably more useful.

Please feel free to change, improve and repost this shortcut :nerd_face: