Merge pull request #2136 from TriliumNext/dateNote

Calendar template docs update
This commit is contained in:
JYC333 2025-06-04 22:15:05 +02:00 committed by GitHub
commit c40e224727
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
47 changed files with 217 additions and 164 deletions

View File

@ -19,52 +19,6 @@
"attachments": [], "attachments": [],
"dirFileName": "root", "dirFileName": "root",
"children": [ "children": [
{
"isClone": false,
"noteId": "uXI8DRRYXWKs",
"notePath": [
"root",
"uXI8DRRYXWKs"
],
"title": "Journal",
"notePosition": 10,
"prefix": null,
"isExpanded": true,
"type": "book",
"mime": "",
"attributes": [
{
"type": "label",
"name": "calendarRoot",
"value": "",
"isInheritable": false,
"position": 10
},
{
"type": "label",
"name": "iconClass",
"value": "bx bx-calendar",
"isInheritable": false,
"position": 20
},
{
"type": "label",
"name": "viewType",
"value": "calendar",
"isInheritable": false,
"position": 30
},
{
"type": "label",
"name": "calendar:view",
"value": "dayGridMonth",
"isInheritable": false,
"position": 40
}
],
"dataFileName": "Journal.dat",
"attachments": []
},
{ {
"isClone": false, "isClone": false,
"noteId": "rvaX6hEaQlmk", "noteId": "rvaX6hEaQlmk",
@ -434,43 +388,55 @@
}, },
{ {
"isClone": false, "isClone": false,
"noteId": "zoH8XiuiEJSV", "noteId": "uXI8DRRYXWKs",
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV" "uXI8DRRYXWKs"
], ],
"title": "Journal", "title": "Journal",
"notePosition": 30, "notePosition": 30,
"prefix": null, "prefix": null,
"isExpanded": false, "isExpanded": false,
"type": "text", "type": "book",
"mime": "text/html", "mime": "",
"attributes": [ "attributes": [
{ {
"type": "label", "type": "label",
"name": "sorted", "name": "calendarRoot",
"value": "", "value": "",
"isInheritable": false, "isInheritable": false,
"position": 10 "position": 10
}, },
{
"type": "relation",
"name": "child:child:child:template",
"value": "kr6HIBBuXRwm",
"isInheritable": false,
"position": 20
},
{ {
"type": "label", "type": "label",
"name": "iconClass", "name": "iconClass",
"value": "bx bx-calendar", "value": "bx bx-calendar",
"isInheritable": false, "isInheritable": false,
"position": 20
},
{
"type": "label",
"name": "viewType",
"value": "calendar",
"isInheritable": false,
"position": 30 "position": 30
},
{
"type": "label",
"name": "calendar:view",
"value": "dayGridMonth",
"isInheritable": false,
"position": 40
},
{
"type": "relation",
"name": "dateTemplate",
"value": "kr6HIBBuXRwm",
"isInheritable": false,
"position": 50
} }
], ],
"format": "html",
"dataFileName": "Journal.html",
"attachments": [], "attachments": [],
"dirFileName": "Journal", "dirFileName": "Journal",
"children": [ "children": [
@ -480,13 +446,13 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET" "b3kSYO90QeET"
], ],
"title": "2021", "title": "2021",
"notePosition": 10, "notePosition": 10,
"prefix": null, "prefix": null,
"isExpanded": false, "isExpanded": true,
"type": "text", "type": "text",
"mime": "text/html", "mime": "text/html",
"attributes": [ "attributes": [
@ -522,7 +488,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"iYU0SglOv14g" "iYU0SglOv14g"
], ],
@ -565,7 +531,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"iYU0SglOv14g", "iYU0SglOv14g",
"snHll0LeHI7G" "snHll0LeHI7G"
@ -603,7 +569,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"iYU0SglOv14g", "iYU0SglOv14g",
"snHll0LeHI7G", "snHll0LeHI7G",
@ -626,7 +592,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"iYU0SglOv14g", "iYU0SglOv14g",
"snHll0LeHI7G", "snHll0LeHI7G",
@ -649,7 +615,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"iYU0SglOv14g", "iYU0SglOv14g",
"snHll0LeHI7G", "snHll0LeHI7G",
@ -676,7 +642,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk" "SbaYih0D3uUk"
], ],
@ -719,7 +685,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"BL4b1a0UF8Lx" "BL4b1a0UF8Lx"
@ -764,7 +730,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"BL4b1a0UF8Lx", "BL4b1a0UF8Lx",
@ -787,7 +753,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"BL4b1a0UF8Lx", "BL4b1a0UF8Lx",
@ -817,7 +783,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"BL4b1a0UF8Lx", "BL4b1a0UF8Lx",
@ -855,7 +821,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"BL4b1a0UF8Lx", "BL4b1a0UF8Lx",
@ -893,7 +859,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"BL4b1a0UF8Lx", "BL4b1a0UF8Lx",
@ -931,7 +897,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"BL4b1a0UF8Lx", "BL4b1a0UF8Lx",
@ -969,7 +935,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"BL4b1a0UF8Lx", "BL4b1a0UF8Lx",
@ -1007,7 +973,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"BL4b1a0UF8Lx", "BL4b1a0UF8Lx",
@ -1045,7 +1011,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"BL4b1a0UF8Lx", "BL4b1a0UF8Lx",
@ -1083,7 +1049,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"BL4b1a0UF8Lx", "BL4b1a0UF8Lx",
@ -1121,7 +1087,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"BL4b1a0UF8Lx", "BL4b1a0UF8Lx",
@ -1159,7 +1125,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"BL4b1a0UF8Lx", "BL4b1a0UF8Lx",
@ -1197,7 +1163,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"BL4b1a0UF8Lx", "BL4b1a0UF8Lx",
@ -1235,7 +1201,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"BL4b1a0UF8Lx", "BL4b1a0UF8Lx",
@ -1275,7 +1241,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"BL4b1a0UF8Lx", "BL4b1a0UF8Lx",
@ -1336,7 +1302,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"E5ZFA3tndbcj" "E5ZFA3tndbcj"
@ -1381,7 +1347,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"E5ZFA3tndbcj", "E5ZFA3tndbcj",
@ -1442,7 +1408,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"YQxQ5rcWiFvQ" "YQxQ5rcWiFvQ"
@ -1486,7 +1452,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"Vf0GuwMAsitj" "Vf0GuwMAsitj"
@ -1531,7 +1497,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"Vf0GuwMAsitj", "Vf0GuwMAsitj",
@ -1554,7 +1520,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"Vf0GuwMAsitj", "Vf0GuwMAsitj",
@ -1579,7 +1545,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"ilB1T75UG19p" "ilB1T75UG19p"
@ -1624,7 +1590,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"ilB1T75UG19p", "ilB1T75UG19p",
@ -1647,7 +1613,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"ilB1T75UG19p", "ilB1T75UG19p",
@ -1671,7 +1637,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"ilB1T75UG19p", "ilB1T75UG19p",
@ -1699,7 +1665,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"Zjezi8WBQ1Mu" "Zjezi8WBQ1Mu"
@ -1743,7 +1709,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"gW1WbDNQRMUC" "gW1WbDNQRMUC"
@ -1788,7 +1754,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"gW1WbDNQRMUC", "gW1WbDNQRMUC",
@ -1870,7 +1836,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"gW1WbDNQRMUC", "gW1WbDNQRMUC",
@ -1945,7 +1911,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"SbaYih0D3uUk", "SbaYih0D3uUk",
"c5sYRApFBW5v" "c5sYRApFBW5v"
@ -1984,7 +1950,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"AD8gDaZaJekk" "AD8gDaZaJekk"
], ],
@ -2006,7 +1972,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"AD8gDaZaJekk", "AD8gDaZaJekk",
"c3NaitsUCQck" "c3NaitsUCQck"
@ -2029,7 +1995,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"AD8gDaZaJekk", "AD8gDaZaJekk",
"c3NaitsUCQck", "c3NaitsUCQck",
@ -2052,7 +2018,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"AD8gDaZaJekk", "AD8gDaZaJekk",
"c3NaitsUCQck", "c3NaitsUCQck",
@ -2075,7 +2041,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"AD8gDaZaJekk", "AD8gDaZaJekk",
"c3NaitsUCQck", "c3NaitsUCQck",
@ -2098,7 +2064,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"AD8gDaZaJekk", "AD8gDaZaJekk",
"c3NaitsUCQck", "c3NaitsUCQck",
@ -2121,7 +2087,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"b3kSYO90QeET", "b3kSYO90QeET",
"AD8gDaZaJekk", "AD8gDaZaJekk",
"cO1ZpqA44IcF" "cO1ZpqA44IcF"
@ -2147,7 +2113,7 @@
"notePath": [ "notePath": [
"root", "root",
"rvaX6hEaQlmk", "rvaX6hEaQlmk",
"zoH8XiuiEJSV", "uXI8DRRYXWKs",
"kr6HIBBuXRwm" "kr6HIBBuXRwm"
], ],
"title": "Day template", "title": "Day template",
@ -2194,7 +2160,7 @@
"bZBkjm466gSM" "bZBkjm466gSM"
], ],
"title": "Tech", "title": "Tech",
"notePosition": 40, "notePosition": 50,
"prefix": null, "prefix": null,
"isExpanded": false, "isExpanded": false,
"type": "text", "type": "text",
@ -2671,7 +2637,7 @@
"dvgVuMNvit5M" "dvgVuMNvit5M"
], ],
"title": "Note Types", "title": "Note Types",
"notePosition": 60, "notePosition": 70,
"prefix": null, "prefix": null,
"isExpanded": false, "isExpanded": false,
"type": "text", "type": "text",
@ -3451,7 +3417,7 @@
"XpCKD6IODUj2" "XpCKD6IODUj2"
], ],
"title": "Books", "title": "Books",
"notePosition": 130, "notePosition": 140,
"prefix": null, "prefix": null,
"isExpanded": false, "isExpanded": false,
"type": "text", "type": "text",
@ -3647,7 +3613,7 @@
"B2ao3EopB5yW" "B2ao3EopB5yW"
], ],
"title": "Work", "title": "Work",
"notePosition": 150, "notePosition": 160,
"prefix": null, "prefix": null,
"isExpanded": false, "isExpanded": false,
"type": "text", "type": "text",
@ -3736,7 +3702,7 @@
"Zl2So0VN2bPq" "Zl2So0VN2bPq"
], ],
"title": "Steel Blue", "title": "Steel Blue",
"notePosition": 160, "notePosition": 170,
"prefix": null, "prefix": null,
"isExpanded": false, "isExpanded": false,
"type": "code", "type": "code",
@ -3847,7 +3813,7 @@
"KZVWidxicAfn" "KZVWidxicAfn"
], ],
"title": "Scripting examples", "title": "Scripting examples",
"notePosition": 350, "notePosition": 360,
"prefix": null, "prefix": null,
"isExpanded": false, "isExpanded": false,
"type": "text", "type": "text",

View File

@ -6,6 +6,6 @@
</head> </head>
<frameset cols="25%,75%"> <frameset cols="25%,75%">
<frame name="navigation" src="navigation.html"> <frame name="navigation" src="navigation.html">
<frame name="detail" src="root/Journal.dat"> <frame name="detail" src="root/Trilium%20Demo.html">
</frameset> </frameset>
</html> </html>

View File

@ -9,8 +9,6 @@
<ul> <ul>
<li>root <li>root
<ul> <ul>
<li><a href="root/Journal.dat" target="detail">Journal</a>
</li>
<li><a href="root/Trilium%20Demo.html" target="detail">Trilium Demo</a> <li><a href="root/Trilium%20Demo.html" target="detail">Trilium Demo</a>
<ul> <ul>
<li><a href="root/Trilium%20Demo/Inbox.html" target="detail">Inbox</a> <li><a href="root/Trilium%20Demo/Inbox.html" target="detail">Inbox</a>
@ -47,7 +45,7 @@
</li> </li>
</ul> </ul>
</li> </li>
<li><a href="root/Trilium%20Demo/Journal.html" target="detail">Journal</a> <li>Journal
<ul> <ul>
<li>2021 <li>2021
<ul> <ul>

View File

View File

@ -18,22 +18,28 @@
height="150"> height="150">
</figure> </figure>
<p><strong>Welcome to TriliumNext Notes!</strong> <p><strong>Welcome to TriliumNext Notes!</strong>
</p> </p>
<p>This is initial "demo" document provided by TriliumNext by default to <p>This is initial "demo" document provided by TriliumNext by default to
showcase some of its features and also give you some ideas how you might showcase some of its features and also give you some ideas how you might
structure your notes. You can play with it, modify note content and tree structure your notes. You can play with it, modify note content and tree
structure as you wish.</p> structure as you wish.</p>
<p>If you need any help, visit TriliumNext website: <a href="https://github.com/TriliumNext">https://github.com/TriliumNext</a> <p>If you need any help, visit TriliumNext website: <a href="https://github.com/TriliumNext">https://github.com/TriliumNext</a>
</p> </p>
<h3>Cleanup</h3> <h3>Cleanup</h3>
<p>Once you're finished with experimenting and want to cleanup these pages, <p>Once you're finished with experimenting and want to cleanup these pages,
you can simply delete them all.</p> you can simply delete them all.</p>
<h3>Formatting</h3> <h3>Formatting</h3>
<p>TriliumNext supports classic formatting like <em>italic</em>, <strong>bold</strong>, <em><strong>bold and italic</strong></em>. <p>TriliumNext supports classic formatting like <em>italic</em>, <strong>bold</strong>, <em><strong>bold and italic</strong></em>.
Of course you can add links like this one pointing to <a href="http://www.google.com">google.com</a> Of course you can add links like this one pointing to <a href="http://www.google.com">google.com</a>
</p> </p>
<p>Lists</p> <p>Lists</p>
<p><strong>Ordered:</strong> <p><strong>Ordered:</strong>
</p> </p>
<ol> <ol>
<li>First Item</li> <li>First Item</li>
@ -48,6 +54,7 @@
</li> </li>
</ol> </ol>
<p><strong>Unordered:</strong> <p><strong>Unordered:</strong>
</p> </p>
<ul> <ul>
<li>Item</li> <li>Item</li>

View File

@ -14,17 +14,22 @@
<div class="ck-content"> <div class="ck-content">
<h2>Main characters</h2> <h2>Main characters</h2>
<p>… here put main characters …</p> <p>… here put main characters …</p>
<p>&nbsp;</p> <p>&nbsp;</p>
<h2>Plot</h2> <h2>Plot</h2>
<p>… describe main plot lines …</p> <p>… describe main plot lines …</p>
<p>&nbsp;</p> <p>&nbsp;</p>
<h2>Tone</h2> <h2>Tone</h2>
<p>&nbsp;</p> <p>&nbsp;</p>
<h2>Genre</h2> <h2>Genre</h2>
<p>scifi / drama / romance</p> <p>scifi / drama / romance</p>
<p>&nbsp;</p> <p>&nbsp;</p>
<h2>Similar books</h2> <h2>Similar books</h2>
<ul> <ul>
<li></li> <li></li>
</ul> </ul>

View File

@ -14,11 +14,14 @@
<div class="ck-content"> <div class="ck-content">
<p>Checkout Kindle daily deals: <a href="https://www.amazon.com/gp/feature.html?docId=1000677541">https://www.amazon.com/gp/feature.html?docId=1000677541</a> <p>Checkout Kindle daily deals: <a href="https://www.amazon.com/gp/feature.html?docId=1000677541">https://www.amazon.com/gp/feature.html?docId=1000677541</a>
</p> </p>
<ul> <ul>
<li>Cixin Liu - <a href="https://www.amazon.com/Dark-Forest-Remembrance-Earths-Past/dp/0765386690/ref=pd_bxgy_14_img_2?_encoding=UTF8&amp;pd_rd_i=0765386690&amp;pd_rd_r=AB0J179TM9NTEAMHE240&amp;pd_rd_w=FAhxX&amp;pd_rd_wg=pLGK7&amp;psc=1&amp;refRID=AB0J179TM9NTEAMHE240">The Dark Forest</a> <li>Cixin Liu - <a href="https://www.amazon.com/Dark-Forest-Remembrance-Earths-Past/dp/0765386690/ref=pd_bxgy_14_img_2?_encoding=UTF8&amp;pd_rd_i=0765386690&amp;pd_rd_r=AB0J179TM9NTEAMHE240&amp;pd_rd_w=FAhxX&amp;pd_rd_wg=pLGK7&amp;psc=1&amp;refRID=AB0J179TM9NTEAMHE240">The Dark Forest</a>
</li> </li>
<li>Ann Leckie - <a href="https://www.amazon.com/Ancillary-Sword-Imperial-Radch-Leckie/dp/0316246654/ref=pd_sim_14_1?_encoding=UTF8&amp;pd_rd_i=0316246654&amp;pd_rd_r=D7KDTGZFP7YM1YSYVY4G&amp;pd_rd_w=jkn28&amp;pd_rd_wg=JVhtw&amp;psc=1&amp;refRID=D7KDTGZFP7YM1YSYVY4G">Ancillary Sword</a> <li>Ann Leckie - <a href="https://www.amazon.com/Ancillary-Sword-Imperial-Radch-Leckie/dp/0316246654/ref=pd_sim_14_1?_encoding=UTF8&amp;pd_rd_i=0316246654&amp;pd_rd_r=D7KDTGZFP7YM1YSYVY4G&amp;pd_rd_w=jkn28&amp;pd_rd_wg=JVhtw&amp;psc=1&amp;refRID=D7KDTGZFP7YM1YSYVY4G">Ancillary Sword</a>
</li> </li>
</ul> </ul>
</div> </div>

View File

@ -18,21 +18,25 @@
<li> <li>
<label class="todo-list__label"> <label class="todo-list__label">
<input type="checkbox" disabled="disabled"><span class="todo-list__label__description">buy milk&nbsp;&nbsp;</span> <input type="checkbox" disabled="disabled"><span class="todo-list__label__description">buy milk&nbsp;&nbsp;</span>
</label> </label>
</li> </li>
<li> <li>
<label class="todo-list__label"> <label class="todo-list__label">
<input type="checkbox" checked="checked" disabled="disabled"><span class="todo-list__label__description">do the laundry&nbsp;&nbsp;</span> <input type="checkbox" checked="checked" disabled="disabled"><span class="todo-list__label__description">do the laundry&nbsp;&nbsp;</span>
</label> </label>
</li> </li>
<li> <li>
<label class="todo-list__label"> <label class="todo-list__label">
<input type="checkbox" checked="checked" disabled="disabled"><span class="todo-list__label__description">watch TV&nbsp;&nbsp;</span> <input type="checkbox" checked="checked" disabled="disabled"><span class="todo-list__label__description">watch TV&nbsp;&nbsp;</span>
</label> </label>
</li> </li>
<li> <li>
<label class="todo-list__label"> <label class="todo-list__label">
<input type="checkbox" disabled="disabled"><span class="todo-list__label__description">eat ice cream&nbsp;&nbsp;</span> <input type="checkbox" disabled="disabled"><span class="todo-list__label__description">eat ice cream&nbsp;&nbsp;</span>
</label> </label>
</li> </li>
</ul> </ul>

View File

@ -24,6 +24,7 @@
alert("Hello world"); alert("Hello world");
}</code></pre> }</code></pre>
<p>For larger pieces of code it is better to use a code note, which uses <p>For larger pieces of code it is better to use a code note, which uses
a fully-fledged code editor (CodeMirror). For an example of a code note, a fully-fledged code editor (CodeMirror). For an example of a code note,
see&nbsp;<a class="reference-link" href="../Scripting%20examples/Custom%20request%20handler.js">Custom request handler</a>.</p> see&nbsp;<a class="reference-link" href="../Scripting%20examples/Custom%20request%20handler.js">Custom request handler</a>.</p>

View File

@ -15,7 +15,9 @@
<div class="ck-content"> <div class="ck-content">
<p><span class="math-tex">\(% \f is defined as #1f(#2) using the macro \f\relax{x} = \int_{-\infty}^\infty &nbsp; &nbsp; \f\hat\xi\,e^{2 \pi i \xi x} &nbsp; &nbsp; \,d\xi\)</span>Some <p><span class="math-tex">\(% \f is defined as #1f(#2) using the macro \f\relax{x} = \int_{-\infty}^\infty &nbsp; &nbsp; \f\hat\xi\,e^{2 \pi i \xi x} &nbsp; &nbsp; \,d\xi\)</span>Some
math examples:</p><span class="math-tex">\[\displaystyle \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\cdots} } } }\]</span> math examples:</p><span class="math-tex">\[\displaystyle \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\cdots} } } }\]</span>
<p>Another:</p><span class="math-tex">\[\displaystyle \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)\]</span> <p>Another:</p><span class="math-tex">\[\displaystyle \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)\]</span>
<p>Inline math is also possible:&nbsp;<span class="math-tex">\(c^2 = a^2 + b^2\)</span>&nbsp;</p> <p>Inline math is also possible:&nbsp;<span class="math-tex">\(c^2 = a^2 + b^2\)</span>&nbsp;</p>
<p>&nbsp;</p> <p>&nbsp;</p>
</div> </div>

View File

@ -22,6 +22,7 @@
<p>This page demonstrates two things:</p> <p>This page demonstrates two things:</p>
<ul> <ul>
<li>possibility to <a href="#root/_hidden/_help/_help_KSZ04uQ2D1St/_help_iPIMuisry3hd/_help_nBAXQFj20hS1">include one note into another</a> <li>possibility to <a href="#root/_hidden/_help/_help_KSZ04uQ2D1St/_help_iPIMuisry3hd/_help_nBAXQFj20hS1">include one note into another</a>
</li> </li>
<li>PDF preview - you can read PDFs directly in Trilium!</li> <li>PDF preview - you can read PDFs directly in Trilium!</li>
</ul> </ul>

View File

@ -1,22 +0,0 @@
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../../style.css">
<base target="_parent">
<title data-trilium-title>Journal</title>
</head>
<body>
<div class="content">
<h1 data-trilium-h1>Journal</h1>
<div class="ck-content">
<p>You can read some explanation on how this journal works here: <a href="https://github.com/zadam/trilium/wiki/Day-notes">https://github.com/zadam/trilium/wiki/Day-notes</a>
</p>
</div>
</div>
</body>
</html>

View File

@ -18,6 +18,7 @@
<li> <li>
<label class="todo-list__label"> <label class="todo-list__label">
<input type="checkbox" disabled="disabled"><span class="todo-list__label__description">&nbsp;&nbsp;</span> <input type="checkbox" disabled="disabled"><span class="todo-list__label__description">&nbsp;&nbsp;</span>
</label> </label>
</li> </li>
</ul> </ul>

View File

@ -17,6 +17,7 @@
<li>XBox</li> <li>XBox</li>
<li>Candles</li> <li>Candles</li>
<li><a href="https://www.amazon.ca/Anker-SoundCore-Portable-Bluetooth-Resistance/dp/B01MTB55WH?pd_rd_wg=honW8&amp;pd_rd_r=c9bb7c0f-0051-4da7-991f-4ca711a1b3e3&amp;pd_rd_w=ciUpR&amp;ref_=pd_gw_simh&amp;pf_rd_r=K10XKX0NGPDNTYYP4BS4&amp;pf_rd_p=5f1b460b-78c1-580e-929e-2878fe4859e8">Portable speakers</a> <li><a href="https://www.amazon.ca/Anker-SoundCore-Portable-Bluetooth-Resistance/dp/B01MTB55WH?pd_rd_wg=honW8&amp;pd_rd_r=c9bb7c0f-0051-4da7-991f-4ca711a1b3e3&amp;pd_rd_w=ciUpR&amp;ref_=pd_gw_simh&amp;pf_rd_r=K10XKX0NGPDNTYYP4BS4&amp;pf_rd_p=5f1b460b-78c1-580e-929e-2878fe4859e8">Portable speakers</a>
</li> </li>
<li>...?</li> <li>...?</li>
</ul> </ul>

View File

@ -14,8 +14,10 @@
<div class="ck-content"> <div class="ck-content">
<p>Wiki: <a href="https://en.wikipedia.org/wiki/Trusted_timestamping">https://en.wikipedia.org/wiki/Trusted_timestamping</a> <p>Wiki: <a href="https://en.wikipedia.org/wiki/Trusted_timestamping">https://en.wikipedia.org/wiki/Trusted_timestamping</a>
</p> </p>
<p>Bozho: <a href="https://techblog.bozho.net/using-trusted-timestamping-java/">https://techblog.bozho.net/using-trusted-timestamping-java/</a> <p>Bozho: <a href="https://techblog.bozho.net/using-trusted-timestamping-java/">https://techblog.bozho.net/using-trusted-timestamping-java/</a>
</p> </p>
<p><strong>Trusted timestamping</strong> is the process of <a href="https://en.wikipedia.org/wiki/Computer_security">securely</a> keeping <p><strong>Trusted timestamping</strong> is the process of <a href="https://en.wikipedia.org/wiki/Computer_security">securely</a> keeping
track of the creation and modification time of a document. Security here track of the creation and modification time of a document. Security here

View File

@ -16,6 +16,7 @@
<p>Miscellaneous notes done on monday ...</p> <p>Miscellaneous notes done on monday ...</p>
<p>&nbsp;</p> <p>&nbsp;</p>
<p>Interesting video: <a href="https://www.youtube.com/watch?v=_eSAF_qT_FY&amp;feature=youtu.be">https://www.youtube.com/watch?v=_eSAF_qT_FY&amp;feature=youtu.be</a> <p>Interesting video: <a href="https://www.youtube.com/watch?v=_eSAF_qT_FY&amp;feature=youtu.be">https://www.youtube.com/watch?v=_eSAF_qT_FY&amp;feature=youtu.be</a>
</p> </p>
<p>&nbsp;</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p>&nbsp;</p>

View File

@ -18,6 +18,7 @@
<li> <li>
<label class="todo-list__label"> <label class="todo-list__label">
<input type="checkbox" disabled="disabled"><span class="todo-list__label__description">&nbsp;&nbsp;</span> <input type="checkbox" disabled="disabled"><span class="todo-list__label__description">&nbsp;&nbsp;</span>
</label> </label>
</li> </li>
</ul> </ul>

View File

@ -18,6 +18,7 @@
<li> <li>
<label class="todo-list__label"> <label class="todo-list__label">
<input type="checkbox" disabled="disabled"><span class="todo-list__label__description">&nbsp;&nbsp;</span> <input type="checkbox" disabled="disabled"><span class="todo-list__label__description">&nbsp;&nbsp;</span>
</label> </label>
</li> </li>
</ul> </ul>

View File

@ -18,6 +18,7 @@
<li> <li>
<label class="todo-list__label"> <label class="todo-list__label">
<input type="checkbox" disabled="disabled"><span class="todo-list__label__description">&nbsp;&nbsp;</span> <input type="checkbox" disabled="disabled"><span class="todo-list__label__description">&nbsp;&nbsp;</span>
</label> </label>
</li> </li>
</ul> </ul>

View File

@ -18,6 +18,7 @@
<li> <li>
<label class="todo-list__label"> <label class="todo-list__label">
<input type="checkbox" disabled="disabled"><span class="todo-list__label__description">&nbsp;&nbsp;</span> <input type="checkbox" disabled="disabled"><span class="todo-list__label__description">&nbsp;&nbsp;</span>
</label> </label>
</li> </li>
</ul> </ul>

View File

@ -18,6 +18,7 @@
<li> <li>
<label class="todo-list__label"> <label class="todo-list__label">
<input type="checkbox" disabled="disabled"><span class="todo-list__label__description">&nbsp;&nbsp;</span> <input type="checkbox" disabled="disabled"><span class="todo-list__label__description">&nbsp;&nbsp;</span>
</label> </label>
</li> </li>
</ul> </ul>

View File

@ -18,6 +18,7 @@
<li> <li>
<label class="todo-list__label"> <label class="todo-list__label">
<input type="checkbox" disabled="disabled"><span class="todo-list__label__description">&nbsp;&nbsp;</span> <input type="checkbox" disabled="disabled"><span class="todo-list__label__description">&nbsp;&nbsp;</span>
</label> </label>
</li> </li>
</ul> </ul>

View File

@ -18,6 +18,7 @@
width="209" height="300"> width="209" height="300">
</figure> </figure>
<p>Maybe CodeNames? <a href="https://boardgamegeek.com/boardgame/178900/codenames">https://boardgamegeek.com/boardgame/178900/codenames</a> <p>Maybe CodeNames? <a href="https://boardgamegeek.com/boardgame/178900/codenames">https://boardgamegeek.com/boardgame/178900/codenames</a>
</p> </p>
</div> </div>
</div> </div>

View File

@ -18,6 +18,7 @@
<li> <li>
<label class="todo-list__label"> <label class="todo-list__label">
<input type="checkbox" disabled="disabled"><span class="todo-list__label__description">&nbsp;&nbsp;</span> <input type="checkbox" disabled="disabled"><span class="todo-list__label__description">&nbsp;&nbsp;</span>
</label> </label>
</li> </li>
</ul> </ul>

View File

@ -18,6 +18,7 @@
<li> <li>
<label class="todo-list__label"> <label class="todo-list__label">
<input type="checkbox" disabled="disabled"><span class="todo-list__label__description">&nbsp;&nbsp;</span> <input type="checkbox" disabled="disabled"><span class="todo-list__label__description">&nbsp;&nbsp;</span>
</label> </label>
</li> </li>
</ul> </ul>

View File

@ -24,14 +24,17 @@
<span <span
class="footnote-reference" data-footnote-reference="" data-footnote-index="1" class="footnote-reference" data-footnote-reference="" data-footnote-index="1"
data-footnote-id="6qz4pm021mi" role="doc-noteref" id="fnref6qz4pm021mi"><sup><a href="#fn6qz4pm021mi">[1]</a></sup> data-footnote-id="6qz4pm021mi" role="doc-noteref" id="fnref6qz4pm021mi"><sup><a href="#fn6qz4pm021mi">[1]</a></sup>
</span> </span>
</p> </p>
<ol class="footnote-section footnotes" data-footnote-section="" role="doc-endnotes"> <ol class="footnote-section footnotes" data-footnote-section="" role="doc-endnotes">
<li class="footnote-item" data-footnote-item="" data-footnote-index="1" <li class="footnote-item" data-footnote-item="" data-footnote-index="1"
data-footnote-id="6qz4pm021mi" role="doc-endnote" id="fn6qz4pm021mi"><span class="footnote-back-link" data-footnote-back-link="" data-footnote-id="6qz4pm021mi"><sup><strong><a href="#fnref6qz4pm021mi">^</a></strong></sup></span> data-footnote-id="6qz4pm021mi" role="doc-endnote" id="fn6qz4pm021mi"><span class="footnote-back-link" data-footnote-back-link="" data-footnote-id="6qz4pm021mi"><sup><strong><a href="#fnref6qz4pm021mi">^</a></strong></sup></span>
<div <div
class="footnote-content" data-footnote-content=""> class="footnote-content" data-footnote-content="">
<p><a href="https://www.thecollector.com/what-are-the-seven-wonders-of-the-world/">What Are the 7 Wonders of the World? (with HD Images) | TheCollector</a> <p><a href="https://www.thecollector.com/what-are-the-seven-wonders-of-the-world/">What Are the 7 Wonders of the World? (with HD Images) | TheCollector</a>
</p> </p>
</div> </div>
</li> </li>

View File

@ -26,13 +26,16 @@
been brought to its knees.<span class="footnote-reference" data-footnote-reference="" been brought to its knees.<span class="footnote-reference" data-footnote-reference=""
data-footnote-index="1" data-footnote-id="o6g991vkrwj" role="doc-noteref" data-footnote-index="1" data-footnote-id="o6g991vkrwj" role="doc-noteref"
id="fnrefo6g991vkrwj"><sup><a href="#fno6g991vkrwj">[1]</a></sup></span> id="fnrefo6g991vkrwj"><sup><a href="#fno6g991vkrwj">[1]</a></sup></span>
</p> </p>
<ol class="footnote-section footnotes" data-footnote-section="" role="doc-endnotes"> <ol class="footnote-section footnotes" data-footnote-section="" role="doc-endnotes">
<li class="footnote-item" data-footnote-item="" data-footnote-index="1" <li class="footnote-item" data-footnote-item="" data-footnote-index="1"
data-footnote-id="o6g991vkrwj" role="doc-endnote" id="fno6g991vkrwj"><span class="footnote-back-link" data-footnote-back-link="" data-footnote-id="o6g991vkrwj"><sup><strong><a href="#fnrefo6g991vkrwj">^</a></strong></sup></span> data-footnote-id="o6g991vkrwj" role="doc-endnote" id="fno6g991vkrwj"><span class="footnote-back-link" data-footnote-back-link="" data-footnote-id="o6g991vkrwj"><sup><strong><a href="#fnrefo6g991vkrwj">^</a></strong></sup></span>
<div <div
class="footnote-content" data-footnote-content=""> class="footnote-content" data-footnote-content="">
<p><a href="https://www.thecollector.com/what-are-the-seven-wonders-of-the-world/">What Are the 7 Wonders of the World? (with HD Images) | TheCollector</a> <p><a href="https://www.thecollector.com/what-are-the-seven-wonders-of-the-world/">What Are the 7 Wonders of the World? (with HD Images) | TheCollector</a>
</p> </p>
</div> </div>
</li> </li>

View File

@ -22,13 +22,16 @@
around 1450 in polished drystone walls.<span class="footnote-reference" around 1450 in polished drystone walls.<span class="footnote-reference"
data-footnote-reference="" data-footnote-index="1" data-footnote-id="4prjheuho88" data-footnote-reference="" data-footnote-index="1" data-footnote-id="4prjheuho88"
role="doc-noteref" id="fnref4prjheuho88"><sup><a href="#fn4prjheuho88">[1]</a></sup></span> role="doc-noteref" id="fnref4prjheuho88"><sup><a href="#fn4prjheuho88">[1]</a></sup></span>
</p> </p>
<ol class="footnote-section footnotes" data-footnote-section="" role="doc-endnotes"> <ol class="footnote-section footnotes" data-footnote-section="" role="doc-endnotes">
<li class="footnote-item" data-footnote-item="" data-footnote-index="1" <li class="footnote-item" data-footnote-item="" data-footnote-index="1"
data-footnote-id="4prjheuho88" role="doc-endnote" id="fn4prjheuho88"><span class="footnote-back-link" data-footnote-back-link="" data-footnote-id="4prjheuho88"><sup><strong><a href="#fnref4prjheuho88">^</a></strong></sup></span> data-footnote-id="4prjheuho88" role="doc-endnote" id="fn4prjheuho88"><span class="footnote-back-link" data-footnote-back-link="" data-footnote-id="4prjheuho88"><sup><strong><a href="#fnref4prjheuho88">^</a></strong></sup></span>
<div <div
class="footnote-content" data-footnote-content=""> class="footnote-content" data-footnote-content="">
<p><a href="https://www.thecollector.com/what-are-the-seven-wonders-of-the-world/">What Are the 7 Wonders of the World? (with HD Images) | TheCollector</a> <p><a href="https://www.thecollector.com/what-are-the-seven-wonders-of-the-world/">What Are the 7 Wonders of the World? (with HD Images) | TheCollector</a>
</p> </p>
</div> </div>
</li> </li>

View File

@ -23,13 +23,16 @@
by earthquakes.<span class="footnote-reference" data-footnote-reference="" by earthquakes.<span class="footnote-reference" data-footnote-reference=""
data-footnote-index="1" data-footnote-id="ej5sd0bakne" role="doc-noteref" data-footnote-index="1" data-footnote-id="ej5sd0bakne" role="doc-noteref"
id="fnrefej5sd0bakne"><sup><a href="#fnej5sd0bakne">[1]</a></sup></span> id="fnrefej5sd0bakne"><sup><a href="#fnej5sd0bakne">[1]</a></sup></span>
</p> </p>
<ol class="footnote-section footnotes" data-footnote-section="" role="doc-endnotes"> <ol class="footnote-section footnotes" data-footnote-section="" role="doc-endnotes">
<li class="footnote-item" data-footnote-item="" data-footnote-index="1" <li class="footnote-item" data-footnote-item="" data-footnote-index="1"
data-footnote-id="ej5sd0bakne" role="doc-endnote" id="fnej5sd0bakne"><span class="footnote-back-link" data-footnote-back-link="" data-footnote-id="ej5sd0bakne"><sup><strong><a href="#fnrefej5sd0bakne">^</a></strong></sup></span> data-footnote-id="ej5sd0bakne" role="doc-endnote" id="fnej5sd0bakne"><span class="footnote-back-link" data-footnote-back-link="" data-footnote-id="ej5sd0bakne"><sup><strong><a href="#fnrefej5sd0bakne">^</a></strong></sup></span>
<div <div
class="footnote-content" data-footnote-content=""> class="footnote-content" data-footnote-content="">
<p><a href="https://www.thecollector.com/what-are-the-seven-wonders-of-the-world/">What Are the 7 Wonders of the World? (with HD Images) | TheCollector</a> <p><a href="https://www.thecollector.com/what-are-the-seven-wonders-of-the-world/">What Are the 7 Wonders of the World? (with HD Images) | TheCollector</a>
</p> </p>
</div> </div>
</li> </li>

View File

@ -26,14 +26,17 @@
<span <span
class="footnote-reference" data-footnote-reference="" data-footnote-index="1" class="footnote-reference" data-footnote-reference="" data-footnote-index="1"
data-footnote-id="4kitkusvyi3" role="doc-noteref" id="fnref4kitkusvyi3"><sup><a href="#fn4kitkusvyi3">[1]</a></sup> data-footnote-id="4kitkusvyi3" role="doc-noteref" id="fnref4kitkusvyi3"><sup><a href="#fn4kitkusvyi3">[1]</a></sup>
</span> </span>
</p> </p>
<ol class="footnote-section footnotes" data-footnote-section="" role="doc-endnotes"> <ol class="footnote-section footnotes" data-footnote-section="" role="doc-endnotes">
<li class="footnote-item" data-footnote-item="" data-footnote-index="1" <li class="footnote-item" data-footnote-item="" data-footnote-index="1"
data-footnote-id="4kitkusvyi3" role="doc-endnote" id="fn4kitkusvyi3"><span class="footnote-back-link" data-footnote-back-link="" data-footnote-id="4kitkusvyi3"><sup><strong><a href="#fnref4kitkusvyi3">^</a></strong></sup></span> data-footnote-id="4kitkusvyi3" role="doc-endnote" id="fn4kitkusvyi3"><span class="footnote-back-link" data-footnote-back-link="" data-footnote-id="4kitkusvyi3"><sup><strong><a href="#fnref4kitkusvyi3">^</a></strong></sup></span>
<div <div
class="footnote-content" data-footnote-content=""> class="footnote-content" data-footnote-content="">
<p><a href="https://www.thecollector.com/what-are-the-seven-wonders-of-the-world/">What Are the 7 Wonders of the World? (with HD Images) | TheCollector</a> <p><a href="https://www.thecollector.com/what-are-the-seven-wonders-of-the-world/">What Are the 7 Wonders of the World? (with HD Images) | TheCollector</a>
</p> </p>
</div> </div>
</li> </li>

View File

@ -23,14 +23,17 @@
<span <span
class="footnote-reference" data-footnote-reference="" data-footnote-index="1" class="footnote-reference" data-footnote-reference="" data-footnote-index="1"
data-footnote-id="o0o2das7ljm" role="doc-noteref" id="fnrefo0o2das7ljm"><sup><a href="#fno0o2das7ljm">[1]</a></sup> data-footnote-id="o0o2das7ljm" role="doc-noteref" id="fnrefo0o2das7ljm"><sup><a href="#fno0o2das7ljm">[1]</a></sup>
</span> </span>
</p> </p>
<ol class="footnote-section footnotes" data-footnote-section="" role="doc-endnotes"> <ol class="footnote-section footnotes" data-footnote-section="" role="doc-endnotes">
<li class="footnote-item" data-footnote-item="" data-footnote-index="1" <li class="footnote-item" data-footnote-item="" data-footnote-index="1"
data-footnote-id="o0o2das7ljm" role="doc-endnote" id="fno0o2das7ljm"><span class="footnote-back-link" data-footnote-back-link="" data-footnote-id="o0o2das7ljm"><sup><strong><a href="#fnrefo0o2das7ljm">^</a></strong></sup></span> data-footnote-id="o0o2das7ljm" role="doc-endnote" id="fno0o2das7ljm"><span class="footnote-back-link" data-footnote-back-link="" data-footnote-id="o0o2das7ljm"><sup><strong><a href="#fnrefo0o2das7ljm">^</a></strong></sup></span>
<div <div
class="footnote-content" data-footnote-content=""> class="footnote-content" data-footnote-content="">
<p><a href="https://www.thecollector.com/what-are-the-seven-wonders-of-the-world/">What Are the 7 Wonders of the World? (with HD Images) | TheCollector</a> <p><a href="https://www.thecollector.com/what-are-the-seven-wonders-of-the-world/">What Are the 7 Wonders of the World? (with HD Images) | TheCollector</a>
</p> </p>
</div> </div>
</li> </li>

View File

@ -23,13 +23,16 @@
the complex.<span class="footnote-reference" data-footnote-reference="" the complex.<span class="footnote-reference" data-footnote-reference=""
data-footnote-index="1" data-footnote-id="zzzjn52iwk" role="doc-noteref" data-footnote-index="1" data-footnote-id="zzzjn52iwk" role="doc-noteref"
id="fnrefzzzjn52iwk"><sup><a href="#fnzzzjn52iwk">[1]</a></sup></span> id="fnrefzzzjn52iwk"><sup><a href="#fnzzzjn52iwk">[1]</a></sup></span>
</p> </p>
<ol class="footnote-section footnotes" data-footnote-section="" role="doc-endnotes"> <ol class="footnote-section footnotes" data-footnote-section="" role="doc-endnotes">
<li class="footnote-item" data-footnote-item="" data-footnote-index="1" <li class="footnote-item" data-footnote-item="" data-footnote-index="1"
data-footnote-id="zzzjn52iwk" role="doc-endnote" id="fnzzzjn52iwk"><span class="footnote-back-link" data-footnote-back-link="" data-footnote-id="zzzjn52iwk"><sup><strong><a href="#fnrefzzzjn52iwk">^</a></strong></sup></span> data-footnote-id="zzzjn52iwk" role="doc-endnote" id="fnzzzjn52iwk"><span class="footnote-back-link" data-footnote-back-link="" data-footnote-id="zzzjn52iwk"><sup><strong><a href="#fnrefzzzjn52iwk">^</a></strong></sup></span>
<div <div
class="footnote-content" data-footnote-content=""> class="footnote-content" data-footnote-content="">
<p><a href="https://www.thecollector.com/what-are-the-seven-wonders-of-the-world/">What Are the 7 Wonders of the World? (with HD Images) | TheCollector</a> <p><a href="https://www.thecollector.com/what-are-the-seven-wonders-of-the-world/">What Are the 7 Wonders of the World? (with HD Images) | TheCollector</a>
</p> </p>
</div> </div>
</li> </li>

View File

@ -15,6 +15,7 @@
<div class="ck-content"> <div class="ck-content">
<p>This is a simple TODO/Task manager. You can see some description and explanation <p>This is a simple TODO/Task manager. You can see some description and explanation
here: <a href="https://github.com/zadam/trilium/wiki/Task-manager">https://github.com/zadam/trilium/wiki/Task-manager</a> here: <a href="https://github.com/zadam/trilium/wiki/Task-manager">https://github.com/zadam/trilium/wiki/Task-manager</a>
</p> </p>
<p>Please note that this is meant as scripting example only and feature/bug <p>Please note that this is meant as scripting example only and feature/bug
support is very limited.</p> support is very limited.</p>

View File

@ -18,6 +18,7 @@
width="209" height="300"> width="209" height="300">
</figure> </figure>
<p>Maybe CodeNames? <a href="https://boardgamegeek.com/boardgame/178900/codenames">https://boardgamegeek.com/boardgame/178900/codenames</a> <p>Maybe CodeNames? <a href="https://boardgamegeek.com/boardgame/178900/codenames">https://boardgamegeek.com/boardgame/178900/codenames</a>
</p> </p>
</div> </div>
</div> </div>

View File

@ -14,6 +14,7 @@
<div class="ck-content"> <div class="ck-content">
<p><a href="https://en.wikipedia.org/wiki/The_Black_Swan:_The_Impact_of_the_Highly_Improbable">https://en.wikipedia.org/wiki/The_Black_Swan:_The_Impact_of_the_Highly_Improbable</a> <p><a href="https://en.wikipedia.org/wiki/The_Black_Swan:_The_Impact_of_the_Highly_Improbable">https://en.wikipedia.org/wiki/The_Black_Swan:_The_Impact_of_the_Highly_Improbable</a>
</p> </p>
<p><em><strong>The Black Swan: The Impact of the Highly Improbable</strong></em> is <p><em><strong>The Black Swan: The Impact of the Highly Improbable</strong></em> is
a 2007 book by author and former <a href="https://en.wikipedia.org/wiki/Options_trader">options trader</a> a 2007 book by author and former <a href="https://en.wikipedia.org/wiki/Options_trader">options trader</a>

View File

@ -25,6 +25,7 @@
and <a href="https://en.wikipedia.org/wiki/Apple_Inc.">Apple's</a> <a href="https://en.wikipedia.org/wiki/MacOS">macOS</a> (formerly and <a href="https://en.wikipedia.org/wiki/Apple_Inc.">Apple's</a> <a href="https://en.wikipedia.org/wiki/MacOS">macOS</a> (formerly
OS X). A version <a href="https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux">is also available for Windows 10</a>.</p> OS X). A version <a href="https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux">is also available for Windows 10</a>.</p>
<p><a href="https://en.wikipedia.org/wiki/Bash_(Unix_shell)">Bash on Wikipedia</a> <p><a href="https://en.wikipedia.org/wiki/Bash_(Unix_shell)">Bash on Wikipedia</a>
</p> </p>
</div> </div>
</div> </div>

View File

@ -14,6 +14,7 @@
<div class="ck-content"> <div class="ck-content">
<h3>Login shell</h3> <h3>Login shell</h3>
<p>As a "login shell", Bash reads and sets (executes) the user's profile <p>As a "login shell", Bash reads and sets (executes) the user's profile
from /etc/profile and one of ~/.bash_profile, ~/.bash_login, or ~/.profile from /etc/profile and one of ~/.bash_profile, ~/.bash_login, or ~/.profile
(in that order, using the first one that's readable!).</p> (in that order, using the first one that's readable!).</p>
@ -23,6 +24,7 @@
that only make sense for the initial user login. That's why all UNIX® shells that only make sense for the initial user login. That's why all UNIX® shells
have (should have) a "login" mode.</p> have (should have) a "login" mode.</p>
<p><em><strong>Methods to start Bash as a login shell:</strong></em> <p><em><strong>Methods to start Bash as a login shell:</strong></em>
</p> </p>
<ul> <ul>
<li>the first character of argv[0] is - (a hyphen): traditional UNIX® shells <li>the first character of argv[0] is - (a hyphen): traditional UNIX® shells
@ -31,17 +33,20 @@
<li>Bash is started with the --login option</li> <li>Bash is started with the --login option</li>
</ul> </ul>
<p><em><strong>Methods to test for login shell mode:</strong></em> <p><em><strong>Methods to test for login shell mode:</strong></em>
</p> </p>
<ul> <ul>
<li>the shell option <a href="http://wiki.bash-hackers.org/internals/shell_options#login_shell">login_shell</a> is <li>the shell option <a href="http://wiki.bash-hackers.org/internals/shell_options#login_shell">login_shell</a> is
set</li> set</li>
</ul> </ul>
<p><em><strong>Related switches:</strong></em> <p><em><strong>Related switches:</strong></em>
</p> </p>
<ul> <ul>
<li>--noprofile disables reading of all profile files</li> <li>--noprofile disables reading of all profile files</li>
</ul> </ul>
<h3>Interactive shell</h3> <h3>Interactive shell</h3>
<p>When Bash starts as an interactive non-login shell, it reads and executes <p>When Bash starts as an interactive non-login shell, it reads and executes
commands from ~/.bashrc. This file should contain, for example, aliases, commands from ~/.bashrc. This file should contain, for example, aliases,
since they need to be defined in every shell as they're not inherited from since they need to be defined in every shell as they're not inherited from
@ -51,11 +56,13 @@
The classic way to have a system-wide rc file is to source /etc/bashrc The classic way to have a system-wide rc file is to source /etc/bashrc
from every user's ~/.bashrc.</p> from every user's ~/.bashrc.</p>
<p><em><strong>Methods to test for interactive-shell mode:</strong></em> <p><em><strong>Methods to test for interactive-shell mode:</strong></em>
</p> </p>
<ul> <ul>
<li>the special parameter $- contains the letter i (lowercase I)</li> <li>the special parameter $- contains the letter i (lowercase I)</li>
</ul> </ul>
<p><em><strong>Related switches:</strong></em> <p><em><strong>Related switches:</strong></em>
</p> </p>
<ul> <ul>
<li>-i forces the interactive mode</li> <li>-i forces the interactive mode</li>
@ -65,6 +72,7 @@
~/.bashrc)</li> ~/.bashrc)</li>
</ul> </ul>
<h3>SH mode</h3> <h3>SH mode</h3>
<p>When Bash starts in SH compatiblity mode, it tries to mimic the startup <p>When Bash starts in SH compatiblity mode, it tries to mimic the startup
behaviour of historical versions of sh as closely as possible, while conforming behaviour of historical versions of sh as closely as possible, while conforming
to the POSIX® standard as well. The profile files read are /etc/profile to the POSIX® standard as well. The profile files read are /etc/profile
@ -74,6 +82,7 @@
file.</p> file.</p>
<p>After the startup files are read, Bash enters the <a href="http://wiki.bash-hackers.org/scripting/bashbehaviour#posix_run_mode">POSIX(r) compatiblity mode (for running, not for starting!)</a>.</p> <p>After the startup files are read, Bash enters the <a href="http://wiki.bash-hackers.org/scripting/bashbehaviour#posix_run_mode">POSIX(r) compatiblity mode (for running, not for starting!)</a>.</p>
<p><em><strong>Bash starts in sh compatiblity mode when:</strong></em> <p><em><strong>Bash starts in sh compatiblity mode when:</strong></em>
</p> </p>
<ul> <ul>
<li> <li>

View File

@ -14,6 +14,7 @@
<div class="ck-content"> <div class="ck-content">
<p>Documentation: <a href="http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_09_02.html">http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_09_02.html</a> <p>Documentation: <a href="http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_09_02.html">http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_09_02.html</a>
</p><pre><code class="language-text-x-sh">#!/bin/bash </p><pre><code class="language-text-x-sh">#!/bin/bash
# This script opens 4 terminal windows. # This script opens 4 terminal windows.

View File

@ -20,6 +20,7 @@
href="https://en.wikipedia.org/wiki/Node.js#cite_note-b1-31">[31]</a>Developers can create scalable servers without using <a href="https://en.wikipedia.org/wiki/Thread_(computing)">threading</a>, href="https://en.wikipedia.org/wiki/Node.js#cite_note-b1-31">[31]</a>Developers can create scalable servers without using <a href="https://en.wikipedia.org/wiki/Thread_(computing)">threading</a>,
by using a simplified model of <a href="https://en.wikipedia.org/wiki/Event-driven_programming">event-driven programming</a> that by using a simplified model of <a href="https://en.wikipedia.org/wiki/Event-driven_programming">event-driven programming</a> that
uses callbacks to signal the completion of a task.<a href="https://en.wikipedia.org/wiki/Node.js#cite_note-b1-31">[31]</a> uses callbacks to signal the completion of a task.<a href="https://en.wikipedia.org/wiki/Node.js#cite_note-b1-31">[31]</a>
</p> </p>
</div> </div>
</div> </div>

Binary file not shown.

View File

@ -28,7 +28,7 @@
where you can track your daily weight. This data is then used in <a href="#root/_help_R7abl2fc6Mxi">Weight tracker</a>.</p> where you can track your daily weight. This data is then used in <a href="#root/_help_R7abl2fc6Mxi">Weight tracker</a>.</p>
<h2>Week Note and Quarter Note</h2> <h2>Week Note and Quarter Note</h2>
<p>Week and quarter notes are disabled by default, since it might be too <p>Week and quarter notes are disabled by default, since it might be too
much for some people. To enable them, you need to set <code>#enableWeekNotes</code> and <code>#enableQuarterNotes</code> attributes much for some people. To enable them, you need to set <code>#enableWeekNote</code> and <code>#enableQuarterNote</code> attributes
on the root calendar note, which is identified by <code>#calendarRoot</code> label. on the root calendar note, which is identified by <code>#calendarRoot</code> label.
Week note is affected by the first week of year option. Be careful when Week note is affected by the first week of year option. Be careful when
you already have some week notes created, it will not automatically change you already have some week notes created, it will not automatically change
@ -40,15 +40,26 @@
(identified by <code>#calendarRoot</code> label):</p> (identified by <code>#calendarRoot</code> label):</p>
<ul> <ul>
<li>yearTemplate</li> <li>yearTemplate</li>
<li>quarterTemplate (if <code>#enableQuarterNotes</code> is set)</li> <li>quarterTemplate (if <code>#enableQuarterNote</code> is set)</li>
<li>monthTemplate</li> <li>monthTemplate</li>
<li>weekTemplate (if <code>#enableWeekNotes</code> is set)</li> <li>weekTemplate (if <code>#enableWeekNote</code> is set)</li>
<li>dateTemplate</li> <li>dateTemplate</li>
</ul> </ul>
<p>All of these are relations. When Trilium creates a new note for year or <p>All of these are relations. When Trilium creates a new note for year or
month or date, it will take a look at the root and attach a corresponding <code>~template</code> relation month or date, it will take a look at the root and attach a corresponding <code>~template</code> relation
to the newly created role. Using this, you can e.g. create your daily template to the newly created role. Using this, you can e.g. create your daily template
with e.g. checkboxes for daily routine etc.</p> with e.g. checkboxes for daily routine etc.</p>
<h3>Migrate from old template usage</h3>
<p>If you have been using Journal prior to version v0.93.0, the previous
template pattern likely used was <code>~child:template=</code>.
<br>To transition to the new system:</p>
<ol>
<li>Set up the new template pattern in the Calendar root note.</li>
<li>Use <a href="#root/_help_ivYnonVFBxbQ">Bulk Actions</a> to remove <code>child:template</code> and <code>child:child:template</code> from
all notes under the Journal (calendar root).</li>
<li>Ensure that all old template patterns are fully removed to prevent conflicts
with the new setup.</li>
</ol>
<h2>Naming pattern</h2> <h2>Naming pattern</h2>
<p>You can customize the title of generated journal notes by defining a <code>#datePattern</code>, <code>#weekPattern</code>, <code>#monthPattern</code>, <code>#quarterPattern</code> and <code>#yearPattern</code> attribute <p>You can customize the title of generated journal notes by defining a <code>#datePattern</code>, <code>#weekPattern</code>, <code>#monthPattern</code>, <code>#quarterPattern</code> and <code>#yearPattern</code> attribute
on a root calendar note (identified by <code>#calendarRoot</code> label). on a root calendar note (identified by <code>#calendarRoot</code> label).
@ -139,8 +150,3 @@
see e.g. getDayNote() function.</p> see e.g. getDayNote() function.</p>
<p>Day (and year, month) notes are created with a label - e.g. <code>#dateNote="2025-03-09"</code> this <p>Day (and year, month) notes are created with a label - e.g. <code>#dateNote="2025-03-09"</code> this
can then be used by other scripts to add new notes to day note etc.</p> can then be used by other scripts to add new notes to day note etc.</p>
<p>Journal also has relation <code>child:child:child:template=Day template</code> (see
[[attribute inheritance]]) which effectively adds [[template]] to day notes
(grand-grand-grand children of Journal). Please note that, when you enable
week notes or quarter notes, it will not automatically change the relation
for the child level.</p>

View File

@ -40,7 +40,19 @@
you can also mark templates with <code>#workspaceTemplate</code> to display you can also mark templates with <code>#workspaceTemplate</code> to display
them only in the workspace.</p> them only in the workspace.</p>
<p>Templates can also be added or changed after note creation by creating <p>Templates can also be added or changed after note creation by creating
a <code>~template</code> relation pointing to the desired template note.</p> a <code>~template</code> relation pointing to the desired template note.&nbsp;</p>
<p>To specify a template for child notes, you can use a <code>~child:template</code> relation
pointing to the appropriate template note. There is no limit to the depth
of the hierarchy — you can use <code>~child:child:template</code>, <code>~child:child:child:template</code>,
and so on.</p>
<aside class="admonition important">
<p>Changing the template hierarchy after the parent note is created will
not retroactively apply to newly created child notes.
<br>For example, if you initially use <code>~child:template</code> and later
switch to <code>~child:child:template</code>, it will not automatically
apply the new template to the grandchild notes. Only the structure present
at the time of note creation is considered.</p>
</aside>
<h2>Additional Notes</h2> <h2>Additional Notes</h2>
<p>From a visual perspective, templates can define <code>#iconClass</code> and <code>#cssClass</code> attributes, <p>From a visual perspective, templates can define <code>#iconClass</code> and <code>#cssClass</code> attributes,
allowing all instance notes (e.g., books) to display a specific icon and allowing all instance notes (e.g., books) to display a specific icon and

View File

@ -266,7 +266,7 @@ function getMonthNote(dateStr: string, _rootNote: BNote | null = null): BNote {
return monthNote; return monthNote;
} }
let monthParentNote; let monthParentNote: BNote | null;
if (rootNote.hasLabel("enableQuarterNote")) { if (rootNote.hasLabel("enableQuarterNote")) {
monthParentNote = getQuarterNote(getQuarterNumberStr(dayjs(dateStr)), rootNote); monthParentNote = getQuarterNote(getQuarterNumberStr(dayjs(dateStr)), rootNote);
@ -296,7 +296,7 @@ function getMonthNote(dateStr: string, _rootNote: BNote | null = null): BNote {
function getWeekStartDate(date: Dayjs): Dayjs { function getWeekStartDate(date: Dayjs): Dayjs {
const day = date.day(); const day = date.day();
let diff; let diff: number;
if (optionService.getOption("firstDayOfWeek") === "0") { // Sunday if (optionService.getOption("firstDayOfWeek") === "0") { // Sunday
diff = date.date() - day + (day === 0 ? -6 : 1); // adjust when day is sunday diff = date.date() - day + (day === 0 ? -6 : 1); // adjust when day is sunday
@ -456,7 +456,7 @@ function getDayNote(dateStr: string, _rootNote: BNote | null = null): BNote {
return dateNote; return dateNote;
} }
let dateParentNote; let dateParentNote: BNote | null;
if (rootNote.hasLabel("enableWeekNote")) { if (rootNote.hasLabel("enableWeekNote")) {
dateParentNote = getWeekNote(getWeekNumberStr(dayjs(dateStr)), rootNote); dateParentNote = getWeekNote(getWeekNumberStr(dayjs(dateStr)), rootNote);

View File

@ -76,7 +76,7 @@ function deriveMime(type: string, mime?: string) {
function copyChildAttributes(parentNote: BNote, childNote: BNote) { function copyChildAttributes(parentNote: BNote, childNote: BNote) {
for (const attr of parentNote.getAttributes()) { for (const attr of parentNote.getAttributes()) {
if (attr.name.startsWith("child:")) { if (attr.name.startsWith("child:")) {
const name = attr.name.substr(6); const name = attr.name.substring(6);
const hasAlreadyTemplate = childNote.hasRelation("template"); const hasAlreadyTemplate = childNote.hasRelation("template");
if (hasAlreadyTemplate && attr.type === "relation" && name === "template") { if (hasAlreadyTemplate && attr.type === "relation" && name === "template") {
@ -472,7 +472,7 @@ async function downloadImage(noteId: string, imageUrl: string) {
if (imageUrl.toLowerCase().startsWith("file://")) { if (imageUrl.toLowerCase().startsWith("file://")) {
imageBuffer = await new Promise((res, rej) => { imageBuffer = await new Promise((res, rej) => {
const localFilePath = imageUrl.substr("file://".length); const localFilePath = imageUrl.substring("file://".length);
return fs.readFile(localFilePath, (err, data) => { return fs.readFile(localFilePath, (err, data) => {
if (err) { if (err) {
@ -521,14 +521,14 @@ function downloadImages(noteId: string, content: string) {
const inlineImageMatch = /^data:image\/[a-z]+;base64,/.exec(url); const inlineImageMatch = /^data:image\/[a-z]+;base64,/.exec(url);
if (inlineImageMatch) { if (inlineImageMatch) {
const imageBase64 = url.substr(inlineImageMatch[0].length); const imageBase64 = url.substring(inlineImageMatch[0].length);
const imageBuffer = Buffer.from(imageBase64, "base64"); const imageBuffer = Buffer.from(imageBase64, "base64");
const attachment = imageService.saveImageToAttachment(noteId, imageBuffer, "inline image", true, true); const attachment = imageService.saveImageToAttachment(noteId, imageBuffer, "inline image", true, true);
const encodedTitle = encodeURIComponent(attachment.title); const encodedTitle = encodeURIComponent(attachment.title);
content = `${content.substr(0, imageMatch.index)}<img src="api/attachments/${attachment.attachmentId}/image/${encodedTitle}"${content.substr(imageMatch.index + imageMatch[0].length)}`; content = `${content.substring(0, imageMatch.index)}<img src="api/attachments/${attachment.attachmentId}/image/${encodedTitle}"${content.substring(imageMatch.index + imageMatch[0].length)}`;
} else if ( } else if (
!url.includes("api/images/") && !url.includes("api/images/") &&
!/api\/attachments\/.+\/image\/?.*/.test(url) && !/api\/attachments\/.+\/image\/?.*/.test(url) &&
@ -631,7 +631,7 @@ function saveAttachments(note: BNote, content: string) {
content: buffer content: buffer
}); });
content = `${content.substr(0, attachmentMatch.index)}<a class="reference-link" href="#root/${note.noteId}?viewMode=attachments&attachmentId=${attachment.attachmentId}">${title}</a>${content.substr(attachmentMatch.index + attachmentMatch[0].length)}`; content = `${content.substring(0, attachmentMatch.index)}<a class="reference-link" href="#root/${note.noteId}?viewMode=attachments&attachmentId=${attachment.attachmentId}">${title}</a>${content.substring(attachmentMatch.index + attachmentMatch[0].length)}`;
} }
// removing absolute references to server to keep it working between instances, // removing absolute references to server to keep it working between instances,

View File

@ -9341,6 +9341,13 @@
"isInheritable": false, "isInheritable": false,
"position": 50 "position": 50
}, },
{
"type": "relation",
"name": "internalLink",
"value": "ivYnonVFBxbQ",
"isInheritable": false,
"position": 60
},
{ {
"type": "label", "type": "label",
"name": "shareAlias", "name": "shareAlias",

View File

@ -19,7 +19,7 @@ You can also notice how this day note has [promoted attribute](../Attributes/Pro
## Week Note and Quarter Note ## Week Note and Quarter Note
Week and quarter notes are disabled by default, since it might be too much for some people. To enable them, you need to set `#enableWeekNotes` and `#enableQuarterNotes` attributes on the root calendar note, which is identified by `#calendarRoot` label. Week note is affected by the first week of year option. Be careful when you already have some week notes created, it will not automatically change the existing week notes and might lead to some duplicates. Week and quarter notes are disabled by default, since it might be too much for some people. To enable them, you need to set `#enableWeekNote` and `#enableQuarterNote` attributes on the root calendar note, which is identified by `#calendarRoot` label. Week note is affected by the first week of year option. Be careful when you already have some week notes created, it will not automatically change the existing week notes and might lead to some duplicates.
## Templates ## Templates
@ -28,13 +28,22 @@ Trilium provides [template](../Templates.md) functionality, and it could be used
You can define one of the following relations on the root of the journal (identified by `#calendarRoot` label): You can define one of the following relations on the root of the journal (identified by `#calendarRoot` label):
* yearTemplate * yearTemplate
* quarterTemplate (if `#enableQuarterNotes` is set) * quarterTemplate (if `#enableQuarterNote` is set)
* monthTemplate * monthTemplate
* weekTemplate (if `#enableWeekNotes` is set) * weekTemplate (if `#enableWeekNote` is set)
* dateTemplate * dateTemplate
All of these are relations. When Trilium creates a new note for year or month or date, it will take a look at the root and attach a corresponding `~template` relation to the newly created role. Using this, you can e.g. create your daily template with e.g. checkboxes for daily routine etc. All of these are relations. When Trilium creates a new note for year or month or date, it will take a look at the root and attach a corresponding `~template` relation to the newly created role. Using this, you can e.g. create your daily template with e.g. checkboxes for daily routine etc.
### Migrate from old template usage
If you have been using Journal prior to version v0.93.0, the previous template pattern likely used was `~child:template=`.
To transition to the new system:
1. Set up the new template pattern in the Calendar root note.
2. Use [Bulk Actions](../Bulk%20Actions.md) to remove `child:template` and `child:child:template` from all notes under the Journal (calendar root).
3. Ensure that all old template patterns are fully removed to prevent conflicts with the new setup.
## Naming pattern ## Naming pattern
You can customize the title of generated journal notes by defining a `#datePattern`, `#weekPattern`, `#monthPattern`, `#quarterPattern` and `#yearPattern` attribute on a root calendar note (identified by `#calendarRoot` label). The naming pattern replacements follow a level-up compatibility - each level can use replacements from itself and all levels above it. For example, `#monthPattern` can use month, quarter and year replacements, while `#weekPattern` can use week, month, quarter and year replacements. But it is not possible to use week replacements in `#monthPattern`. You can customize the title of generated journal notes by defining a `#datePattern`, `#weekPattern`, `#monthPattern`, `#quarterPattern` and `#yearPattern` attribute on a root calendar note (identified by `#calendarRoot` label). The naming pattern replacements follow a level-up compatibility - each level can use replacements from itself and all levels above it. For example, `#monthPattern` can use month, quarter and year replacements, while `#weekPattern` can use week, month, quarter and year replacements. But it is not possible to use week replacements in `#monthPattern`.
@ -99,5 +108,3 @@ The default is `{year}`
Trilium has some special support for day notes in the form of [backend Script API](https://triliumnext.github.io/Notes/backend_api/BackendScriptApi.html) - see e.g. getDayNote() function. Trilium has some special support for day notes in the form of [backend Script API](https://triliumnext.github.io/Notes/backend_api/BackendScriptApi.html) - see e.g. getDayNote() function.
Day (and year, month) notes are created with a label - e.g. `#dateNote="2025-03-09"` this can then be used by other scripts to add new notes to day note etc. Day (and year, month) notes are created with a label - e.g. `#dateNote="2025-03-09"` this can then be used by other scripts to add new notes to day note etc.
Journal also has relation `child:child:child:template=Day template` (see \[\[attribute inheritance\]\]) which effectively adds \[\[template\]\] to day notes (grand-grand-grand children of Journal). Please note that, when you enable week notes or quarter notes, it will not automatically change the relation for the child level.

View File

@ -25,7 +25,13 @@ To create an instance note through the UI:
For the template to appear in the menu, the template note must have the `#template` label. Do not confuse this with the `~template` relation, which links the instance note to the template note. If you use [workspaces](../Basic%20Concepts%20and%20Features/Navigation/Workspaces.md), you can also mark templates with `#workspaceTemplate` to display them only in the workspace. For the template to appear in the menu, the template note must have the `#template` label. Do not confuse this with the `~template` relation, which links the instance note to the template note. If you use [workspaces](../Basic%20Concepts%20and%20Features/Navigation/Workspaces.md), you can also mark templates with `#workspaceTemplate` to display them only in the workspace.
Templates can also be added or changed after note creation by creating a `~template` relation pointing to the desired template note. Templates can also be added or changed after note creation by creating a `~template` relation pointing to the desired template note. 
To specify a template for child notes, you can use a `~child:template` relation pointing to the appropriate template note. There is no limit to the depth of the hierarchy — you can use `~child:child:template`, `~child:child:child:template`, and so on.
> [!IMPORTANT]
> Changing the template hierarchy after the parent note is created will not retroactively apply to newly created child notes.
> For example, if you initially use `~child:template` and later switch to `~child:child:template`, it will not automatically apply the new template to the grandchild notes. Only the structure present at the time of note creation is considered.
## Additional Notes ## Additional Notes