mb-yul156 downloadsReference tags with readable labels that open native tag search on click.
Write tag references with display labels. Click to search.
If this plugin saves you time, a coffee is always appreciated ☕
Obsidian tags are powerful, but there's no built-in way to reference a tag inline with a human-readable label. This plugin introduces a simple syntax that bridges tags and wikilinks:
[[#tag-name|Display Label]]
In Reading view, this renders as a clickable label. Clicking it opens Obsidian Search pre-loaded with tag:#tag-name, showing every note associated with that tag — including notes that reference it via this syntax.
Write [[#tag|Label]] anywhere in your note — #tag is the searchable target, Label is what gets displayed.
Tags render as clickable labels. Clicking one searches across all notes that share it — here returning 5 results across two notes.
[[#TAG|LABEL]]
| Part | Rules |
|---|---|
TAG |
Required. No spaces. Letters, digits, -, _, /, Unicode. |
LABEL |
Required. Spaces and Unicode allowed. |
[[#backend|Backend]]
[[#work/dev|Web Development]]
[[#ui-ux|UI/UX]]
[[#project-alpha|Project Alpha]]
[[#tag with spaces|Label]] ← space in tag
[[#tag]] ← missing label
[[tag|Label]] ← missing leading #
[[#|Label]] ← empty tag
[[#tag|]] ← empty label
Inline Tagmain.js, manifest.json, and styles.css into your vault's .obsidian/plugins/inline-tag/ folder| Setting | Default | Description |
|---|---|---|
| Live Preview decorations | On | Render tokens as styled labels in Live Preview; the cursor reveals raw syntax inside a token. Desktop only — not available on mobile. |
| Show canonical tag on hover | On | Tooltip shows tag:#name on hover |
| Style mode | Link | Link = styled like a wikilink · Tag pill = styled like a native tag |
| Debug logging | Off | Logs to DevTools console (Ctrl+Shift+I) |
Clicking a rendered label opens Obsidian Search with:
(tag:#tag-name OR "[[#tag-name|")
This finds:
#tag-name Obsidian tagBoth usages are discoverable from a single click.
Start a token with [[# and type a few characters — a suggestion list filtered from your vault's existing tags appears immediately. Select one to insert [[#tagname| with the cursor ready for the label.
Select any text, right-click, and choose Wrap as inline tag. A fuzzy-search modal lets you pick the tag; the selection becomes the label.
Issues and PRs are welcome on GitHub.
To build locally:
git clone https://github.com/MB-YUL/obsidian-inline-tag-plugin
cd obsidian-inline-tag-plugin
npm install
npm run dev # watch mode
npm run build # production build
Copy the output (main.js, manifest.json, styles.css) into your vault's plugin folder.
MIT © MB-YUL