mProjectsCode / obsidian-meta-bind-plugin

A plugin for Obsidian to make your notes interactive with inline input fields, metadata displays, and buttons.
https://www.moritzjung.dev/obsidian-meta-bind-plugin-docs/
GNU General Public License v3.0
527 stars 41 forks source link
obsidian obsidian-md obsidian-plugin

Obsidian Meta Bind Plugin

A plugin for Obsidian to make your notes interactive with inline input fields, metadata displays (view fields), and buttons.

Meta Bind allows you to create input and view fields inside your notes. Those input and view fields can then be bound to frontmatter properties, which keeps them in sync with those frontmatter properties. This allows you to edit and view your frontmatter properties inside your notes.

For example, you can create a toggle inside your note, that is bound to a frontmatter property named done, with this simple inline code block INPUT[toggle:done]. When you click the toggle, the done property will switch between true and false.

To learn more, check out the docs.

Demo

Docs

The docs for the plugin are available here. The plugin provides an offline FAQ/Help page as well, which can be accessed via a command or the plugins settings page.

Problems, unexpected behavior or improvement suggestions?

You are more than welcome to open an issue on GitHub

Installation

Obsidian Marketplace (Recommended)

  1. Open Settings -> Community Plugins in your vault
  2. Click on the Browse button in the Community plugins section
  3. Search for Meta Bind
  4. Select Meta Bind and click first Install, then Enable

BRAT (For Canary Releases)

  1. Install and enable the BRAT plugin
  2. Run the BRAT: Plugins: Add a beta plugin for testing command
  3. Enter https://github.com/mProjectsCode/obsidian-meta-bind-plugin into the text field
  4. Click on Add Plugin

License

GPL-3.0

Credits

I want to thank the following people:

Contributions

Thank you for wanting to contribute to this project.

Contributions are always welcome. If you have an idea, feel free to open a feature request under the issue tab or even create a pull request.

Notes for Contributors

The plugin uses Bun instead of Node.js/NPM to manage dependencies. To install the dependencies, run bun install and bun run pack:i in the root directory of the project.

bun run check should run successfully before creating a pull request.