/headr

adds frontmatter automagically to obsidian markdown files

Primary LanguageTypeScriptGNU Affero General Public License v3.0AGPL-3.0

headr

headr is a plugin for Obsidian (https://obsidian.md) that automagically adds frontmatter to markdown files.

TO DO

  • make frontmatter customizable
  • add warnings for misformatted frontmatter

Local Development

At a minimum you need main.js, styles.css, manifest.json to have a working plugin.

  1. Create a new Obsidian Vault for testing purposes.
  2. Clone this repo into the .obsidian/plugins/your-plugin-name folder.
  3. Run bun i and bun run build to get started.

![TIP] To continuously build the project run bun run dev.

![WARNING] Make sure to check code quality! bunx eslint main.ts

Releasing a new version.

A new release needs to have changes in manifest.json and package.json.

  1. Update manifest.json with your new minAppVersion and the minimum Obsidian version required .
  2. Run bun version patch|minor|major.

Adding your plugin to the community plugin list

API Documentation

See https://github.com/obsidianmd/obsidian-api