This is a plugin that allows you to use Handlebars templates in Obsidian.
You can check the syntax at https://handlebarsjs.com/guide/.
Suppose you have the following Handlebars template:
#### {{title}}
> [!{{t1}}]
> {{t2}}
Hello world!
{{#each alist}}
- {{this}}
{{/each}}To use this, enter the following in Obsidian:
### Example
The code block below will be changed
```hb
tpl: test1
title: Main Title
t1: For example
t2: "**This** is also possible!"
alist:
- One
- Two
- Three
```
When you do this, the template will be applied as follows:
### Example
The code block below will be changed
#### Main Title
> [!For example]
> **This** is also possible!
Hello world!
- One
- Two
- Three
Hope you find it useful.
For instructions on how to write templates, please refer to How to Write Templates.