Skip to content

LucasOe/obsidian-template-folder

Repository files navigation

Template Folder Plugin

This plugin replaces the "Insert Template" command from the Templates core plugin, to allow for moving files through defining a property.

Warning

With this plugin enabled, using the "Insert Template" command will always replace the entire note with the template, instead of appending/merging like in the core plugin.

Usage

Add a frontmatter property to your template file with the folder path where you want notes to be moved:

---
folder: path/to/destination/folder
---

Create a new note and using the "Insert Template" command. The new note will be moved to the folder specified in the template's frontmatter.

Settings

  • Template Folder Property: The name of the frontmatter property in templates that defines where notes should be moved. Default: folder
  • Remove Property: When enabled, removes the template folder property from the note after applying the template. Default: enabled

Prerequisites

This plugin depends on the core Templates plugin to be enabled.

About

Obsidian plugin to move notes to a folder when applying a template.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors