vault backup: 2026-04-16 12:13:50

This commit is contained in:
Jan Meyer
2026-04-16 12:13:50 +02:00
parent b51f305a53
commit 944dc67916
6 changed files with 41 additions and 12 deletions

View File

@@ -1,9 +1,11 @@
{
"theme": "moonstone",
"theme": "obsidian",
"interfaceFontFamily": "Noto Sans",
"cssTheme": "Tokyo Night",
"cssTheme": "Minimal",
"enabledCssSnippets": [
"export",
"matugen"
]
],
"accentColor": "#1c8728",
"baseFontSize": 22
}

View File

@@ -14,17 +14,17 @@
"concurrency": "5",
"prevConfig": {
"pageSize": "A4",
"marginType": "1",
"showTitle": false,
"marginType": "3",
"showTitle": true,
"open": true,
"scale": 100,
"landscape": false,
"marginTop": "10",
"marginBottom": "10",
"marginLeft": "10",
"marginRight": "10",
"displayHeader": true,
"displayFooter": true,
"marginTop": "3.5",
"marginBottom": "2",
"marginLeft": "3.5",
"marginRight": "2",
"displayHeader": false,
"displayFooter": false,
"cssSnippet": "0"
}
}

View File

@@ -8,7 +8,7 @@
"lineWidth": 40,
"lineWidthWide": 50,
"maxWidth": 88,
"textNormal": 16,
"textNormal": 22,
"textSmall": 13,
"imgGrid": false,
"imgWidth": "img-default-width",

View File

@@ -17,6 +17,10 @@
{
"folder": "/",
"template": "99 Templates/New File Template.md"
},
{
"folder": "11 Homework/Mathe II",
"template": "99 Templates/Math Homework Template.md"
}
],
"enable_file_templates": false,

3
.obsidian/templates.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"folder": ""
}

View File

@@ -0,0 +1,20 @@
<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}`);
%>