Templater Obsidian Plugin
Templater is a template language that lets you insert variables and functions results into your Obsidian notes. It will also let you execute JavaScript code manipulating those variables and functions.
Demonstration
Documentation
Check out the complete documentation to start using Templater.
Warning
Templater allows you to execute arbitrary JavaScript code and system commands.
It can be dangerous to execute arbitrary JavaScript code or system commands from untrusted sources. Only run code / commands that you understand, from trusted sources.
Because Obsidian is an offline application, it can be dangerous only if you copy-paste and blindly use a code snippet / command / template from an untrusted source.
Template Showcase ? Questions ? Ideas ? Help ?
Go to the discussion tab to ask and find this kind of things.
Don't be shy and share your templates created using Templater in the Template Showcase category. Use gists to share the template file. I'm curious of what the community has come up with, and I'm sure I'm not the only one.
Utilities
A list of useful tools to use along Templater:
- If you want to bind a specific template to a specific hotkey, you can use the obsidian-hotkeys-for-templates plugin.
Resources
A list of useful resources about Templater:
- @GitMurf quick demo
How to setup and run your first Templater JS script
: SilentVoid13#187 - @shabegom
How To Use Templater JS Scripts
: https://shbgm.ca/obsidian/docs/how-to-use-templater-js-scripts - @chhoumann Templates showcase: https://github.com/chhoumann/Templater_Templates
- @tallguyjenks video: https://youtu.be/2234DXKbNgM?t=1944
- @ProductivityGuru videos: https://www.youtube.com/watch?v=cSawi0tYPMM
Alternatives
Contributing
Feel free to contribute.
You can create an issue to report a bug, suggest an improvement for this plugin, ask a question, etc.
You can make a pull request to contribute to this plugin development.
Go here to get more informations on how to develop a new internal variable / function.
License
Templater is licensed under the GNU AGPLv3 license. Refer to LICENSE for more informations.
Support
If you want to support me and my work, you can sponsor me on Github (preferred method) or donate something on Paypal.