Files
plainleaf/plugs/index/command.ts
T
2026-01-20 13:48:15 +01:00

8 lines
273 B
TypeScript

import { editor, index } from "@silverbulletmd/silverbullet/syscalls";
export async function reindexCommand() {
await editor.flashNotification("Performing full page reindex...");
await index.reindexSpace();
await editor.flashNotification("Done with page index!");
}