Auto View Mode

by saltyfireball
5
4
3
2
1
Score: 35/100

Description

This plugin has not been manually reviewed by Obsidian staff. Automatically switch between Reading View, Source Mode, and Live Preview based on a frontmatter key in your notes.

Reviews

No reviews yet.

Stats

stars
40
downloads
0
forks
1
days
NaN
days
NaN
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

Invalid date

Changelog

README file from

Github

Auto View Mode

works on my machine Pog Level Git History Touch Grass Image Hosting Indentation Vaporwave Sock Drawer CD

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

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