For those tracking the v2 builds, let me use this topic to post a few updates as I push them:
I just merged the two datastores that were previously used into one, in effect this will mean that when you upgrade to the latest v2 build, a full resync will happen.
I’ve renamed the Debug: Reset Client command to System: Wipe Client and fixed some issues with it (it used to get stuck).
I just improved Lua parse error reporting, it should have a better pointer to where the issue is now.
I did some work on the Lua-JS interop layer, hopefully this didn’t result in any regressions. Let me know if you notice anything (if anywhere: likely when using syscalls from Lua)
The Share plug is now gone, I’ve been thinking of removing this and replacing it with something else which happened, because…
I implemented new Import and Export infrastructure, I’ll start a separate topic on that in a few minutes.
I’m in a heavy cleanup stage preparing for a v2 release. So some (possibly) breaking changes ahead.
Shortcuts
The shortcuts configuration is now gone, it has been replaced with command.update allowing you to “patch” existing commands, which should be the 90% use case. See Library/Std/Command for examples on how to use it to set custom key bindings (or unset existing ones).
Action buttons
I just made a breaking change to the actionButtons configuration option. Rather than letting it redirect to existing commands, I replaced this with simply having a run callback which is much more flexible. See silverbullet.md’s own CONFIG for an example on how its action buttons are configured.
Markdown preview
Has now been removed. This was basically a legacy feature from the days that Live Preview didn’t exist. It was always half-working and rather ugly. The remaining use case was the “Print” button, but I think this can better be reimplemented with a export to PDF option later.