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

Frontmatter Metadata Link Classes

zmeeeeevazmeeeeeva326 downloads

Adds classes to internal links based on frontmatter metadata.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

Enhance your Obsidian links by automatically adding classes based on frontmatter metadata! Style links dynamically using your custom CSS rules.

✨ Features

  • Automatic class assignment from page frontmatter metadata.
  • Handles boolean, string, and array metadata keys.
  • Target links with CSS like .link-publish-true or .link-tags-todo.

✨ How It Works

Given a note with frontmatter metadata:

draft: false
publish: true
danger: true
tags: ['todo', 'hit']
type: 'lorem-ipsum'

All internal links of this note will receive the following classes:

.link-publish-true
.link-danger-true
.link-tags-todo
.link-tags-hit
.link-type-lorem-ipsum

Simply target these in your custom CSS snippets.

73%
HealthGood
ReviewCaution
About
Add CSS classes to internal links based on a note’s frontmatter metadata. Handle boolean, string, and array keys to create predictable classes (e.g. .link-publish-true, .link-tags-todo, .link-type-lorem-ipsum) for styling via custom CSS.
LinksCSSProperties
Details
Current version
1.0.0
Last updated
12 months ago
Created
12 months ago
Updates
1 release
Downloads
326
Compatible with
Obsidian 0.14.0+
Platforms
Desktop, Mobile
License
0BSD
Report bugRequest featureReport plugin
Author
zmeeeeevazmeeeeeva
zmeeva.io
GitHubzmeeeeeva
  1. Community
  2. Plugins
  3. Links
  4. Frontmatter Metadata Link Classes

Related plugins

Auto Card Link

Automatically fetches metadata from a URL and makes it as a card-styled link.

Wikilink Types

Type @ inside wikilink aliases to add relationship types, auto-synced to YAML frontmatter.

Advanced Canvas

Supercharge your canvas experience. Create presentations, flowcharts and more.

Smart Connections

AI link discovery copilot. See related notes as you write. Lookup using semantic (vector) search across your vault. Zero-setup local model for embeddings, no API keys, private.

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

Meta Bind

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

Style Settings

Adjust theme, plugin, and snippet CSS variables.

Link Favicons

See the favicon for a linked website.

Advanced URI

Control everything with URI.

Lapel

Show the heading levels in the gutter of the editor.