13 lines
362 B
TypeScript
13 lines
362 B
TypeScript
|
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");
|
||
|
}
|