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
  • Join the community
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Auto View Mode

saltyfireballsaltyfireball43 downloads

Automatically switch between Reading View, Source Mode, and Live Preview based on a frontmatter key in your notes.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates12

An Obsidian plugin that automatically switches between Reading View, Source Mode, and Live Preview when you open a note -- based on a frontmatter key.

Features

  • Set a per-note view mode using frontmatter
  • Configurable frontmatter key name (default: auto-view-mode)
  • Supports all three Obsidian view modes: Reading View, Source Mode, and Live Preview
  • Lightweight with no external dependencies

Installation

Obsidian Community Plugin

This plugin is available in the official Obsidian community plugin directory. Install it from Settings > Community plugins > Browse and search for "Auto View Mode" or "Auto View Mode by saltyfireball".

Usage

Add the frontmatter key to any note to control which view mode it opens in:

---
auto-view-mode: preview
---

Accepted Values

Value View Mode
preview or reading Reading View
source Source Mode
edit or live Live Preview

Custom Frontmatter Key

By default the plugin reads from the auto-view-mode frontmatter key. You can change this to any name you like in the plugin settings:

  1. Go to Settings > Auto View Mode
  2. Change the Frontmatter key field to your preferred key name

For example, if you set it to view, your frontmatter would look like:

---
view: source
---

License

MIT

97%
HealthExcellent
ReviewSatisfactory
About
Open notes automatically in Reading View, Source Mode, or Live Preview by setting a per-note frontmatter key. Configure the frontmatter key name to match your workflow and keep the plugin lightweight with no external dependencies.
AutomationPropertiesEditing
Details
Current version
1.1.7
Last updated
14 hours ago
Created
3 months ago
Updates
12 releases
Downloads
43
Compatible with
Obsidian 1.0.0+
License
MIT
Report bugRequest featureReport plugin
Author
saltyfireballsaltyfireball
GitHubsaltyfireball
  1. Community
  2. Plugins
  3. Automation
  4. Auto View Mode

Related plugins

MetaEdit

Manage your metadata.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Update frontmatter modified date

Automatically update a frontmatter modified date field when the file is modified.

Filename Heading Sync

Keep the filename with the first heading of a file in sync.

Advanced Tables

Improved table navigation, formatting, and manipulation.

Advanced Canvas

Supercharge your canvas experience. Create presentations, flowcharts and more.

Templater

Create and use dynamic templates.

Homepage

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

BRAT

Easily install a beta version of a plugin for testing.

Outliner

Work with your lists like in Workflowy or Roam Research.