4 ms·
I wish I could use Obsidian to edit single markdown files. If my project has a readme.md I don't want to create an obsidian vault with its configuration files
by eric-p7 7mo ago
I wish I could use Obsidian to edit single markdown files.
If my project has a readme.md I don't want to create an obsidian vault with its configuration files in my project, just to open it.
- kepano 7mo agoYeah we'll add that at some point. It's a bit trickier than it seems because a lot of Obsidian configuration and app functionality is vault-specific. E.g. what theme should be used? What plugins should be available? Does autocomplete for [[links]] or properties do anything? Etc.
- toddmorey 7mo agoVSCode opens single files outside of projects. What do they do? Personally I wouldn’t mind if it just defaulted to the settings of the last-used vault.
- ezfe 7mo agoIf you don't have a window open, then VSCode opens with no active workspace. There are no workspace settings at all, and there is no file tree. But since VSCode has user level settings, these are what is used, including theming/etc. If you have a window open, the file is opened to the workspace for that window. You can see this in action because the "Trust" dialog specifically says that you're trying to open untrusted files into a trusted workspace.
- random3 7mo agomaybe you're overthinking it a little. You could make it of a default setup like the one you use for the sandbox, or some curated fast-loading one
- aaronharding 7mo agoi am not sure its that tricky, just have some user settings that are loaded when you open individual markdown files. show a different ui or hide some parts of the ui if need be!
- eric-p7 7mo agoJust put the default settings in the same place other apps put their settings. With an option for a custom path so I can sync it between my devices via syncthing.
- krlx 7mo agoYeah I often find myself with this need too and I really didn't want to open a huge Electron app each time I need to visualize or edit a simple md file. Claude helped me vibe code a small rust editor : https://github.com/Karalix/markzap https://github.com/Karalix/markzap it's tuned to my usage, you should make your own too !
- aerhardt 7mo agoPlease.