No description
Find a file
2026-07-20 11:16:48 +09:00
.github/workflows Release 1.3.0 2026-07-16 18:24:38 +09:00
src Release 1.4.0 2026-07-20 11:16:48 +09:00
.gitignore first commit 2026-07-16 13:45:39 +09:00
esbuild.config.mjs first commit 2026-07-16 13:45:39 +09:00
eslint.config.mts Release 1.3.0 2026-07-16 18:24:38 +09:00
LICENSE Release 1.3.0 2026-07-16 18:24:38 +09:00
manifest.json Release 1.4.0 2026-07-20 11:16:48 +09:00
package-lock.json Release 1.4.0 2026-07-20 11:16:48 +09:00
package.json Release 1.4.0 2026-07-20 11:16:48 +09:00
README.ko.md Release 1.4.0 2026-07-20 11:16:48 +09:00
README.md Release 1.4.0 2026-07-20 11:16:48 +09:00
styles.css Release 1.3.0 2026-07-16 18:24:38 +09:00
tsconfig.json first commit 2026-07-16 13:45:39 +09:00
versions.json Release 1.4.0 2026-07-20 11:16:48 +09:00

View Mode Lock

English | 한국어

Lock Obsidian notes to Reading, Live Preview, or Source mode.

Features

  • Lock every Markdown note to Reading view.
  • Choose separate locking behavior for desktop, tablet, and phone.
  • Create rules by folder, tag, or property value.
  • Override rules for individual notes.
  • Works on desktop, mobile, and tablet.
  • Uses Korean when Obsidian's app language is Korean; otherwise uses English.
  • Uses Obsidian's metadata cache to stay lightweight.

Usage

Open Settings → View Mode Lock.

  • Enable Lock all Markdown notes to make Reading view the default for every note.
  • Choose whether each device follows the rules, always uses Reading view, or disables locking.
  • Add a rule to select a folder, tag, or property value and its locked view mode.
  • Suggested folders, tags, properties, and property values appear while typing.

Folder rules include subfolders. If multiple rules match, the first matching rule is used.

Device behavior

Configure desktop, tablet, and phone independently:

Option Result
Follow existing rules Use note overrides, rules, and the global lock
Always use Reading view Lock every note to Reading view on this device
Disable locking Allow view mode changes on this device

Language

View Mode Lock follows the language selected in Obsidian → Settings → General → Language. It uses Korean when Obsidian is set to Korean and English for every other language. The system language is not used.

Note-level override

Add view-mode-lock to a note's properties:

view-mode-lock: reading

Supported values:

Value Result
reading Lock to Reading view
live-preview Lock to Live Preview
source Lock to Source mode
off Exempt the note from general rules when the device follows existing rules

The property name can be changed in the plugin settings.

Priority

  1. Device behavior
  2. Note-level override when following existing rules
  3. Folder, tag, and property rules
  4. Global Reading lock

Commands

  • Toggle lock for current note: switches the current note between reading and off.
  • Toggle global reading lock: enables or disables the global lock.

Assign shortcuts in Settings → Hotkeys. No default shortcuts are included.

Manual installation

Copy these files into .obsidian/plugins/view-mode-lock/:

  • main.js
  • manifest.json
  • styles.css

Then reload Obsidian and enable View Mode Lock under Community plugins.

Development

npm install
npm run build
npm run lint

License

MIT © 2026 GOODJINC