Auto-Template New Note

unlisted

by Samantha Leck

Automatically applies a configured template to newly created empty Markdown notes.

Updated 29d agoMIT
View on GitHub

Auto-Template New Note

Auto-Template New Note is an Obsidian plugin that applies one configured template to every newly created empty Markdown note.

Behavior

  • Applies to all newly created .md files in the vault.
  • Never overwrites non-empty notes.
  • Treats whitespace-only notes as empty.
  • Ignores non-Markdown files.
  • Ignores the configured template file itself.
  • Supports {{date}}, {{time}}, and {{title}} placeholders.

Placeholders

The plugin replaces these placeholders when it applies your template:

{{date}}  -> current date as YYYY-MM-DD
{{time}}  -> current time as HH:mm
{{title}} -> new note title

Settings

Set the template path in plugin settings. Example:

Templates/Standard.md

The setting is saved even if the file does not exist yet, so you can configure the plugin before creating the template file.

Manual Command

Use Apply configured template to current note from the command palette to apply the configured template to the active empty Markdown note.

Creator

Creator: Samantha Leck

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.