Magic Title Prefix

unlisted

by Kolja Sam

Guide note titles to start with approved prefixes and validate content.

Updated 2mo ago0BSD
View on GitHub

Magic Title Prefix

An Obsidian plugin that enforces note title prefixes and validates note content against configurable rules.

Features

  • Define rules in a markdown table template specifying:
    • Prefix: Symbol the title must start with (e.g., , , 📖)
    • Required content: Strings that must appear in the note
    • Forbidden content: Strings that must not appear in the note
  • Toolbar appears at the bottom of notes without a prefix, allowing quick prefix assignment
  • Command to open a random non-compliant note for review

Usage

  1. Run "Create default template" command to generate the rules template
  2. Edit the template table to define your prefixes and rules
  3. Set the template path in plugin settings
  4. Use "Open random magic title prefix" to find notes that need attention
  5. Click toolbar buttons to add prefixes to untitled notes

Template Format

| `⬡`  | Shape  | `- **`       |             |
| `◊`  | Entity | `- *`        |             |
| `📖` | Book   |              | `location:` |

Columns: prefix | label | required content | forbidden content

Installation

Copy main.js, styles.css, and manifest.json to your vault's .obsidian/plugins/obsidian-magic-title-prefix/ folder.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.