Expander
Replace variables across your vault using HTML comment markers. Configure key-value pairs in settings, and Expander will automatically substitute them throughout your notes.
Key Features
- Variable Replacement: Define key-value pairs that get expanded throughout your vault
- Dynamic Values: Use function expressions like
now().format("YYYY-MM-DD")for dynamic content - Update Modes: Control when expansions are updated (auto, manual, once, once-and-eject)
- Folder Filtering: Choose which folders to scan or ignore
- Visual Feedback: See mode badges and refresh buttons directly in the editor
- Commands: Replace values in current note or entire vault with a single command
Quick Start
- Install the plugin
- Open Settings → Expander
- Add a replacement (e.g., key:
today, value:now().format("YYYY-MM-DD")) - In your note, add:
<!-- expand: today --><!----> - The value will be automatically inserted between the markers
About
Created by Sébastien Dubois.
If you find this plugin useful, consider supporting my work:
Stay up to date by subscribing to my newsletter.