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

Logseq Style Alias

马自立马自立

Make [[alias]] links open the page that has the alias, the way Logseq does, instead of creating an empty page.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

Write the alias, land on the page.

An Obsidian plugin that makes [[alias]] links open the page that has the alias, the way Logseq does — instead of leaving them unresolved, or worse, creating an empty page.

English · 简体中文

The problem

Give a page called Retrieval-Augmented Generation the alias RAG:

---
aliases:
  - RAG
---

Obsidian uses aliases for link suggestions only. If you type [[RAG]] yourself instead of picking the suggestion, the link is unresolved. Click it and Obsidian creates an empty RAG.md — and from then on every [[RAG]] points at that empty page instead of the real one. Over time a vault collects dozens of these.

In Logseq an alias and the page name are the same thing. This plugin brings that behaviour to Obsidian.

What it does

You write There is… The link opens
[[RAG]] no file called RAG the page with alias RAG
[[RAG]] an empty RAG.md (only whitespace) the page with alias RAG
[[RAG]] a RAG.md with content RAG.md — a real file always wins
[[RAG]] two pages that both claim RAG resolved the way Obsidian normally does; the plugin does not guess

Everything that asks Obsidian where a link points follows the alias: clicking, hover preview, embeds, the backlinks pane, outgoing links, the graph, unresolved-link styling, and other plugins that use the same API (Dataview, backlink plugins).

Your notes are never modified. Turn the plugin off and links resolve exactly as before.

Details

  • Case. Aliases match case-insensitively, like file names do. Set a property (default case-sensitive, configurable) to true on a page to make its aliases match only the exact spelling.
  • Paths. Only bare links are redirected. [[folder/RAG]] names a specific file and is left alone.
  • Pages with only properties are not empty. A page that has only frontmatter is treated as a real page.
  • Renaming. Obsidian updates links on rename through a different lookup, so renaming the aliased page never rewrites your [[RAG]] into the new file name.

Commands

Command What it does
Delete empty pages named after an alias Moves every empty page whose name is an alias of exactly one other page to the trash (following your Deleted files setting). Links to them keep working through the alias.
List alias conflicts Shows names that point to more than one page with content: an alias claimed by two pages, or an alias that is also another page's file name.

Settings

Setting Default What it does
Empty pages give way to aliases On When [[alias]] matches an empty page, open the aliased page instead
Case-sensitivity property case-sensitive Pages with this property set to true only match links that use the exact case

Installing

Copy main.js and manifest.json into <vault>/.obsidian/plugins/logseq-style-alias/, reload Obsidian, and enable Logseq Style Alias in Settings → Community plugins. Or add it through BRAT from MatsuriMW/logseq-style-alias.

Limits

  • The redirection lives inside Obsidian. Tools that read the Markdown files directly — scripts, static-site exporters, other editors — still see [[RAG]] as a link to a file named RAG.
  • Install it on every device you use, including mobile, or [[alias]] will be unresolved there.
  • It works by wrapping metadataCache.getFirstLinkpathDest. The wrapper is removed when the plugin is disabled; if another plugin wrapped the same function afterwards, ours stays in place but passes everything through untouched.
HealthExcellent
ReviewPassed
About
Open alias links by resolving [[alias]] to the page that lists that alias instead of creating unresolved empty files. Resolve bare links (case-insensitive matching by default) across clicks, hover previews, embeds, backlinks, the graph and plugins using Obsidian's link API, while leaving explicit paths and real files untouched. Keep notes unmodified and turn off to restore original behavior.
LinksGraphNavigation
Details
Current version
1.0.0
Last updated
7 hours ago
Created
7 hours ago
Updates
1 release
Compatible with
Obsidian 1.6.6+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
马自立马自立matsurimw
GitHubmatsurimw
matsuri.site
  1. Community
  2. Plugins
  3. Links
  4. Logseq Style Alias

Related plugins

Breadcrumbs

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

Jump to link

Quickly navigate between links, or jump to any word on the page using hotkeys.

Strange New Worlds

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

Another Quick Switcher

Another choice of Quick switcher.

Natural Language Dates

Create date-links based on natural language.

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.

ExcaliBrain

An interactive, structured mind-map of your Obsidian vault.

Smart Connections

Find related notes and excerpts while writing. Your AI link building copilot displays relevant content in graph + list view. A local embedding model powers semantic search. Zero setup. No API key.