Initial commit

This commit is contained in:
2026-03-02 17:06:32 +00:00
commit 430dd71917
1190 changed files with 622790 additions and 0 deletions

27
.trash/2026-01-08 1642.md Normal file
View File

@@ -0,0 +1,27 @@
<%*
const fm = tp.frontmatter;
const created = fm.created || tp.file.creation_date("YYYY-MM-DD[T]HH:mm:ss");
const date = fm.date || String(created).substring(0,10);
let time = String(created).substring(11,16);
let title = fm.title
if (!title){
title = await tp.system.prompt("Enter title")
}
else{
title = fm.title
}
// Rename the file using the extracted date + current title
let HHmm = time.replace(/:/g, "").substring(0, 4);
await tp.file.rename(`${date} ${HHmm} ${title}`);
-%>
---
date: <% date %>
created: <% created %>
up:
- "[[Journal]]"
title: <% title %>
tags:
---
<% created %>