V2 Changelog

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.

5 Likes