vault backup: 2022-12-08 02:34:16

This commit is contained in:
Bram Adams
2022-12-08 02:34:16 -06:00
parent a17d1c688e
commit cb2fe30ffc
6 changed files with 90 additions and 20 deletions

View File

@@ -25,9 +25,36 @@ module.exports = async function createProject(params) {
await params.app.vault.create(`${absolutePath}/Scratchpad.md`, "# Scratchpad\n\n");
// // Create a Kanban file in the new folder
await params.app.vault.create(`${absolutePath}/Kanban.md`, `# Kanban\n\n## To Do\n\n## Doing\n\n## Done`);
await params.app.vault.create(`${absolutePath}/Kanban.md`, `---
kanban-plugin: basic
---
## To Do
## In Progress
## Done
**Complete**
## Waiting On
%% kanban:settings
\`\`\`
{"kanban-plugin":"basic"}
\`\`\`
%%`);
// Open the new file
await params.app.workspace.activeLeaf.openFile(newFile);
}