Skip to content

jffaust/obsidian-variables

Repository files navigation

Obsidian Variables

This is a plugin for Obsidian.md that adds the ability to configure variables per vault, similar to traditional environment variables. The variables get replaced during Markdown post-processing so they can change the final HTML output. This can be used to keep absolute file paths generic and re-usable across multiple devices, as seen in the demo below:

demo

Does not work with Live Preview. See this issue for more info.

Documentation

Installation

This plugin is not yet part of the community plugin list so it cannot be installed from Obsidian so it must be installed manually with the following steps:

  1. Go to repo's Releases page
  2. Download main.js, styles.css and manifest.json from the latest release
  3. Move the downloaded files to a new folder inside your plugins folder: VaultFolder/.obsidian/plugins/obsidian-variables/
  4. Go to Community plugins and enable the Variables plugin.

Support

BuyMeACoffee