English Doc|中文文档
This is a plugin that uses the Obsidian modal window to open files and links. It can be combined with other plug-ins to easily read and edit various types of files, block various interferences for you.
- Support Markdown file titles and block link anchor jumps
- Support switching between editing modes
- Double click the modal border to restore to the tab
- Support setting shortcut keys to open current files and links
- Support adding custom commands, one click opening of files or links (can be combined with Command plugin to add icons)
- Support right-click menu to create multiple file types and edit them in the modal window. After editing, the link will be automatically embedded to the current cursor position
The use of Diagrams requires the installation of my modified plugin: obsidian-diagrams-net
Using
alt+click
to enter the modal window to Edit the code block requires a modified version using theVSCode Edit
plugin: download link
-
Reading mode
- Drag and drop
- Right click menu
alt
+ Left mouse button
-
Edit mode
- Right click menu
alt
+ Left mouse button
- Copy over
main.js
,styles.css
,manifest.json
to your vaultVaultFolder/.obsidian/plugins/modal-opener/
.
- Install BRAT Plugin.
- Add "Modal Plugin" to BRAT:
- Go to Settings > BRAT > Beta Plugin List
- Click on "Add Beta plugin"
- Enter
https://github.com/likemuuxi/obsidian-modal-plugin
- Click on Add Plugin
- After installation, enable the plugin to use it
Currently known plugins with conflicts.
no dupe leave
mononote
The above plugins are all for handling duplicate tabs, now the plugin has a built-in duplicate tab detection function, which comes from the mononote
plugin and has been modified on the basis of the original one.
Notice: When loading a Web page using the
surfing
plugin, do not turn on the option to open a web page in a fixed and unique tab. This affects the plugin's functionality.
Special thanks to these amazing plugins! I use these plugins as a reference for developing my first public plugin. The basic structure of this plugin is mainly based on obidian link opener. I referred to other plugins and completed the modal window file display and prevent duplicate tabs functions, The list of plug-ins is as follows.
- obsidian-link-opener by zorazrr
- Obsidian-Float-Search by Quorafind
- obsidian-copilot by logancyang
- obsidian-mononote by czottmann
- Cursor 、ChatGPT