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

Force note view mode

bwydooghbwydoogh68k downloads

Force the view mode for a note by using frontmatter: YAML block with 'obsidian_ui_mode' as key.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates11

This plug-in allows you to indicate through front matter that a note should always be opened in a certain view mode or editing mode.

Changing the view mode can be done through the key obsidianUIMode, which can have the value source or preview. Changing the editing mode happens by declaring the key obsidianEditingMode; it takes live or source as value.

Example: add below snippet (front matter) to your note ...

---
obsidianUIMode: source
obsidianEditingMode: live
---

... and this will force the note to open in "live preview" edit mode.

Similar, ... add below snippet to your note ...

---
obsidianUIMode: preview
---

... and this will always open the note in a reading (/ preview) mode.

This plug-in also ensures that a note is always opened in the configured default mode (suppose the Obsidian setting has "preview" as default mode but the pane is currently in "source" mode, then opening a new note in that same pane will open in "preview" mode).

63%
HealthFair
ReviewCaution
About
Force notes to open in a specific view or editing mode by adding obsidianUIMode and obsidianEditingMode to the note's front matter. Ensure notes open in the configured default mode even when a pane is currently in a different mode.
EditingPropertiesInterface
Details
Current version
1.2.2
Last updated
2 years ago
Created
5 years ago
Updates
11 releases
Downloads
68k
Compatible with
Obsidian 0.9.12+
Platforms
Desktop, Mobile
Report bugRequest featureReport plugin
Author
bwydooghbwydoogh
i-net.be
GitHubbwydoogh
  1. Community
  2. Plugins
  3. Editing
  4. Force note view mode

Related plugins

Meta Bind

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

Hover Editor

Transform the Page Preview hover popover into a fully working editor instance.

MetaEdit

Manage your metadata.

Dragger

Drag and drop any block (paragraphs, headings, lists, etc.) to rearrange content like Notion.

Feed Bases

Adds a feed layout to bases so you can display notes with their content in an editable feed view.

Slash Commander

Customize the slash command list, assign each command an icon.

Advanced Tables

Improved table navigation, formatting, and manipulation.

Advanced Canvas

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

Hider

Hide interface elements such as tooltips, status bar, titlebar, and more.

Outliner

Work with your lists like in Workflowy or Roam Research.