Getting ready to overhaul this vault

This commit is contained in:
2026-09-30 12:16:25 -04:00
parent 9080118e7b
commit 473624adbb
45 changed files with 1566 additions and 656 deletions
@@ -1,5 +1,13 @@
<%*
let title = await tp.system.prompt("Report Title");
<%-*
const subfolderName = "~Deliverables";
const currentDir = app.vault.getAbstractFileByPath(tp.file.path(true)).parent.path;
const targetDir = currentDir + "/" + subfolderName;
// Ensure the subfolder exists
if (!app.vault.getAbstractFileByPath(targetDir)) {
await app.vault.createFolder(targetDir);
}
const title = await tp.system.prompt("Note Title");
await tp.file.create_new("", targetDir + "/" + title, false);
let num = await tp.system.prompt("Report Number");
let locall = await tp.system.prompt("Local Link");
let remotel = await tp.system.prompt("Remote Link");