-
-
Notifications
You must be signed in to change notification settings - Fork 4
Forced extensions
Forced extensions is a mode provided by the UNITADE plugin that renders leaves (opened files) in the workspace using CodeMirror technology, on which Obsidian’s rendering system is based. Unlike the Monaco Editor (used in VS Code), which offers a similar text/code editing experience, CodeMirror has its distinct set of features and configuration options.
Important
This mode is not just prone to errors but may also cause crashes due to potential compatibility issues with various Obsidian versions, packages, and extensions. It is advised to exercise caution when enabling this feature.
Currently, forced extensions are used to "force" files with specific extensions to be rendered by the plugin, which can be useful if you prefer not to use the "code editor module" for certain files. However, there may still be cases where files fail to open properly even after being configured through the plugin’s settings.
Note
Avoid duplicating extensions, particularly ones from the "vanilla" extension input. This may prevent error spam, but copying inputs should be handled carefully to avoid conflicts.