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.

65%
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
3 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

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.

Surfing

Surf the net like a web browser.

Insert Heading Link

Add a command to create a link to a heading.

Notebook Navigator

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

Homepage

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

Recent Files

Display a list of recently opened files.

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.

Vertical Tabs

Offer an alternative view that displays open tabs vertically, allowing users to group and organize tabs for a better navigation experience.

Quick Switcher++

Enhanced Quick Switcher, search open panels, and symbols.