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

Quick Preview

ryotaushioryotaushio10k downloads

Quickly preview a suggestion before selecting it in link suggestions & quick switcher.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates40

This Obsidian.md plugin adds a quick preview functionality to

  • Link suggestions,
  • Quick switcher,
  • and even Quick switcher++.
  • New in 0.6.0: Canvas's note/media suggestion is now supported as well!

Hold down Alt/Option (by default) to quickly preview a suggestion before actually selecting it.

Link suggestions (file/heading/block)

Screen Recording 2023-12-13 at 18 27 42

Quick switcher / Quick switcher++

Screen Recording 2023-12-13 at 18 24 34

[!tip]

  • You can adjust the font size for quick preview via Style Settings.
  • Other plugins also can utilize the quick preview feature via the API. See below for more details.

Installation

You can find this plugin in the community plugin browser within Obsidian.

You can also install the latest beta release using BRAT:

  1. Install the latest version of BRAT and enable it.
  2. Open the following URL in browser: obsidian://brat?plugin=RyotaUshio/obsidian-quick-preview.
  3. Click the "Add Plugin" button.
  4. (Optional but highly recommended) In the BRAT settings, turn on Auto-update plugins at startup at the top of the page.

Reporting problems

If you find a problem about this plugin, please report it by filing an issue from here.

It'd be helpful if you could attatch the following information:

  • Result of the "Show debug info" command
  • Screenshot of the plugin settings

Using the API

This plugin provides an API to allow other plugins to add the quick preview functionality to their custom suggesters. Supported suggester types are:

  • SuggestModal
  • PopoverSuggest, including:
    • EditorSuggest
    • AbstractInputSuggest

Installation

npm install -D obsidian-quick-preview

Usage examples

import { Plugin, EditorSuggest, SuggestModal, TFile, SectionCache } from "obsidian";
import { registerQuickPreview } from "obsidian-quick-preview";

class MyCustomEditorSuggest extends EditorSuggest<{ file: TFile }> { ... }

class MyCustomSuggestModal extends SuggestModal<{ path: string, cache: SectionCache }> { ... }

export default MyPlugin extends Plugin {
    excludedFiles: string[];

    onload() {
        registerQuickPreview(this.app, this, MyCustomEditorSuggest, (item) => {
            // - `linktext` can be any string representing a proper internal link,
            //   e.g. "note", "note.md", "folder/note", "folder/note.md", "note#heading", "note#^block-id" etc
            // - `sourcePath` is used to resolve relative links. In many cases, you can just pass an empty string.
            return { linktext: item.file.path, sourcePath: "" };
        });
        // or
        registerQuickPreview(this.app, this, MyCustomSuggestModal, (item) => {
            if (this.excludedFiles.contains(item.path)) {
                // Return `null` when you don't want to show a quick preview for the item.
                return null;
            }
            // Add a `line` parameter to focus on a specific line.
            return { linktext: item.path, sourcePath: "", line: item.cache.position.start.line };
        });
    }
}

Support development

If you find my plugins useful, please support my work by buying me a coffee!

HealthFair
ReviewCaution
About
Preview link suggestions, Quick Switcher results, and Canvas note/media suggestions by holding Alt/Option to view content before opening it. Enable other plugins to add quick-preview support via a simple API.
LinksNavigationDevelopers
Details
Current version
0.6.1
Last updated
2 years ago
Created
3 years ago
Updates
40 releases
Downloads
10k
Compatible with
Obsidian 1.3.5+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
GitHub Sponsors
Ko-fi
Author
ryotaushioryotaushio
github.com/RyotaUshio
GitHubryotaushio
  1. Community
  2. Plugins
  3. Links
  4. Quick Preview

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.

Backlink Cache

Store backlink cache to speed up `app.metadataCache.getBacklinksForFile`.

Notebook Navigator

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

BRAT

Easily install a beta version of a plugin for testing.

Recent Files

Display a list of recently opened files.

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.

Homepage

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

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

Local REST API with MCP

Unlock your automation needs by interacting with your notes over a secure REST API.