Sébastien Dubois276 downloadsReplace variables across your vault using HTML comment markers. Supports static values and dynamic functions.
Replace variables across your Obsidian vault using HTML comment markers. Configure key-value pairs in settings, and Expander will automatically substitute them throughout your notes, and keep those updated too.
now().format("YYYY-MM-DD") for dynamic contentYou can also browse the catalog on the Obsidian Community website.
If the plugin isn't listed in the community catalog yet (or you want a specific version):
main.js, manifest.json, and styles.css from the latest release.<Vault>/.obsidian/plugins/expander/.BRAT (Beta Reviewers Auto-update Tool) installs plugins straight from a GitHub repo and keeps them updated automatically. Use this if you want the latest commits — things might break.
https://github.com/dsebastien/obsidian-expander.today, value: now().format("YYYY-MM-DD"))<!-- expand: today -->
Just add an opening tag - the closing tag is added automatically:
<!-- expand: key -->
After expansion:
<!-- expand: key -->value<!---->
Update mode variants:
<!-- expand: key --> - Auto mode (updates on file change)<!-- expand-manual: key --> - Manual mode (update via command only)<!-- expand-once: key --> - Once mode (fills once, never updates)<!-- expand-once-and-eject: key --> - Once-and-eject mode (fills once, removes markers)Dynamic values using function expressions:
| Function | Description | Example |
|---|---|---|
now() |
Current date/time | now().format("YYYY-MM-DD") |
today() |
Today at midnight | today().format("MM/DD/YYYY") |
format(pattern) |
Format date | now().format("HH:mm") |
lower() |
Lowercase | now().format("MMMM").lower() |
upper() |
Uppercase | now().format("MMMM").upper() |
trim() |
Trim whitespace | |
replace(old, new) |
Replace text | replace("-", "/") |
Full documentation available at docs/.
See DEVELOPMENT.md for build instructions, testing setup, and contribution guidelines.
MIT License - see LICENSE for details.
Created by Sébastien Dubois (@dSebastien)
| Plugin | What it does |
|---|---|
| Agentic Resource Discovery Server | Local-first Agentic Resource Discovery publisher and registry that serves your AI skills and tools to agents over a local HTTP and MCP server |
| Book Exporter | Export books (one manifest note + linked chapter notes) to EPUB and PDF via Pandoc |
| Bookshelf Base | Display your notes as a visual bookshelf via a custom Bases view |
| Dataview Serializer | Serialize Dataview queries to Markdown, and keep the Markdown representation up to date |
| Ghost Publish | Publish your vault notes to a Ghost blog with configurable presets for tags, newsletters, and frontmatter conventions |
| Graph Explorer Base View | A custom Bases view that renders notes as an interactive force-directed graph with explored/unexplored tracking |
| Hidden Folders Access | Index hidden root-level folders (e.g. .claude) so they appear in the file tree, metadata cache, and Bases |
| Journal Bases | Custom Base views for journaling and periodic reviews |
| Kanban Action Planner | Render your notes as configurable Kanban boards and calendars inside Bases, with statuses, ordering, relationships, and scheduling |
| Life Tracker | Capture and visualize the data that matters in your life |
| Note Village | A 2D pixel art village where your notes become villagers you can explore and chat with using AI |
| Obsidian Starter Kit | Adds strong typing support and powerful automation support for notes |
| Remarkable Synchronizer | Connect to the reMarkable cloud, list, download, and sync notebook pages as images |
| Replicate | Use AI models with ease via the Replicate.com integration |
| REST and MCP server | Exposes CLI commands as RESTful API endpoints and an MCP server for AI tool integration |
| Time Machine | Browse, compare, and restore previous versions of your notes using built-in file-recovery snapshots |
| Transcriber | Transcribe images to markdown using Ollama vision models |
| Typefully | Publish social media posts with ease using the Typefully integration |
| Update Time | Automatically update front matter to include creation and last update times |
Everything I build is documented in my newsletter and on my YouTube channel.
To stay up to date about this plugin, Obsidian in general, Personal Knowledge Management and note-taking:
If this plugin is useful to you, here are the best ways to support my work ❤️:
Found a bug or have an idea? Open an issue.