Skip to content

Caffa/links-coloring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Link Colorer

This plugin automatically colors your internal links based on what they say. [[Apple]] will always appear in the same color every time you type it, helping you visually tell different things apart.

14405

I use this for fiction writing since each character is a different link (I use various complements together with this)

Features

  • Consistent colors: [[Obsidian]] will always be the same specific shade of purple, no matter where it appears.
  • Live preview: Colors show up instantly as you type.
  • Smart links: In [[Apple|Fruit]], the word "Fruit" gets colored based on "Apple" so the concept looks the same.
  • Ignore prefixes: Option to ignore organizing bits. If enabled, [[Char - Charlus Potter]] gets the same color as [[Charlus Potter]].
  • Color themes: Pick from Dracula, Solarized, Nord, Gruvbox, Synthwave, One Dark, and more.
  • Works with light and dark mode: Colors automatically adjust so they're easy to read.

Setup

Go to Settings > Consistent Link Colors.

Pick a color theme

Choose from different color schemes:

  • Vibrant: Bright colors that really stand out.
  • Pastel: Softer, easier on the eyes.
  • Theme colors: Matches popular editor themes like Dracula and Nord.

The settings menu shows you what the colors look like.

Ignore prefixes

  • Default: On
  • How it works: If your notes use a structure like [[Category - Note Name]], the plugin ignores the first part.
    • [[Char - Charlus]] → Colors based on "Charlus"
    • [[Loc - Hogwarts]] → Colors based on "Hogwarts"

Notes

It ignores embeds (the ![[link]] format).

Installation

  1. Download the latest release from the Releases tab.
  2. Extract the files (main.js, manifest.json, styles.css) into your vault: .obsidian/plugins/consistent-link-colors/.
  3. Reload the app.
  4. Go to Settings > Community plugins and enable Consistent Link Colors.

Contributing

Have a favorite color palette you'd like added? Feel free to open a pull request or an issue.

Support

If you find this useful and want to support me, I'd really appreciate a coffee on Ko-fi. Even more, I'd love if you contributed color palettes to the project.

Thanks, and happy writing!

License

MIT

About

Colors the links differently to help differentiate the links and give them a consistent color scheme.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors