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

Smart Links

kemayokemayo6k downloads

Automatically detect strings using regular expressions and turn them into links in reading view. Useful for stock symbols, issue tracking, etc.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

This is a plugin for Obsidian that lets you define custom "smart" links which will be auto-linked when reading documents.

If you're used to writing in an environment that auto-links certain strings and don't want to build new habits, this will help with that. E.g. T12345 in phabricator, or #4324 in github.

It'll turn this...

edit mode

Into this...

reading mode

target focus

You can add your own replacement patterns in Obsidian's settings:

settings

Usage

Install and enable the plugin. Once you do, you'll find there's a new section in your settings called "Smart Links". In it you can add/remove replacement rules. You'll need to write a regular expression and a replacement string for it. This can range from very simple to very complicated.

Regular expression Replacement
T\d+ https://phabricator.wikimedia.org/$&
\$([A-Z]+) https://finance.yahoo.com/quote/$1
go\/[_\d\w-/]+ http://$&

The replacements work using normal Javascript regular expression replacement syntax. I'm so very sorry. Remember that you'll need to escape characters with special meaning in regular expressions. Matches are restricted so they'll only occur immediately after either the start of a line or some whitespace.

Credits

The reading-mode code was heavily influenced by Obsidian GoLinks -- this plugin is (arguably) a customizable superset of that one's functionality.

HealthFair
ReviewCaution
About
Define custom smart-link patterns to auto-link matching text when reading notes. Write regular-expression patterns and replacement strings to turn tokens like T12345 or #4324 into full URLs, with matches applied only at line start or after whitespace.
LinksNavigation
Details
Current version
1.0.2
Last updated
4 years ago
Created
4 years ago
Updates
3 releases
Downloads
6k
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
kemayokemayo
davidlynch.org
GitHubkemayo
  1. Community
  2. Plugins
  3. Links
  4. Smart Links

Related plugins

Breadcrumbs

Visualise the hierarchy of your vault using a breadcrumb trail or matrix view.

Strange New Worlds

Reveal networked thought and the strange new worlds created by your vault.

Table of Contents

Create a table of contents for a note.

Crumbs

Breadcrumb navigation.

Surfing

Surf the net like a web browser.

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

Homepage

Open a note, base, or workspace on startup, or set it for quick access later.

Advanced URI

Control everything with URI.

Find orphaned files and broken links

Find files that are not linked anywhere and would otherwise be lost in your vault. In other words: files with no backlinks.