Hello and thank you for your work on this software first !
I recently found silverbullet and I thought I might share my initial observations, which while opinionated I hope will improve overall user experience.
Separate out the silverbullet config files location from the docs location where md files are stored.
This is very important l think, when anyone who already has docs / md files in an existing folder can take silverbullet for a spin, without worrying too much. Right now, only /space is mapped and silverbullet wants to write the settings file to that location, which is not ideal.
More clarity on what settings.md is about ?
Currently, It looks like the only (??) setting in settings.md is for index file - which could be set as a environment var and this file is not needed ? If there are more settings, perhaps separating them into a silverbullet specific folder (as mentioned above) would be better ?
Support a read-only mode via an environment var ?
If there is a environment var where we can tell silverbullet to operate in a read-only mode, that will be nice
An Env var to start silver bullet in dark mode by default ?
Render / Support mermaid diagrams as supported by other prominenet tools like markdown-preview-enhanced, mkdocs, etc
graph TD;
A --> B;
A --> C;
C -->D
Thank you again for this software and keen to hear your thoughts / opinions so I can also understand how silverbullet is supposed to be setup / used properly.
Hmm, yeah this is an option. I'm not 100% happy with how settings are handled now in general, but my thinking was "everything is a page, so let's put settings in a page too" that way it travels with the content, just like plugs do (which are kept in _plugs if you install custom ones).
Again, not super happy with the settings systems, but there are many more supported settings: https://silverbullet.md/SETTINGS I've just updated the default-generated SETTINGS page with a link to that page (will be part of the next release).
I'd rather create a SETTINGS setting for this than polluting the environment variable namespace with even more settings. The reason I haven't put it in SETTINGS is that I can imagine this is a per-client setting, not per space. Perhaps you want dark mode on your desktop, but not mobile for instance.
Hello and thank you for your work on this software first !
I recently found silverbullet and I thought I might share my initial observations, which while opinionated I hope will improve overall user experience.
graph TD;
A --> B; A --> C; C -->D