Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Micro templates

epszawepszaw3k downloads

Flexible embedded micro templates powered by Javascript functions.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates4

The plugin allows to use templates stored inside your vault as text snippets.

Usage

  1. Create a folder with templates inside your vault or select an existing one.
  2. Use Ctrl/Cmd + P to open the command palette and select Micro temlates: select source folder (or set it manually in the plugin settings).
  3. Then, use Ctrl/Cmd + P to open the command palette and select Micro temlates: insert template anywhere you want.

Features

The plugin uses ejs template engine to compile templates. It means that you can use any javascript code inside your templates.

Additionaly it provides dayjs to use it as is right in the templates:

<%= d().format("YYYY-MM-DD") %>

Use $cur marker string to mark place where cursor should be placed after template insertion:

This is a template cursor should be between these [ $cur ] bkackets.
66%
HealthFair
ReviewSatisfactory
About
Use templates stored in your vault as reusable text snippets and insert them anywhere in your notes. Compile templates with embedded JavaScript via the EJS engine and call dayjs using d() for date formatting. Place $cur in a template to set the cursor position after insertion.
TemplatingDatesDevelopers
Details
Current version
1.0.3
Last updated
3 years ago
Created
3 years ago
Updates
4 releases
Downloads
3k
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
epszawepszaw
epishev.me
GitHubepszaw
  1. Community
  2. Plugins
  3. Templating
  4. Micro templates

Related plugins

Weread

Sync Tencent Weread highlights and annotations.

Periodic Notes

Manage your daily, weekly, and monthly notes.

LifeOS

Life management system.

Journals

Manage your journals.

CustomJS

Reuse custom JavaScript across desktop and mobile.

Calendar

Explore your daily notes.

Persian Calendar

Persian Calendar for managing periodic notes based on persian solar (shamsi) calendar.

Local REST API & MCP Server

Unlock your automation needs by interacting with your notes over a secure REST API.

QuickAdd

Quickly add new notes or content to your vault.

Templater

Create and use dynamic templates.