No description
Find a file
2025-07-10 21:44:24 +02:00
.eslintignore Initial commit 2025-06-10 18:52:44 +02:00
.eslintrc Initial commit 2025-06-10 18:52:44 +02:00
.gitignore Initial commit 2025-06-10 18:52:44 +02:00
.npmrc Initial commit 2025-06-10 18:52:44 +02:00
esbuild.config.mjs Initial commit 2025-06-10 18:52:44 +02:00
LICENSE Update title and license 2025-07-10 21:44:24 +02:00
main.ts Alter manifest and readme 2025-06-10 23:34:52 +02:00
manifest.json Alter manifest and readme 2025-06-10 23:26:56 +02:00
package-lock.json Initial commit 2025-06-10 18:52:44 +02:00
package.json Update title and license 2025-07-10 21:44:24 +02:00
README.md Update title and license 2025-07-10 21:44:24 +02:00
tsconfig.json Initial commit 2025-06-10 18:52:44 +02:00
version-bump.mjs Initial commit 2025-06-10 18:52:44 +02:00
versions.json Initial commit 2025-06-10 18:52:44 +02:00

Metadata Link Classes Plugin

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.