saltyfireball43 downloadsAutomatically switch between Reading View, Source Mode, and Live Preview based on a frontmatter key in your notes.
An Obsidian plugin that automatically switches between Reading View, Source Mode, and Live Preview when you open a note -- based on a frontmatter key.
auto-view-mode)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".
Add the frontmatter key to any note to control which view mode it opens in:
---
auto-view-mode: preview
---
| Value | View Mode |
|---|---|
preview or reading |
Reading View |
source |
Source Mode |
edit or live |
Live Preview |
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:
For example, if you set it to view, your frontmatter would look like:
---
view: source
---