21 lines
520 B
Markdown
21 lines
520 B
Markdown
<div style="width: 100%; font-size: 10pt; font-family: sans-serif; line-height: 1.4;">
|
|
<div><% tp.date.now("YYYY-MM-DD") %></div>
|
|
<div>Jan Meyer</div>
|
|
<div>664237</div>
|
|
</div>
|
|
<%*
|
|
const folderPath = "11 Homework/Mathe II";
|
|
|
|
const folder = app.vault.getAbstractFileByPath(folderPath);
|
|
let fileCount = 0;
|
|
|
|
if (folder && folder.children) {
|
|
fileCount = folder.children.length;
|
|
}
|
|
|
|
const newFileName = `Homework ${String(fileCount).padStart(2, '0')}`;
|
|
|
|
await tp.file.move(`${folderPath}/${newFileName}`);
|
|
%>
|
|
|