GOODJINC206 downloadsLock Markdown notes to Reading, Live Preview, or Source mode with flexible rules.
English | 한국어
Lock Obsidian notes to Reading, Live Preview, or Source mode.
Open Settings → View Mode Lock.
Folder rules include subfolders. If multiple rules match, the first matching rule is used.
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 |
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.
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.
reading and off.Assign shortcuts in Settings → Hotkeys. No default shortcuts are included.
Copy these files into .obsidian/plugins/view-mode-lock/:
main.jsmanifest.jsonstyles.cssThen reload Obsidian and enable View Mode Lock under Community plugins.
npm install
npm run build
npm run lint
MIT © 2026 GOODJINC