Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/numeroflip/obsidian-auto-template-trigger
An obsidian.md plugin, to automatically trigger a template on new file creation
https://github.com/numeroflip/obsidian-auto-template-trigger
obsidian obsidian-md obsidian-plugin
Last synced: 21 days ago
JSON representation
An obsidian.md plugin, to automatically trigger a template on new file creation
- Host: GitHub
- URL: https://github.com/numeroflip/obsidian-auto-template-trigger
- Owner: numeroflip
- License: mit
- Created: 2023-04-23T11:40:28.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-19T22:23:10.000Z (about 2 months ago)
- Last Synced: 2024-11-19T23:25:08.092Z (about 2 months ago)
- Topics: obsidian, obsidian-md, obsidian-plugin
- Language: TypeScript
- Homepage:
- Size: 126 KB
- Stars: 33
- Watchers: 4
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - numeroflip/obsidian-auto-template-trigger - An obsidian.md plugin, to automatically trigger a template on new file creation (TypeScript)
README
# Auto Template Trigger
An [Obsidian](https://obsidian.md) plugin, which automates adding templates to new files.
Automatically apply or prompt for a template when creating a note. Supports assigning templates to folders.
## Behavior
If you have a single template, that will be automatically applied for new files.
If you have multiple templates, a template selector will appear for new files.You can assign templates to folders, so the assigned template will be automatically applied, when a note is created inside the folder. (instead of the template selector)
## Settings
You can assign specific templates to a folder.
If a file is created inside a specified folder, the assigned template will be automatically applied.The most specific folder path will take precedence.
This means, if you assign a template for the root folder ("/"), all the new files will automatically apply that template.
Still, you can assign other templates for folders to overwrite that behavior.If you _only_ want to use folder-specific templates and do not want to be prompted to pick a template, use the `Disable prompt` option.
## Prerequisites
It depends on the core `Templates` plugin to be enabled, and that a a templates folder is assigned.
Make sure you have one or more template.## Why it was made
I found myself manually triggering a template, whenewer I created a note, which was a bit cumbersome, especially on mobile.
Now, a prompt is automatically triggered, which simplifies my workflow.It probably won't work well with other plugins eg Templater or daily notes.