Fixes #408: adding about and getting started command
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { editor } from "$sb/silverbullet-syscall/mod.ts";
|
||||
import { version } from "../../version.ts";
|
||||
|
||||
export async function versionCommand() {
|
||||
await editor.flashNotification(
|
||||
`You are currently running SilverBullet ${version}`,
|
||||
);
|
||||
}
|
||||
|
||||
export async function gettingStartedCommand() {
|
||||
await editor.openUrl("https://silverbullet.md/Getting%20Started");
|
||||
}
|
||||
Reference in New Issue
Block a user