Quick Preview

by Ryota Ushio
5
4
3
2
1
Score: 45/100

Description

Category: Note Enhancements

The Quick Preview plugin enhances the Obsidian experience by enabling real-time previews of links, notes, and suggestions. This functionality supports various contexts, including link suggestions, quick switcher, and even the Quick Switcher++ plugin. Additionally, it now integrates with the canvas's note and media suggestions. Users can hold a key (e.g., Alt/Option) to preview items without selecting them, streamlining navigation and content review. The plugin offers customization options, such as font size adjustments via Style Settings, and provides an API for other plugins to incorporate its quick preview feature. This tool is ideal for users looking for efficient and dynamic note exploration in Obsidian.

Reviews

No reviews yet.

Stats

33
stars
11,691
downloads
2
forks
1,002
days
828
days
828
days
1
total PRs
0
open PRs
0
closed PRs
1
merged PRs
10
total issues
5
open issues
5
closed issues
0
commits

Latest Version

2 years ago

Changelog

  • Fixed the incompatibility with Obsidian v1.6+.
  • Fixed the plugin not working in popout windows.

Full Changelog: https://github.com/RyotaUshio/obsidian-quick-preview/compare/0.6.0...0.6.1

README file from

Github

Obsidian Quick Preview

This Obsidian.md plugin adds a quick preview functionality to

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

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:

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!

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Advanced Tables
6 years ago by Tony Grosinger
Improved table navigation, formatting, and manipulation in Obsidian.md
Notebook Navigator
a month ago by Johan Sanneblad
A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.
Advanced URI
5 years ago by Vinzent
Advanced modes for Obsidian URI
Quick Switcher++
4 months ago by darlal
Enhanced Quick Switcher plugin for Obsidian.md
Note Toolbar
2 months ago by chrisgurney
Flexible, context-aware toolbars for your notes in Obsidian.
Another Quick Switcher
5 years ago by tadashi-aikawa
This is an Obsidian plugin which is another choice of Quick switcher.
Quick Explorer
5 years ago by PJ Eby
Perform file explorer operations (and see your current file path) from the Obsidian.md title bar
Pane Relief
5 years ago by PJ Eby
Obsidian plugin for per-pane history, pane movement/navigation hotkeys, and more
obsidian floating toc
4 years ago by curtgrimes modified by Cuman
Tab Switcher
2 months ago by Vinzent
Tab Switcher - Obsidian Plugin
Vertical Tabs
3 months ago by oxdc
An Obsidian plugin that displays open tabs vertically, allowing users to group and organize tabs for a better navigation experience.
Open Tab Settings
a year ago by jesse-r-s-hines
Obsidian plugin that adds options to customize how tabs are opened, including open in new tab by default, preventing duplicate tabs, and more
Floating Search
3 years ago by Boninall
A plugin for searching text by using Obsidian default search view.
Markdown Tabs
2 months ago by xhuajin
Create and render a Tabs component in your notes.
Dynamic Outline
2 years ago by theopavlove
Adds a customizable GitHub-like floating table of contents to Obsidian.
Core Search Assistant
5 years ago by qawatake
An Obsidian plugin to enhance built-in search: keyboard interface, card preview, bigger preview
Automatically reveal active file
6 years ago by Matt Sessions
Obsidian plugin to reveal the active file automatically when you open a file
Reveal Active File Button
5 years ago by Clare Macrae
Obsidian plugin to add a button to the top of the Obsidian File Explorer, to reveal the active file.
Folder Focus Mode
4 years ago by grochowski
Focus file explorer on chosen folder and its files and subdirectories, while hiding all the other elements.
Canvas minimap
3 years ago by ifree
Obsidian canvas minimap
No Dupe Leaves
4 years ago by Simon Cambier
Automatically switch the focus to open notes instead of reopening them
Next TOC
8 months ago by RavenHogWarts
Floating TOC panel
Callout Suggestions
2 years ago by Casey Fryer
Obsidian Plugin for autocompleting callouts.
Scroll Offset
4 years ago by Lijyze
Scroll Offset for Obsidian
Daily Note Navbar
3 years ago by Karsten Finderup Pedersen
Adds a daily note navbar to quickly navigate between sequential daily notes in Obsidian.
Galaxy View
a month ago by Rick
Arrows
3 years ago by artisticat
Draw arrows across different parts of your notes, similar to on paper
Tab Selector
3 years ago by namikaze-40p
This is an Obsidian plugin which can quickly switch tabs in various ways.
Card View Switcher
4 years ago by qawatake
An Obsidian plugin to provide a quick switcher with card view
Crossbow
3 years ago by shoedler
Obsidian plugin to find possible backlinks in your notes
Autofit Tabs
2 years ago by Bradley Wyatt
Obsidian Plugin that automatically adjusts tab header widths in real-time to perfectly fit each tab's title content while maintaining a clean, seamless interface that prevents awkward text truncation and ensures optimal readability of your document titles.
VirtFolder
2 years ago by mr.grogrig
Creating a hierarchical structure like Luhmann's Zettelkasten
macOS Keyboard Navigation
6 years ago by ryanjamurphy
Quick snippets and navigation
4 years ago by @aciq
Quick snippets and navigation for Obsidian
Another Sticky Headings
2 years ago by Zhou Hua
Neighbouring Files
3 years ago by Fabian Untermoser
Obsidian Plugin to navigate to the next and previous file in the current directory
Search Everywhere
5 years ago by Mom0
Obsidian Search Everywhere Plugin
Open Plugin Settings
3 years ago by Mara-Li
Create a command that open the settings tabs of a registered plugin (because I was bored to open the parameters).
Advanced Random Note
3 years ago by Karsten Finderup Pedersen
Create commands from custom queries to open random notes
SideNote
9 months ago by mofukuru
Obsidian plugin: Add comment on the part of sentence and refer in comment view.
Floating Headings
7 months ago by k0src
Displays a floating, collapsible outline of a note's headings on the right side of the editor. Expands on hover, click to navigate.
Tab Navigator
2 years ago by o02c
obsidian-tab-switcher
Highlight active folder section
2 years ago by Lukas Collier
Gives the folder section with the active note a customizable background color and more.
Lemons Search
2 years ago by Moritz Jung
An Obsidian plugin that offers a fast fuzzy finder based quick switcher with preview.
FolderFile Splitter
2 years ago by Xu Quan
Cycle In Sidebar
4 years ago by Houcheng
Cycle through tabs of left/ right sidebar panel
Bookmarks Caller
2 years ago by namikaze-40p
This is an Obsidian plugin which can easily open bookmarks.
Go to Line
5 years ago by phibr0
Insert Heading Link
5 years ago by Signynt
Add a Link to a Heading.
URL Display
3 years ago by Stephanie Lin
Extract and display external URLs of the note in Obsidian.
Link Range
3 years ago by Ryan Mellmer
Add ranged link support to Obsidian
Go To Heading
3 years ago by join
Quickly navigate between your document's headings in Obsidian
Open Related Url
4 years ago by Dan Pickett
Nav Link Header
2 years ago by ahts4962
Display navigation links at the top of the notes in Obsidian
Tag Index
a year ago by wenlzhang
An Obsidian plugin that creates a curated list of important tags to serve as meaningful entry points to your knowledge base.
Quickly
3 years ago by Sparsh Yadav
Quick capture to obsidian note
Custom Slides
a year ago by David V. Kimball
Customize Obsidian's Slides core plugin's navigation, styles, and behavior.
Tab Rotator
3 years ago by Steven Jin
Obsidian Rotate opened tabs with a specified time interval
Mouse Navigation
2 years ago by HoBeomJeon
Note Minimap
a year ago by Yair Segel
Add a minimap to your Obsidian notes.
Next Link
3 years ago by Juan Luque
Cursor Position History
2 years ago by Florian Gubler
A Plugin to remember (and make accessible) the cursor history in Obsidian. Both within a file and across files.
Backlink Full Path
a year ago by mnaoumov
Obsidian plugin that shows the backlink's full path in the backlinks panel.
Crafty
3 years ago by liolle
Add tooltip to your obsidian canvas's nodes and navigate between nodes
Folder overview
2 years ago by Lost Paul
Provides a dynamic overview of your vault or folders in the format of a code block.
AI bot
2 years ago by kuzzh
The AI Bot Plugin is a powerful tool designed to enhance your note-editing experience in Obsidian by leveraging the capabilities of AI. This plugin allows you to interact with an AI assistant directly within Obsidian, making it easier to generate, edit, and organize your notes with intelligent suggestions and automated tasks.
Drag To Scroll
a year ago by Constantine Sazonov
Adds drag-to-scroll functionality to Obsidian. Hold mouse button and drag - now you can scroll like on touch device!
Tree Search
2 years ago by catacgc
Link Navigation
2 years ago by xRyul
Navigate between incoming links (inlinks), outgoing links (outlinks) N levels deep. Links from Canvas are also supported.
Metafolders
3 years ago by Makary Sharoyan
An Obsidian plugin for multidimensional note navigation
Vault Name
2 years ago by @gapmiss
An Obsidian.md plugin for customizing and displaying the vault name (title) in the side navigation file explorer, similar to pre 1.6.0 versions of Obsidian.
Mark Open Files
a year ago by Michael Schrauzer
Adds a marker to all the File Explorer items that are currently open in the Obsidian workspace.
Smooth Navigator
a year ago by Michael Schrauzer
Smoothly cycle through open files and splits in Obsidian via the keyboard.
Canvas Link to Group
a year ago by TGRRRR
Plugin for Obsidian Canvas enabling direct links to specific groups within canvas files for improved navigation
Anchor Link Display Text
2 years ago by Robert C Arsenault
An Obsidian plugin that makes anchor links look nicer by automatically populating display text.
Inline Local Graph
7 months ago by TKOxff
Inline Local Graph of Obsidian
Cursor Jump
2 years ago by Sangwon Jung
Boost Link Suggestions
4 years ago by Jacob Levernier
An Obsidian (https://obsidian.md) plugin for altering the order of inline link suggestions by link count and manual boosts.
Headings in Explorer
2 years ago by Patrick Chiang
This Obsidian plugin makes headings first class concepts in the file explorer and consolidates navigation to a single panel.
Reveal Folded
a year ago by d7sd6u
Adds a command that reveals current file while collapsing every other tree item
Scrolls To Nav Top
a year ago by mario
Simply scrolls to nav top
Excalink
15 days ago by Aditya Kumar
Excalink is an Obsidian plugin that enables IntelliSense-style autocompletion for groups and named frames inside .excalidraw.md files. When you type [[filename#, it suggests all available frame names, allowing fast, precise linking to parts of your drawings.
Remember Scrollposition
8 months ago by s-blu
A plugin that saves the scroll position for each note to return you to where you left off
BookNav
2 years ago by jemberton
A plugin for ObsidianMD that enables book style navigation links in a note.
Current File Tags
2 years ago by Trung Tran
Recent Tab Switcher
2 years ago by Samuel Ang
Recent Tab Switcher Plugin for Obsidian.
BlazeJump
2 years ago by henryco
Plugin for Obsidian that makes text navigation blazingly fast.
Tab File Path
a year ago by John Burnett
Better Link Clicker
8 months ago by Eniverz
An Obsidian plugin that modifies the default link click event.
Folder Tabulation
2 years ago by SpeedaRJ
An open source plugin for obsidian that let's you treverse local folder structure via keybindings and commands.
Cursor Position on Title Enter
2 years ago by Por Chainarong Tangsurakit
Obsidian Plugin: Set the cursor position after pressing Enter on the note title.
Last Edit Location
9 months ago by Kyoungdeuk
When opening a note, put the cursor at the last edit location.
Quick Nav
a year ago by exoticknight
Enhance your editing experience by unleashing the hidden power of shortcuts.
Click Hint
2 years ago by kbwo
Previous Daily Note
a year ago by Marcos Talau
Plugin for Obsidian that opens the previous daily note
FastForwardLink
2 years ago by Idan Liberman
FastForwardLink Obsidian.md Plugin
HOME key
a year ago by shichishima
Obsidian Plugin to move cursor to beginning of text, considering Markdown heading characters.
Weekday Commands
9 days ago by Wren
Daily Notes Tweaks
10 months ago by René Coignard
Open a random daily note and automatically switch past daily notes to reading mode.