Fixes #408: adding about and getting started command

This commit is contained in:
Zef Hemel
2023-05-26 16:37:32 +02:00
parent 9a562dd0fb
commit 50651dc185
2 changed files with 22 additions and 0 deletions
+12
View File
@@ -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");
}