vault backup: 2026-04-16 12:13:50
This commit is contained in:
8
.obsidian/appearance.json
vendored
8
.obsidian/appearance.json
vendored
@@ -1,9 +1,11 @@
|
|||||||
{
|
{
|
||||||
"theme": "moonstone",
|
"theme": "obsidian",
|
||||||
"interfaceFontFamily": "Noto Sans",
|
"interfaceFontFamily": "Noto Sans",
|
||||||
"cssTheme": "Tokyo Night",
|
"cssTheme": "Minimal",
|
||||||
"enabledCssSnippets": [
|
"enabledCssSnippets": [
|
||||||
"export",
|
"export",
|
||||||
"matugen"
|
"matugen"
|
||||||
]
|
],
|
||||||
|
"accentColor": "#1c8728",
|
||||||
|
"baseFontSize": 22
|
||||||
}
|
}
|
||||||
16
.obsidian/plugins/better-export-pdf/data.json
vendored
16
.obsidian/plugins/better-export-pdf/data.json
vendored
@@ -14,17 +14,17 @@
|
|||||||
"concurrency": "5",
|
"concurrency": "5",
|
||||||
"prevConfig": {
|
"prevConfig": {
|
||||||
"pageSize": "A4",
|
"pageSize": "A4",
|
||||||
"marginType": "1",
|
"marginType": "3",
|
||||||
"showTitle": false,
|
"showTitle": true,
|
||||||
"open": true,
|
"open": true,
|
||||||
"scale": 100,
|
"scale": 100,
|
||||||
"landscape": false,
|
"landscape": false,
|
||||||
"marginTop": "10",
|
"marginTop": "3.5",
|
||||||
"marginBottom": "10",
|
"marginBottom": "2",
|
||||||
"marginLeft": "10",
|
"marginLeft": "3.5",
|
||||||
"marginRight": "10",
|
"marginRight": "2",
|
||||||
"displayHeader": true,
|
"displayHeader": false,
|
||||||
"displayFooter": true,
|
"displayFooter": false,
|
||||||
"cssSnippet": "0"
|
"cssSnippet": "0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
"lineWidth": 40,
|
"lineWidth": 40,
|
||||||
"lineWidthWide": 50,
|
"lineWidthWide": 50,
|
||||||
"maxWidth": 88,
|
"maxWidth": 88,
|
||||||
"textNormal": 16,
|
"textNormal": 22,
|
||||||
"textSmall": 13,
|
"textSmall": 13,
|
||||||
"imgGrid": false,
|
"imgGrid": false,
|
||||||
"imgWidth": "img-default-width",
|
"imgWidth": "img-default-width",
|
||||||
|
|||||||
@@ -17,6 +17,10 @@
|
|||||||
{
|
{
|
||||||
"folder": "/",
|
"folder": "/",
|
||||||
"template": "99 Templates/New File Template.md"
|
"template": "99 Templates/New File Template.md"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"folder": "11 Homework/Mathe II",
|
||||||
|
"template": "99 Templates/Math Homework Template.md"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"enable_file_templates": false,
|
"enable_file_templates": false,
|
||||||
|
|||||||
3
.obsidian/templates.json
vendored
Normal file
3
.obsidian/templates.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"folder": ""
|
||||||
|
}
|
||||||
20
99 Templates/Math Homework Template.md
Normal file
20
99 Templates/Math Homework Template.md
Normal 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}`);
|
||||||
|
%>
|
||||||
|
|
||||||
Reference in New Issue
Block a user