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

Auto View Mode

saltyfireballsaltyfireball173 downloads

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

Add to Obsidian
  • Overview
  • Scorecard
  • Updates14

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".

Community plugin page: https://community.obsidian.md/plugins/auto-view-mode

More Plugins by saltyfireball

Browse all of my published Obsidian plugins on my profile: https://community.obsidian.md/users/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

HealthExcellent
ReviewPassed
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.9
Last updated
Last month
Created
4 months ago
Updates
14 releases
Downloads
173
Compatible with
Obsidian 1.0.0+
Platforms
Desktop, Mobile
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 modified date

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

Advanced Tables

Improved table navigation, formatting, and manipulation.

Templater

Create and use dynamic templates.

Advanced Canvas

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

Homepage

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

Lazy Loader

Load plugins with a delay on startup, so that you can get your app startup down into the sub-second loading time.

Multi Properties

Add properties to multiple notes at once. Either right-click a folder or select multiple notes and right-click the selection.

Outliner

Work with your lists like in Workflowy or Roam Research.