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

Version Buttons

Meet VekariaMeet Vekaria11 downloads

Increment note-specific major, minor, and patch version properties using buttons or commands.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

A lightweight Obsidian community plugin for incrementing a note's version property. Each note owns its configuration in a version-buttons fenced code block. No dependency on dataview or other external plugins.

Demo

Features

  • One-, two-, or three-component numeric versions (3, 2.4, 2.4.7).
  • User-defined button labels for Major, Minor, and Patch components.
  • Independent button and command enablement for each component.
  • A note-level showButtons switch that hides the entire bar without disabling commands.
  • Contextual native Obsidian commands; users assign their own hotkeys in Settings → Hotkeys.
  • Atomic frontmatter updates through FileManager.processFrontMatter().
  • Strict configuration and existing-version validation; lower-order components reset after an increment.
  • Theme-aware, responsive Reading View controls.

Quick start

  1. Install the plugin in .obsidian/plugins/version-buttons/ (or build it locally.
  2. Add a version-buttons block immediately after the note's YAML frontmatter.
  3. Open the note in Reading View to see the buttons.
  4. Optionally assign shortcuts to Version Buttons: Increment major/minor/patch version component in Obsidian's Hotkeys settings.

Example

---
version: "1.4.8"
---

```version-buttons
{
  "digits": 3,
  "property": "version",
  "initialVersion": "1.0.0",
  "showButtons": true,
  "components": [
    { "name": "Major", "showButton": true, "enableCommand": true },
    { "name": "Minor", "showButton": true, "enableCommand": true },
    { "name": "Patch", "showButton": true, "enableCommand": true }
  ]
}
```

# Note content starts here

Behaviour

  • Incrementing component 1 increments the first number and resets all following numbers to zero.
  • Incrementing component 2 increments the second number and resets the third number to zero.
  • Incrementing component 3 increments only the third number.
  • If the configured frontmatter property is missing, initialVersion is used as the starting value and the requested increment is then applied.
  • Existing values with the wrong number of components, non-numeric components, or unsafe integers are rejected without being overwritten.
  • The property field defaults to version and must be a simple YAML frontmatter key.
  • showButtons: false suppresses the entire rendered bar. It does not change command enablement.
  • Each component's showButton and enableCommand flags are independent.

Compatibility and limitations

  • Rendering is currently supported in Reading View using Obsidian's public Markdown code-block processor API.
  • Live Preview and Source mode do not render the button bar. Commands work in Markdown Source mode because they read the active editor's Markdown source.
  • Desktop and mobile are targeted.

Development

Requirements: Node.js 18.18+ and npm.

npm install
npm run dev       # watch and rebuild main.js
npm run lint      # ESLint including Obsidian-specific rules
npm run build     # strict TypeScript check and production bundle
npm run check     # lint + production build

For local testing, copy manifest.json, generated main.js, and styles.css into:

<Vault>/.obsidian/plugins/version-buttons/

Then enable Version Buttons in Obsidian's Community Plugins settings and reload the app after rebuilding.

Release checklist

  1. Update version in manifest.json and package.json together.
  2. Add the version/minimum-Obsidian pair to versions.json.
  3. Run npm run check.
  4. Create a Git tag matching the manifest version (without a v prefix).
  5. Attach main.js, manifest.json, and styles.css to the GitHub release.
  6. Test installation and behaviour in a clean vault before submitting to the community plugin list.

Versioning

Update the version in package.json and manifest.json together. Use semantic versioning:

  • 0.x.y while the feature set and public behavior are evolving.
  • 1.0.0 when the core feature set is stable and tested across supported Obsidian versions.

Support

If you find issues or have feature requests, open an issue in the repository.

License

Apache License 2.0

Licensed under the Apache License, Version 2.0 (the “License”); may not use this file except in compliance with the License.

NOTICE

Version Buttons Copyright (c) 2026 MEET VEKARIA

Required attribution:

  • "Version Buttons (Obsidian Plugin)" by MEET VEKARIA.
  • Please retain this NOTICE file in redistributions, and display attribution in documentation or “About/credits” screens where third‑party notices normally appear.

Additional notices:

  • Portions may include third‑party components; see their respective licenses in the distribution (if any).
  • The contents of this NOTICE file are for informational purposes only and do not modify the License.

CREDITS

Created with ❤️ Meet Vekaria.

If you found this useful, I invite you to:

Buy Me a Coffee: "https://buymeacoffee.com/meet.v",

Be a GitHub Sponsor: "https://github.com/sponsors/meet-v"

HealthExcellent
ReviewSatisfactory
About
Increment note version frontmatter with clickable buttons and assignable commands. Support 1–3 numeric components, custom component labels, per-note show/hide, atomic frontmatter updates, and automatic reset of lower-order components when a higher component increments.
PropertiesCommandsInterface
Details
Current version
1.0.0
Last updated
Yesterday
Created
Yesterday
Updates
1 release
Downloads
11
Compatible with
Obsidian 1.13.0+
Platforms
Desktop, Mobile
License
Apache-2.0
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
GitHub Sponsors
Author
Meet VekariaMeet Vekariameet-v
github.com/meet-v
GitHubmeet-v
  1. Community
  2. Plugins
  3. Properties
  4. Version Buttons

Related plugins

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Note Toolbar

Add customizable toolbars to your notes.

Force note view mode

Force the view mode for a note by using frontmatter: YAML block with 'obsidian_ui_mode' as key.

Commander

Customize your workspace by adding commands everywhere, create macros and supercharge your mobile toolbar.

Lean Terminal

Embedded terminal panel powered by xterm.js and node-pty - no external windows.

Front Matter Title

Define a title in frontmatter to be displayed as the filename.

Hotkey Helper

Easily see and access any plugin's settings or hotkey assignments (and conflicts) from the Community Plugins tab.

Tray

Run Obsidian from the system tray for customisable window management and global quick notes.

Refresh Any View

Allows to refresh any view without reopening it.

Metadata Hider

Hide specific metadata property or if its value is empty.