Problems with SETTING of PLUGs

Hi,

just discovered this very nice tool and trying to get it to use.
However, I have some trouble getting it to work properly:

I installed version 0.9.2 and some PLUGs: treeview and pub (among others).
The treeview is visible after start and I can use the “publish all” function.
However, the “_public” folder does only contain “index.json” with no content.
I tried to change some settings in the SETTINGS file, but that has no effects.

Besides the publish PLUG issue, I wanted the treeview to be right-handed side, but the treeview settings do not have any effect, too.

So either I’m doing something wrong in my SETTINGS, or silverbullet (or the PLUGS) are ignoring them…

This is my current SETTINGS file (the content of the “space-config” block:

indexPage: index
libraries:
- import: "[[!silverbullet.md/Library/Core/*]]"

treeview:
  # Determines where the panel is displayed:
  # - "lhs" - left hand side
  # - "rhs" - right hand side
  # - "bhs" - bottom
  # - "modal" - in a modal
  position: rhs

  # Must be > 0.
  # position = "lhs" | "rhs": determines the width of the panel.
  # position = "modal": sets the margin around the modal window.
  # position = "bhs": No effect
  size: 1

  dragAndDrop:
    # Set to false to disable drag-and-drop
    enabled: true

actionButtons:
- icon: home # Use any icon from https://feathericons.com
  command: "{[Navigate: Home]}"
  description: "Go to the index page"
- icon: sidebar
  command: "{[Tree View: Toggle]}"
  description: "Toggle Tree View"
- icon: arrow-left
  command: "{[Navigate: Back in History]}"
  description: "Go to the previous page"
  mobile: true # Only show on mobile devices, set to false to show only on desktop
- icon: activity
  description: "What's new"
  command: '{[Navigate: To Page]("CHANGELOG")}'
- icon: book
  command: "{[Navigate: Page Picker]}"
  description: Open page
- icon: terminal
  command: "{[Open Command Palette]}"
  description: Run command

publish:
  # indexPage specific to the published site
  indexPage: README
  # Site title
  title: SilverBullet Publish
  # publishServer: https://zef-pub.deno.dev
  # Page containing the handlebars template to use to render pages
  # defaults to "!pub.silverbullet.md/template/page"
  template: template/page
  # Destination prefix for where to write the files to (has to be inside the space), defaults to public/
  destPrefix: _public/
  # Remove hashtags from the output
  removeHashtags: true
  # Entirely remove page links to pages that are not published 
  removeUnpublishedLinks: false
  # Publish ALL pages in this space (defaults to false)
  publishAll: true
  # Publish all pages with a specifix prefix only (assuming publishAll is off)
  #prefixes:
  #- /public
  # Publish all pages with specific tag only (assuming publishAll is off)

BTW: I already tried to “reindex”, “system: reload”, reloading the browser window and restarted the executable, too.

There is no error message on the console.

The effect is the same, if I use a version running on docker or using a local version.
So I’m pretty sure, it is my fault somewhere :slight_smile:

Anyone has any hint? Thanks in advance!

Regards,
Nico

Yes. These plugs still need to be updated to support space config blocks. Until that happens changing the fenced code block language from space-config to yaml in your SETTINGS should fix it until then.

Thanks a lot, Zef!
Now both PLUGS (pub and treeview) work like a charm :slight_smile:

Looking forward for the next tests, as these breaking points are solved!