I suppose only the last option is problematic, the first 2 can easily be handled with a tag.
EDIT
Maybe you should create a poll? It's easier for users to just click a button rather than type a whole message so hopefully you'll get more responses this way.
Thanks for the updated plan, but note that removing the feature from the codebase may take a bit more time than you think as there will be a review process.
It's also key to your project because if the feature is still there by the time you finish, there's no need for the plugin at all. So what I would suggest is to create a pull request to remove the feature as soon as you can. That will get things started, then the reviewing process can happen in parallel to your other tasks.
Once it's ready it will be merged, but it will be in a separate branch so that we can test without having to make it part of an official release (or pre-release).
All good here, thanks for a such a convenient and well implemented plug-in.
Do custom variable definitions need particular fencing? I directly copied your example, and it doesn't work as expected.
Test template
Date: {{date}}
Time: {{time}}
Datetime: {{datetime}}
Custom Datetime: {{#custom_datetime}}MMMM YYYY, h:mm:ss a{{/custom_datetime}}
Date of beginning of week: {{bowm}}
# Create custom variable example
---
name: text
color: enum(Red, Yellow, Green)
---
Hi there, {{ name }}. Your favorite color is {{ color }}. This note/to-do was created on {{ datetime }}.
Result
Date: 2021-08-07
Time: 7:41 PM
Datetime: 2021-08-07 7:41 PM
Custom Datetime: August 2021, 7:41:54 pm
Date of beginning of week: 2021-08-02
# Create custom variable example
---
name: text
color: enum(Red, Yellow, Green)
---
Hi there, . Your favorite color is . This note/to-do was created on 2021-08-07 7:41 PM.
I'm using joplin Joplin 2.1.9 (prod, win32)
I'm told when I try to upgrade that I have the latest version.
When I try and install your template I get this notice:
You have text bevor the fence block, witch starts and ends with ---.
In the exaple is the folowing code:
---
name: text
color: enum(Red, Yellow, Green)
---
Hi there, {{ name }}. Your favorite color is {{ color }}. This note/to-do was created on {{ datetime }}.
Thanks, @JackGruber, all works fine now. I didn't understand the custom variables must be declared right at the start of the note and --- is the fence mark used.
You can do this from Tools > Templates > Create note from template or set a template as your default note template if you want to use a keyboard shortcut. I opened a request for a keyboard shortcut for the general case.
It seems the date is picking up the setting from Joplin. Preferences > General > Date format. Note, I had to restart Joplin to get this to be applied.
Not sure about these, but I agree both would be nice