Closed tmichela closed 1 month ago
+1 on this, just started using Silverbullet and a lot of stuff was not working, changing the SETTINGS
codeblock from space-config
to yaml
solved it for me.
Please list the plugs this applies to. They need to be updated.
Ok, this is causing more problems than I anticipated. I had hoped all plugs would be updated more quickly. In https://github.com/silverbulletmd/silverbullet/commit/e6f010faad7dba7248619a5b336afb43448ff981 I'll revert back to use yaml for now. So from the next release, freshly generated SETTINGS will use the yaml
block type again.
Please list the plugs this applies to. They need to be updated.
For now, i had this with both AI and TreeView.
I'm not sure if it has to do with any of this, but when i had my settings as space-config
, i was getting an error on the "indexPage" parameter, saying indexPage must match format "page-ref"
, and when i changed it to page-ref
it said indexPage must be string
, which was solved by changing to YAML.
@moreirapenna2 that's another issue, the error may not be clear but a page-ref means a string in the form "[[some page]]"
. So if you put something like "some page"
there, this is not an accepted value.
@moreirapenna2 that's another issue, the error may not be clear but a page-ref means a string in the form
"[[some page]]"
. So if you put something like"some page"
there, this is not an accepted value.
Indeed! Seems like transforming a page-ref
into a string by using quotes solves it, thank you!
I just noticed the default generated SETTINGS used the wrong format, fixed that too. Releasing 0.9.4 now.
I recently installed a fresh silverbullet and noticed that the generate configuration at
SETTINGS
changed fromyaml
tospace-config
.It appears that settings for plugs (I tried the git and the treeview plugs) are ignored.
If I change the type of the code block back to
yaml
all work fine again