The main function is that you can open the file in the top window, and the window can be customized in width, height, position, style and so on.
-
Add "Open in Top Window" in context menu.
-
New commands "Open current tab in top window" and "Move current tab to top window".
-
New file open protocol, you can open the specified file in the top window by the protocol
obsidian://open-in-top-window?vault=demo&file=todo.md
. -
Customizable top window style.
Go here to download Open in top window
After download, unzip obsidian-open-in-top-window.zip, put it into plugin directory, restart obsidian, and don't forget to open the plugin in settings.
You can also search and install the plugin in obsidian's plugin market. (Not yet available)
-
Right click menu to open, select "Open in top window".
-
Command to open, select "Open current tab in top window" or "Move current tab to top window".
-
Open by external link, through the protocol
obsidian://open-in-top-window?vault=demo&file=todo.md
to open the specified file in the top window, parameters can be referred to main.js#L249 -
api call:
app.plugins.plugins['open-in-top-window'].openInTopWindow(file, settings)
, parameters can be referred to main.js#L70
You can go to issues to give feedback if you have any questions.
This plugin is based on the replies of "熊猫别熬夜 噗~" to the posts Can I create a new note in a new window and About the top window program.
For more information, see About the top window Program.
Thanks again "熊猫别熬夜 噗~" for your help and guidance!