Easily switch between source mode <-> live preview <-> preview

Gotcha. That made it clearer. I wasn’t sure if this was an actual workaround, but I reckon this is a templater script which means one has to set up the hotkeys in some way in the plugin and one doesn’t need to invoke a template. I still don’t use templater, and would prefer if this was a core feature but for other folks out there this helps. Thanks.

1 Like

They can be either Templater pure scripts, i.e., no output – one per command. Or JavaScript code blocks in one or several files, depending on your organisation preferences, for RunJS to run.

You might even use DataviewJS to force a specific “view”, to achieve a similar result as the Force note view mode plugin, bwydoogh/obsidian-force-view-mode-of-note (github.com), without the need to install it. However, changing a view mode is more “permanent” in this case. Every time the DataviewJS gets triggered, it will “revert” to the initial state if no additional logic is added.

But I am on the same page as all of you: It should be a core feature!