diff --git a/.vscode/extensions.json b/.vscode/extensions.json
index 1eeb900b2..cd49e608f 100644
--- a/.vscode/extensions.json
+++ b/.vscode/extensions.json
@@ -3,6 +3,7 @@
"lokalise.i18n-ally",
"editorconfig.editorconfig",
"vitest.explorer",
- "ms-playwright.playwright"
+ "ms-playwright.playwright",
+ "tobermory.es6-string-html"
]
}
diff --git a/db/demo.zip b/db/demo.zip
index d13245f77..74d4e8c32 100644
Binary files a/db/demo.zip and b/db/demo.zip differ
diff --git a/db/migrations/0216__move_content_into_blobs.ts b/db/migrations/0216__move_content_into_blobs.ts
index f37e570f2..c10fcc780 100644
--- a/db/migrations/0216__move_content_into_blobs.ts
+++ b/db/migrations/0216__move_content_into_blobs.ts
@@ -17,8 +17,8 @@ interface NoteRevisionContents {
export default () => {
const existingBlobIds = new Set();
- for (const noteId of sql.getColumn(`SELECT noteId FROM note_contents`)) {
- const row = sql.getRow(`SELECT noteId, content, dateModified, utcDateModified FROM note_contents WHERE noteId = ?`, [noteId]);
+ for (const noteId of sql.getColumn(/*sql*/`SELECT noteId FROM note_contents`)) {
+ const row = sql.getRow(/*sql*/`SELECT noteId, content, dateModified, utcDateModified FROM note_contents WHERE noteId = ?`, [noteId]);
const blobId = utils.hashedBlobId(row.content);
if (!existingBlobIds.has(blobId)) {
@@ -40,8 +40,8 @@ export default () => {
sql.execute("UPDATE notes SET blobId = ? WHERE noteId = ?", [blobId, row.noteId]);
}
- for (const noteRevisionId of sql.getColumn(`SELECT noteRevisionId FROM note_revision_contents`)) {
- const row = sql.getRow(`SELECT noteRevisionId, content, utcDateModified FROM note_revision_contents WHERE noteRevisionId = ?`, [noteRevisionId]);
+ for (const noteRevisionId of sql.getColumn(/*sql*/`SELECT noteRevisionId FROM note_revision_contents`)) {
+ const row = sql.getRow(/*sql*/`SELECT noteRevisionId, content, utcDateModified FROM note_revision_contents WHERE noteRevisionId = ?`, [noteRevisionId]);
const blobId = utils.hashedBlobId(row.content);
if (!existingBlobIds.has(blobId)) {
diff --git a/db/migrations/0220__migrate_images_to_attachments.ts b/db/migrations/0220__migrate_images_to_attachments.ts
index 53eac5958..f54f4a956 100644
--- a/db/migrations/0220__migrate_images_to_attachments.ts
+++ b/db/migrations/0220__migrate_images_to_attachments.ts
@@ -7,7 +7,7 @@ import sql from "../../src/services/sql";
export default () => {
cls.init(() => {
// emergency disabling of image compression since it appears to make problems in migration to 0.61
- sql.execute(`UPDATE options SET value = 'false' WHERE name = 'compressImages'`);
+ sql.execute(/*sql*/`UPDATE options SET value = 'false' WHERE name = 'compressImages'`);
becca_loader.load();
diff --git a/demo/!!!meta.json b/demo/!!!meta.json
index f28159e36..f3d4a363e 100644
--- a/demo/!!!meta.json
+++ b/demo/!!!meta.json
@@ -114,13 +114,6 @@
"isInheritable": false,
"position": 50
},
- {
- "type": "relation",
- "name": "includeNoteLink",
- "value": "CN3CCLggUqf4",
- "isInheritable": false,
- "position": 60
- },
{
"type": "label",
"name": "iconClass",
@@ -154,7 +147,7 @@
"title": "Inbox",
"notePosition": 10,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [
@@ -223,7 +216,7 @@
"title": "The Last Question",
"notePosition": 20,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [],
@@ -275,7 +268,7 @@
"title": "Formatting examples",
"notePosition": 20,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "book",
"mime": "",
"attributes": [],
@@ -442,7 +435,7 @@
"title": "Journal",
"notePosition": 30,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [
@@ -485,7 +478,7 @@
"title": "2021",
"notePosition": 10,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [
@@ -528,7 +521,7 @@
"title": "11 - November",
"notePosition": 10,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [
@@ -572,7 +565,7 @@
"title": "28 - Tuesday",
"notePosition": 10,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [
@@ -611,7 +604,7 @@
"title": "Phone call about work project",
"notePosition": 0,
"prefix": null,
- "isExpanded": false,
+ "isExpanded": true,
"type": "text",
"mime": "text/html",
"attributes": [],
@@ -682,7 +675,7 @@
"title": "12 - December",
"notePosition": 20,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [
@@ -726,7 +719,7 @@
"title": "18 - Monday",
"notePosition": 10,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [
@@ -1343,7 +1336,7 @@
"title": "19 - Tuesday",
"notePosition": 20,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [
@@ -1493,7 +1486,7 @@
"title": "21 - Thursday",
"notePosition": 40,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [
@@ -1586,7 +1579,7 @@
"title": "22 - Friday",
"notePosition": 50,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [
@@ -1786,7 +1779,7 @@
"title": "24 - Sunday - Christmas Eve!",
"notePosition": 70,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [
@@ -2026,7 +2019,7 @@
"title": "Epics",
"notePosition": 30,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [],
@@ -2049,7 +2042,7 @@
"title": "Christmas",
"notePosition": 0,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [],
@@ -2119,7 +2112,7 @@
"title": "Shopping",
"notePosition": 20,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [],
@@ -2231,10 +2224,18 @@
"title": "Tech",
"notePosition": 40,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
- "attributes": [],
+ "attributes": [
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bx-desktop",
+ "isInheritable": false,
+ "position": 10
+ }
+ ],
"format": "html",
"dataFileName": "Tech.html",
"attachments": [],
@@ -2252,10 +2253,18 @@
"title": "Security",
"notePosition": 10,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
- "attributes": [],
+ "attributes": [
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bx-lock-alt",
+ "isInheritable": false,
+ "position": 10
+ }
+ ],
"format": "html",
"attachments": [],
"dirFileName": "Security",
@@ -2290,10 +2299,18 @@
"title": "Linux",
"notePosition": 20,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
- "attributes": [],
+ "attributes": [
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bxl-tux",
+ "isInheritable": false,
+ "position": 10
+ }
+ ],
"format": "html",
"attachments": [],
"dirFileName": "Linux",
@@ -2400,7 +2417,7 @@
"title": "Ubuntu",
"notePosition": 20,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [],
@@ -2447,10 +2464,18 @@
"title": "Programming",
"notePosition": 30,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
- "attributes": [],
+ "attributes": [
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bx-code-alt",
+ "isInheritable": false,
+ "position": 10
+ }
+ ],
"format": "html",
"attachments": [],
"dirFileName": "Programming",
@@ -2471,7 +2496,15 @@
"isExpanded": false,
"type": "text",
"mime": "text/html",
- "attributes": [],
+ "attributes": [
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bxl-java",
+ "isInheritable": false,
+ "position": 10
+ }
+ ],
"format": "html",
"dataFileName": "Java.html",
"attachments": []
@@ -2503,15 +2536,23 @@
"HGcABfDS6a51",
"B16t4MPcxaAs"
],
- "title": "node.js",
+ "title": "Node.js",
"notePosition": 40,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "book",
"mime": "text/html",
- "attributes": [],
+ "attributes": [
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bxl-nodejs",
+ "isInheritable": false,
+ "position": 10
+ }
+ ],
"attachments": [],
- "dirFileName": "node.js",
+ "dirFileName": "Node.js",
"children": [
{
"isClone": false,
@@ -2547,7 +2588,7 @@
"title": "Overview",
"notePosition": 10,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [],
@@ -2651,501 +2692,779 @@
},
{
"isClone": false,
- "noteId": "P1OnNHRhFn9u",
+ "noteId": "k7rcoITZRsi6",
"notePath": [
"root",
"Fb7eMY46lT6k",
- "P1OnNHRhFn9u"
+ "k7rcoITZRsi6"
],
- "title": "Canvas note",
+ "title": "Note Types",
"notePosition": 60,
"prefix": null,
"isExpanded": true,
- "type": "canvas",
- "mime": "application/json",
- "attributes": [],
- "dataFileName": "Canvas note.json",
- "attachments": [
+ "type": "text",
+ "mime": "text/html",
+ "attributes": [
{
- "attachmentId": "LrYmWTdvBYpX",
- "title": "canvas-export.svg",
- "role": "image",
- "mime": "image/svg+xml",
- "position": 0,
- "dataFileName": "Canvas note_canvas-export.svg"
- }
- ]
- },
- {
- "isClone": false,
- "noteId": "CN3CCLggUqf4",
- "notePath": [
- "root",
- "Fb7eMY46lT6k",
- "CN3CCLggUqf4"
- ],
- "title": "Mind map",
- "notePosition": 70,
- "prefix": null,
- "isExpanded": false,
- "type": "mindMap",
- "mime": "application/json",
- "attributes": [],
- "dataFileName": "Mind map.json",
- "attachments": [
- {
- "attachmentId": "xKxyCN02w5d2",
- "title": "mindmap-export.svg",
- "role": "image",
- "mime": "image/svg+xml",
- "position": 0,
- "dataFileName": "Mind map_mindmap-export.svg"
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bx-file",
+ "isInheritable": false,
+ "position": 10
}
],
- "dirFileName": "Mind map",
+ "format": "html",
+ "attachments": [],
+ "dirFileName": "Note Types",
"children": [
{
"isClone": false,
- "noteId": "cLIqMYiMy7v9",
+ "noteId": "P1OnNHRhFn9u",
"notePath": [
"root",
"Fb7eMY46lT6k",
- "CN3CCLggUqf4",
- "cLIqMYiMy7v9"
+ "k7rcoITZRsi6",
+ "P1OnNHRhFn9u"
],
- "title": "new note",
+ "title": "Canvas",
"notePosition": 10,
"prefix": null,
- "isExpanded": false,
- "type": "mindMap",
+ "isExpanded": true,
+ "type": "canvas",
"mime": "application/json",
"attributes": [],
- "dataFileName": "new note.json",
+ "dataFileName": "Canvas.json",
+ "attachments": [
+ {
+ "attachmentId": "LrYmWTdvBYpX",
+ "title": "canvas-export.svg",
+ "role": "image",
+ "mime": "image/svg+xml",
+ "position": 0,
+ "dataFileName": "Canvas_canvas-export.svg"
+ }
+ ]
+ },
+ {
+ "isClone": false,
+ "noteId": "lZlMer9EkwF8",
+ "notePath": [
+ "root",
+ "Fb7eMY46lT6k",
+ "k7rcoITZRsi6",
+ "lZlMer9EkwF8"
+ ],
+ "title": "Mermaid Diagrams",
+ "notePosition": 20,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "book",
+ "mime": "",
+ "attributes": [
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bx-selection",
+ "isInheritable": false,
+ "position": 10
+ }
+ ],
"attachments": [],
- "dirFileName": "new note",
+ "dirFileName": "Mermaid Diagrams",
"children": [
{
"isClone": false,
- "noteId": "nyo567lPZRFc",
+ "noteId": "DALQSU4fng4F",
"notePath": [
"root",
"Fb7eMY46lT6k",
- "CN3CCLggUqf4",
- "cLIqMYiMy7v9",
- "nyo567lPZRFc"
+ "k7rcoITZRsi6",
+ "lZlMer9EkwF8",
+ "DALQSU4fng4F"
],
- "title": "new note",
+ "title": "Flow",
"notePosition": 10,
"prefix": null,
"isExpanded": false,
- "type": "mindMap",
- "mime": "application/json",
+ "type": "mermaid",
+ "mime": "text/mermaid",
"attributes": [],
- "dataFileName": "new note.json",
- "attachments": []
+ "dataFileName": "Flow.txt",
+ "attachments": [
+ {
+ "attachmentId": "6u2TW8zweuBN",
+ "title": "mermaid-export.svg",
+ "role": "image",
+ "mime": "image/svg+xml",
+ "position": 10,
+ "dataFileName": "Flow_mermaid-export.svg"
+ }
+ ]
+ },
+ {
+ "isClone": false,
+ "noteId": "g7rjYwoleBlR",
+ "notePath": [
+ "root",
+ "Fb7eMY46lT6k",
+ "k7rcoITZRsi6",
+ "lZlMer9EkwF8",
+ "g7rjYwoleBlR"
+ ],
+ "title": "Flow (ELK)",
+ "notePosition": 11,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "mermaid",
+ "mime": "text/mermaid",
+ "attributes": [],
+ "dataFileName": "Flow (ELK).txt",
+ "attachments": [
+ {
+ "attachmentId": "9TKNS3IHYYQq",
+ "title": "mermaid-export.svg",
+ "role": "image",
+ "mime": "image/svg+xml",
+ "position": 10,
+ "dataFileName": "Flow (ELK)_mermaid-export.svg"
+ }
+ ]
+ },
+ {
+ "isClone": false,
+ "noteId": "t73XNJNTTwQp",
+ "notePath": [
+ "root",
+ "Fb7eMY46lT6k",
+ "k7rcoITZRsi6",
+ "lZlMer9EkwF8",
+ "t73XNJNTTwQp"
+ ],
+ "title": "Sequence",
+ "notePosition": 20,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "mermaid",
+ "mime": "text/mermaid",
+ "attributes": [],
+ "dataFileName": "Sequence.txt",
+ "attachments": [
+ {
+ "attachmentId": "XfWi1TqleVbL",
+ "title": "mermaid-export.svg",
+ "role": "image",
+ "mime": "image/svg+xml",
+ "position": 10,
+ "dataFileName": "Sequence_mermaid-export.svg"
+ }
+ ]
+ },
+ {
+ "isClone": false,
+ "noteId": "6wdYxWSVuXof",
+ "notePath": [
+ "root",
+ "Fb7eMY46lT6k",
+ "k7rcoITZRsi6",
+ "lZlMer9EkwF8",
+ "6wdYxWSVuXof"
+ ],
+ "title": "Gantt",
+ "notePosition": 30,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "mermaid",
+ "mime": "text/plain",
+ "attributes": [],
+ "dataFileName": "Gantt.txt",
+ "attachments": [
+ {
+ "attachmentId": "zCjOBL5UP9ii",
+ "title": "mermaid-export.svg",
+ "role": "image",
+ "mime": "image/svg+xml",
+ "position": 10,
+ "dataFileName": "Gantt_mermaid-export.svg"
+ }
+ ]
+ },
+ {
+ "isClone": false,
+ "noteId": "WKL3yssKyoth",
+ "notePath": [
+ "root",
+ "Fb7eMY46lT6k",
+ "k7rcoITZRsi6",
+ "lZlMer9EkwF8",
+ "WKL3yssKyoth"
+ ],
+ "title": "Class",
+ "notePosition": 40,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "mermaid",
+ "mime": "text/plain",
+ "attributes": [],
+ "dataFileName": "Class.txt",
+ "attachments": [
+ {
+ "attachmentId": "sRADq0QJpaYr",
+ "title": "mermaid-export.svg",
+ "role": "image",
+ "mime": "image/svg+xml",
+ "position": 10,
+ "dataFileName": "Class_mermaid-export.svg"
+ }
+ ]
+ },
+ {
+ "isClone": false,
+ "noteId": "v9TM7cCXBILP",
+ "notePath": [
+ "root",
+ "Fb7eMY46lT6k",
+ "k7rcoITZRsi6",
+ "lZlMer9EkwF8",
+ "v9TM7cCXBILP"
+ ],
+ "title": "State",
+ "notePosition": 50,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "mermaid",
+ "mime": "text/plain",
+ "attributes": [],
+ "dataFileName": "State.txt",
+ "attachments": [
+ {
+ "attachmentId": "NhPv2lQln1g4",
+ "title": "mermaid-export.svg",
+ "role": "image",
+ "mime": "image/svg+xml",
+ "position": 10,
+ "dataFileName": "State_mermaid-export.svg"
+ }
+ ]
+ },
+ {
+ "isClone": false,
+ "noteId": "1EDhd9QJyulq",
+ "notePath": [
+ "root",
+ "Fb7eMY46lT6k",
+ "k7rcoITZRsi6",
+ "lZlMer9EkwF8",
+ "1EDhd9QJyulq"
+ ],
+ "title": "Mind Map",
+ "notePosition": 60,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "mermaid",
+ "mime": "text/mermaid",
+ "attributes": [],
+ "dataFileName": "Mind Map.txt",
+ "attachments": [
+ {
+ "attachmentId": "Q8EircLk65HH",
+ "title": "mermaid-export.svg",
+ "role": "image",
+ "mime": "image/svg+xml",
+ "position": 10,
+ "dataFileName": "Mind Map_mermaid-export.svg"
+ }
+ ]
+ },
+ {
+ "isClone": false,
+ "noteId": "n32hpxSA2fP8",
+ "notePath": [
+ "root",
+ "Fb7eMY46lT6k",
+ "k7rcoITZRsi6",
+ "lZlMer9EkwF8",
+ "n32hpxSA2fP8"
+ ],
+ "title": "Pie",
+ "notePosition": 70,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "mermaid",
+ "mime": "text/plain",
+ "attributes": [],
+ "dataFileName": "Pie.txt",
+ "attachments": [
+ {
+ "attachmentId": "6xhRWdFidyIg",
+ "title": "mermaid-export.svg",
+ "role": "image",
+ "mime": "image/svg+xml",
+ "position": 10,
+ "dataFileName": "Pie_mermaid-export.svg"
+ }
+ ]
+ },
+ {
+ "isClone": false,
+ "noteId": "T0QEYaEv7PmE",
+ "notePath": [
+ "root",
+ "Fb7eMY46lT6k",
+ "k7rcoITZRsi6",
+ "lZlMer9EkwF8",
+ "T0QEYaEv7PmE"
+ ],
+ "title": "Journey",
+ "notePosition": 80,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "mermaid",
+ "mime": "text/plain",
+ "attributes": [],
+ "dataFileName": "Journey.txt",
+ "attachments": [
+ {
+ "attachmentId": "sxLqDNmjlbK4",
+ "title": "mermaid-export.svg",
+ "role": "image",
+ "mime": "image/svg+xml",
+ "position": 10,
+ "dataFileName": "Journey_mermaid-export.svg"
+ }
+ ]
+ },
+ {
+ "isClone": false,
+ "noteId": "P9QvwWzLZnXJ",
+ "notePath": [
+ "root",
+ "Fb7eMY46lT6k",
+ "k7rcoITZRsi6",
+ "lZlMer9EkwF8",
+ "P9QvwWzLZnXJ"
+ ],
+ "title": "Git",
+ "notePosition": 90,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "mermaid",
+ "mime": "text/plain",
+ "attributes": [],
+ "dataFileName": "Git.txt",
+ "attachments": [
+ {
+ "attachmentId": "tIoCBIaY50Jm",
+ "title": "mermaid-export.svg",
+ "role": "image",
+ "mime": "image/svg+xml",
+ "position": 10,
+ "dataFileName": "Git_mermaid-export.svg"
+ }
+ ]
+ },
+ {
+ "isClone": false,
+ "noteId": "19O4nsY7dkPt",
+ "notePath": [
+ "root",
+ "Fb7eMY46lT6k",
+ "k7rcoITZRsi6",
+ "lZlMer9EkwF8",
+ "19O4nsY7dkPt"
+ ],
+ "title": "Entity Relationship",
+ "notePosition": 100,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "mermaid",
+ "mime": "text/plain",
+ "attributes": [],
+ "dataFileName": "Entity Relationship.txt",
+ "attachments": [
+ {
+ "attachmentId": "AyKZhKQIE5w9",
+ "title": "mermaid-export.svg",
+ "role": "image",
+ "mime": "image/svg+xml",
+ "position": 10,
+ "dataFileName": "Entity Relationship_mermai.svg"
+ }
+ ]
+ },
+ {
+ "isClone": false,
+ "noteId": "2izpY6SPbmhp",
+ "notePath": [
+ "root",
+ "Fb7eMY46lT6k",
+ "k7rcoITZRsi6",
+ "lZlMer9EkwF8",
+ "2izpY6SPbmhp"
+ ],
+ "title": "Bar chart",
+ "notePosition": 110,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "mermaid",
+ "mime": "text/mermaid",
+ "attributes": [],
+ "dataFileName": "Bar chart.txt",
+ "attachments": [
+ {
+ "attachmentId": "r1wMURlU52l8",
+ "title": "mermaid-export.svg",
+ "role": "image",
+ "mime": "image/svg+xml",
+ "position": 10,
+ "dataFileName": "Bar chart_mermaid-export.svg"
+ }
+ ]
+ },
+ {
+ "isClone": false,
+ "noteId": "hwx0dffwqIGg",
+ "notePath": [
+ "root",
+ "Fb7eMY46lT6k",
+ "k7rcoITZRsi6",
+ "lZlMer9EkwF8",
+ "hwx0dffwqIGg"
+ ],
+ "title": "C4",
+ "notePosition": 120,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "mermaid",
+ "mime": "text/plain",
+ "attributes": [],
+ "dataFileName": "C4.txt",
+ "attachments": [
+ {
+ "attachmentId": "6v2qO6zsygVC",
+ "title": "mermaid-export.svg",
+ "role": "image",
+ "mime": "image/svg+xml",
+ "position": 10,
+ "dataFileName": "C4_mermaid-export.svg"
+ }
+ ]
}
]
},
{
"isClone": false,
- "noteId": "0k0PGp04a9AN",
+ "noteId": "CN3CCLggUqf4",
"notePath": [
"root",
"Fb7eMY46lT6k",
- "CN3CCLggUqf4",
- "0k0PGp04a9AN"
+ "k7rcoITZRsi6",
+ "CN3CCLggUqf4"
],
- "title": "new note",
- "notePosition": 20,
+ "title": "Mind Map",
+ "notePosition": 30,
"prefix": null,
- "isExpanded": false,
+ "isExpanded": true,
"type": "mindMap",
"mime": "application/json",
"attributes": [],
- "dataFileName": "1_new note.json",
- "attachments": []
- }
- ]
- },
- {
- "isClone": false,
- "noteId": "lZlMer9EkwF8",
- "notePath": [
- "root",
- "Fb7eMY46lT6k",
- "lZlMer9EkwF8"
- ],
- "title": "Mermaid Diagrams",
- "notePosition": 90,
- "prefix": null,
- "isExpanded": false,
- "type": "book",
- "mime": "",
- "attributes": [],
- "attachments": [],
- "dirFileName": "Mermaid Diagrams",
- "children": [
- {
- "isClone": false,
- "noteId": "DALQSU4fng4F",
- "notePath": [
- "root",
- "Fb7eMY46lT6k",
- "lZlMer9EkwF8",
- "DALQSU4fng4F"
- ],
- "title": "Flow",
- "notePosition": 10,
- "prefix": null,
- "isExpanded": false,
- "type": "mermaid",
- "mime": "text/mermaid",
- "attributes": [],
- "dataFileName": "Flow.txt",
+ "dataFileName": "Mind Map.json",
"attachments": [
{
- "attachmentId": "6u2TW8zweuBN",
- "title": "mermaid-export.svg",
+ "attachmentId": "xKxyCN02w5d2",
+ "title": "mindmap-export.svg",
"role": "image",
"mime": "image/svg+xml",
- "position": 10,
- "dataFileName": "Flow_mermaid-export.svg"
+ "position": 0,
+ "dataFileName": "Mind Map_mindmap-export.svg"
}
]
},
{
"isClone": false,
- "noteId": "g7rjYwoleBlR",
+ "noteId": "OdCVNGzsvWuv",
"notePath": [
"root",
"Fb7eMY46lT6k",
- "lZlMer9EkwF8",
- "g7rjYwoleBlR"
+ "k7rcoITZRsi6",
+ "OdCVNGzsvWuv"
],
- "title": "Flow (ELK)",
- "notePosition": 11,
- "prefix": null,
- "isExpanded": false,
- "type": "mermaid",
- "mime": "text/mermaid",
- "attributes": [],
- "dataFileName": "Flow (ELK).txt",
- "attachments": [
- {
- "attachmentId": "9TKNS3IHYYQq",
- "title": "mermaid-export.svg",
- "role": "image",
- "mime": "image/svg+xml",
- "position": 10,
- "dataFileName": "Flow (ELK)_mermaid-export.svg"
- }
- ]
- },
- {
- "isClone": false,
- "noteId": "t73XNJNTTwQp",
- "notePath": [
- "root",
- "Fb7eMY46lT6k",
- "lZlMer9EkwF8",
- "t73XNJNTTwQp"
- ],
- "title": "Sequence",
- "notePosition": 20,
- "prefix": null,
- "isExpanded": false,
- "type": "mermaid",
- "mime": "text/mermaid",
- "attributes": [],
- "dataFileName": "Sequence.txt",
- "attachments": [
- {
- "attachmentId": "XfWi1TqleVbL",
- "title": "mermaid-export.svg",
- "role": "image",
- "mime": "image/svg+xml",
- "position": 10,
- "dataFileName": "Sequence_mermaid-export.svg"
- }
- ]
- },
- {
- "isClone": false,
- "noteId": "6wdYxWSVuXof",
- "notePath": [
- "root",
- "Fb7eMY46lT6k",
- "lZlMer9EkwF8",
- "6wdYxWSVuXof"
- ],
- "title": "Gantt",
- "notePosition": 30,
- "prefix": null,
- "isExpanded": false,
- "type": "mermaid",
- "mime": "text/plain",
- "attributes": [],
- "dataFileName": "Gantt.txt",
- "attachments": [
- {
- "attachmentId": "zCjOBL5UP9ii",
- "title": "mermaid-export.svg",
- "role": "image",
- "mime": "image/svg+xml",
- "position": 10,
- "dataFileName": "Gantt_mermaid-export.svg"
- }
- ]
- },
- {
- "isClone": false,
- "noteId": "WKL3yssKyoth",
- "notePath": [
- "root",
- "Fb7eMY46lT6k",
- "lZlMer9EkwF8",
- "WKL3yssKyoth"
- ],
- "title": "Class",
+ "title": "Geo Map (The Seven Wonders of the World)",
"notePosition": 40,
"prefix": null,
"isExpanded": false,
- "type": "mermaid",
- "mime": "text/plain",
- "attributes": [],
- "dataFileName": "Class.txt",
- "attachments": [
+ "type": "geoMap",
+ "mime": "application/json",
+ "attributes": [
{
- "attachmentId": "sRADq0QJpaYr",
- "title": "mermaid-export.svg",
- "role": "image",
- "mime": "image/svg+xml",
- "position": 10,
- "dataFileName": "Class_mermaid-export.svg"
+ "type": "label",
+ "name": "label:geolocation",
+ "value": "promoted,alias=Geolocation,single,text",
+ "isInheritable": true,
+ "position": 10
+ },
+ {
+ "type": "label",
+ "name": "hidePromotedAttributes",
+ "value": "",
+ "isInheritable": false,
+ "position": 20
}
- ]
- },
- {
- "isClone": false,
- "noteId": "v9TM7cCXBILP",
- "notePath": [
- "root",
- "Fb7eMY46lT6k",
- "lZlMer9EkwF8",
- "v9TM7cCXBILP"
],
- "title": "State",
- "notePosition": 50,
- "prefix": null,
- "isExpanded": false,
- "type": "mermaid",
- "mime": "text/plain",
- "attributes": [],
- "dataFileName": "State.txt",
- "attachments": [
+ "dataFileName": "Geo Map (The Seven Wonders of .json",
+ "attachments": [],
+ "dirFileName": "Geo Map (The Seven Wonders of the World)",
+ "children": [
{
- "attachmentId": "NhPv2lQln1g4",
- "title": "mermaid-export.svg",
- "role": "image",
- "mime": "image/svg+xml",
- "position": 10,
- "dataFileName": "State_mermaid-export.svg"
- }
- ]
- },
- {
- "isClone": false,
- "noteId": "1EDhd9QJyulq",
- "notePath": [
- "root",
- "Fb7eMY46lT6k",
- "lZlMer9EkwF8",
- "1EDhd9QJyulq"
- ],
- "title": "Mind Map",
- "notePosition": 60,
- "prefix": null,
- "isExpanded": false,
- "type": "mermaid",
- "mime": "text/mermaid",
- "attributes": [],
- "dataFileName": "Mind Map.txt",
- "attachments": [
+ "isClone": false,
+ "noteId": "IdHyf4rlLmlO",
+ "notePath": [
+ "root",
+ "Fb7eMY46lT6k",
+ "k7rcoITZRsi6",
+ "OdCVNGzsvWuv",
+ "IdHyf4rlLmlO"
+ ],
+ "title": "The Colosseum, Rome, Italy",
+ "notePosition": 10,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "text",
+ "mime": "text/html",
+ "attributes": [
+ {
+ "type": "label",
+ "name": "geolocation",
+ "value": "41.89024211851462, 12.492263083403595",
+ "isInheritable": false,
+ "position": 20
+ },
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bx-circle",
+ "isInheritable": false,
+ "position": 30
+ }
+ ],
+ "format": "html",
+ "dataFileName": "The Colosseum, Rome, Italy.html",
+ "attachments": []
+ },
{
- "attachmentId": "Q8EircLk65HH",
- "title": "mermaid-export.svg",
- "role": "image",
- "mime": "image/svg+xml",
- "position": 10,
- "dataFileName": "Mind Map_mermaid-export.svg"
- }
- ]
- },
- {
- "isClone": false,
- "noteId": "n32hpxSA2fP8",
- "notePath": [
- "root",
- "Fb7eMY46lT6k",
- "lZlMer9EkwF8",
- "n32hpxSA2fP8"
- ],
- "title": "Pie",
- "notePosition": 70,
- "prefix": null,
- "isExpanded": false,
- "type": "mermaid",
- "mime": "text/plain",
- "attributes": [],
- "dataFileName": "Pie.txt",
- "attachments": [
+ "isClone": false,
+ "noteId": "Wyp6vjVo0vuV",
+ "notePath": [
+ "root",
+ "Fb7eMY46lT6k",
+ "k7rcoITZRsi6",
+ "OdCVNGzsvWuv",
+ "Wyp6vjVo0vuV"
+ ],
+ "title": "The Great Wall of China",
+ "notePosition": 20,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "text",
+ "mime": "text/html",
+ "attributes": [
+ {
+ "type": "label",
+ "name": "geolocation",
+ "value": "40.431907671437244, 116.57035343915216",
+ "isInheritable": false,
+ "position": 20
+ },
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bx-selection",
+ "isInheritable": false,
+ "position": 30
+ }
+ ],
+ "format": "html",
+ "dataFileName": "The Great Wall of China.html",
+ "attachments": []
+ },
{
- "attachmentId": "6xhRWdFidyIg",
- "title": "mermaid-export.svg",
- "role": "image",
- "mime": "image/svg+xml",
- "position": 10,
- "dataFileName": "Pie_mermaid-export.svg"
- }
- ]
- },
- {
- "isClone": false,
- "noteId": "T0QEYaEv7PmE",
- "notePath": [
- "root",
- "Fb7eMY46lT6k",
- "lZlMer9EkwF8",
- "T0QEYaEv7PmE"
- ],
- "title": "Journey",
- "notePosition": 80,
- "prefix": null,
- "isExpanded": false,
- "type": "mermaid",
- "mime": "text/plain",
- "attributes": [],
- "dataFileName": "Journey.txt",
- "attachments": [
+ "isClone": false,
+ "noteId": "VsO5E97Y2mPy",
+ "notePath": [
+ "root",
+ "Fb7eMY46lT6k",
+ "k7rcoITZRsi6",
+ "OdCVNGzsvWuv",
+ "VsO5E97Y2mPy"
+ ],
+ "title": "The Taj Mahal, India",
+ "notePosition": 30,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "text",
+ "mime": "text/html",
+ "attributes": [
+ {
+ "type": "label",
+ "name": "geolocation",
+ "value": "27.175173410074475, 78.04213146744753",
+ "isInheritable": false,
+ "position": 20
+ },
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bx-arch",
+ "isInheritable": false,
+ "position": 30
+ }
+ ],
+ "format": "html",
+ "dataFileName": "The Taj Mahal, India.html",
+ "attachments": []
+ },
{
- "attachmentId": "sxLqDNmjlbK4",
- "title": "mermaid-export.svg",
- "role": "image",
- "mime": "image/svg+xml",
- "position": 10,
- "dataFileName": "Journey_mermaid-export.svg"
- }
- ]
- },
- {
- "isClone": false,
- "noteId": "P9QvwWzLZnXJ",
- "notePath": [
- "root",
- "Fb7eMY46lT6k",
- "lZlMer9EkwF8",
- "P9QvwWzLZnXJ"
- ],
- "title": "Git",
- "notePosition": 90,
- "prefix": null,
- "isExpanded": false,
- "type": "mermaid",
- "mime": "text/plain",
- "attributes": [],
- "dataFileName": "Git.txt",
- "attachments": [
+ "isClone": false,
+ "noteId": "8nRYOMoDdWs3",
+ "notePath": [
+ "root",
+ "Fb7eMY46lT6k",
+ "k7rcoITZRsi6",
+ "OdCVNGzsvWuv",
+ "8nRYOMoDdWs3"
+ ],
+ "title": "Christ the Redeemer, Brazil",
+ "notePosition": 40,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "text",
+ "mime": "text/html",
+ "attributes": [
+ {
+ "type": "label",
+ "name": "geolocation",
+ "value": "-22.951993968508837, -43.21044464113274",
+ "isInheritable": false,
+ "position": 20
+ },
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bx-church",
+ "isInheritable": false,
+ "position": 30
+ }
+ ],
+ "format": "html",
+ "dataFileName": "Christ the Redeemer, Brazil.html",
+ "attachments": []
+ },
{
- "attachmentId": "tIoCBIaY50Jm",
- "title": "mermaid-export.svg",
- "role": "image",
- "mime": "image/svg+xml",
- "position": 10,
- "dataFileName": "Git_mermaid-export.svg"
- }
- ]
- },
- {
- "isClone": false,
- "noteId": "19O4nsY7dkPt",
- "notePath": [
- "root",
- "Fb7eMY46lT6k",
- "lZlMer9EkwF8",
- "19O4nsY7dkPt"
- ],
- "title": "Entity Relationship",
- "notePosition": 100,
- "prefix": null,
- "isExpanded": false,
- "type": "mermaid",
- "mime": "text/plain",
- "attributes": [],
- "dataFileName": "Entity Relationship.txt",
- "attachments": [
+ "isClone": false,
+ "noteId": "nZxMTxkP8AQ4",
+ "notePath": [
+ "root",
+ "Fb7eMY46lT6k",
+ "k7rcoITZRsi6",
+ "OdCVNGzsvWuv",
+ "nZxMTxkP8AQ4"
+ ],
+ "title": "Machu Picchu, Peru",
+ "notePosition": 50,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "text",
+ "mime": "text/html",
+ "attributes": [
+ {
+ "type": "label",
+ "name": "geolocation",
+ "value": "-13.163198787170078, -72.54528356174288",
+ "isInheritable": false,
+ "position": 20
+ },
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bxs-castle",
+ "isInheritable": false,
+ "position": 30
+ }
+ ],
+ "format": "html",
+ "dataFileName": "Machu Picchu, Peru.html",
+ "attachments": []
+ },
{
- "attachmentId": "AyKZhKQIE5w9",
- "title": "mermaid-export.svg",
- "role": "image",
- "mime": "image/svg+xml",
- "position": 10,
- "dataFileName": "Entity Relationship_mermai.svg"
- }
- ]
- },
- {
- "isClone": false,
- "noteId": "2izpY6SPbmhp",
- "notePath": [
- "root",
- "Fb7eMY46lT6k",
- "lZlMer9EkwF8",
- "2izpY6SPbmhp"
- ],
- "title": "Bar chart",
- "notePosition": 110,
- "prefix": null,
- "isExpanded": false,
- "type": "mermaid",
- "mime": "text/mermaid",
- "attributes": [],
- "dataFileName": "Bar chart.txt",
- "attachments": [
+ "isClone": false,
+ "noteId": "DtMcvaYKen9C",
+ "notePath": [
+ "root",
+ "Fb7eMY46lT6k",
+ "k7rcoITZRsi6",
+ "OdCVNGzsvWuv",
+ "DtMcvaYKen9C"
+ ],
+ "title": "Chichén Itzá, Mexico",
+ "notePosition": 60,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "text",
+ "mime": "text/html",
+ "attributes": [
+ {
+ "type": "label",
+ "name": "geolocation",
+ "value": "20.678882007143176, -88.56836961554815",
+ "isInheritable": false,
+ "position": 20
+ },
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bxs-component",
+ "isInheritable": false,
+ "position": 30
+ }
+ ],
+ "format": "html",
+ "dataFileName": "Chichén Itzá, Mexico.html",
+ "attachments": []
+ },
{
- "attachmentId": "r1wMURlU52l8",
- "title": "mermaid-export.svg",
- "role": "image",
- "mime": "image/svg+xml",
- "position": 10,
- "dataFileName": "Bar chart_mermaid-export.svg"
- }
- ]
- },
- {
- "isClone": false,
- "noteId": "hwx0dffwqIGg",
- "notePath": [
- "root",
- "Fb7eMY46lT6k",
- "lZlMer9EkwF8",
- "hwx0dffwqIGg"
- ],
- "title": "C4",
- "notePosition": 120,
- "prefix": null,
- "isExpanded": false,
- "type": "mermaid",
- "mime": "text/plain",
- "attributes": [],
- "dataFileName": "C4.txt",
- "attachments": [
- {
- "attachmentId": "6v2qO6zsygVC",
- "title": "mermaid-export.svg",
- "role": "image",
- "mime": "image/svg+xml",
- "position": 10,
- "dataFileName": "C4_mermaid-export.svg"
+ "isClone": false,
+ "noteId": "ZkR3GvsSQ0Xe",
+ "notePath": [
+ "root",
+ "Fb7eMY46lT6k",
+ "k7rcoITZRsi6",
+ "OdCVNGzsvWuv",
+ "ZkR3GvsSQ0Xe"
+ ],
+ "title": "Petra, Jordan",
+ "notePosition": 70,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "text",
+ "mime": "text/html",
+ "attributes": [
+ {
+ "type": "label",
+ "name": "geolocation",
+ "value": "30.32084750671952, 35.481009100454926",
+ "isInheritable": false,
+ "position": 20
+ },
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bxs-castle",
+ "isInheritable": false,
+ "position": 30
+ }
+ ],
+ "format": "html",
+ "dataFileName": "Petra, Jordan.html",
+ "attachments": []
}
]
}
@@ -3160,9 +3479,9 @@
"L2NrzQACw0in"
],
"title": "Books",
- "notePosition": 120,
+ "notePosition": 130,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [
@@ -3224,7 +3543,7 @@
"title": "Book template",
"notePosition": 10,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [
@@ -3311,7 +3630,7 @@
"title": "Reviews",
"notePosition": 20,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [
@@ -3356,12 +3675,20 @@
"EBROzsTV1jh4"
],
"title": "Work",
- "notePosition": 140,
+ "notePosition": 150,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
- "attributes": [],
+ "attributes": [
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bx-briefcase-alt",
+ "isInheritable": false,
+ "position": 10
+ }
+ ],
"format": "html",
"attachments": [],
"dirFileName": "Work",
@@ -3398,7 +3725,7 @@
"title": "Processes",
"notePosition": 10,
"prefix": null,
- "isExpanded": false,
+ "isExpanded": true,
"type": "text",
"mime": "text/html",
"attributes": [],
@@ -3437,9 +3764,9 @@
"6RKJSJ65qIn5"
],
"title": "Steel Blue",
- "notePosition": 150,
+ "notePosition": 160,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "code",
"mime": "text/css",
"attributes": [
@@ -3548,9 +3875,9 @@
"G8k9CPUVtDeE"
],
"title": "Scripting examples",
- "notePosition": 340,
+ "notePosition": 350,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [
@@ -3578,7 +3905,7 @@
"title": "Task manager",
"notePosition": 10,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [
@@ -4025,7 +4352,7 @@
"title": "Done",
"notePosition": 20,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [
@@ -4281,7 +4608,7 @@
"title": "TODO",
"notePosition": 30,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [
@@ -4398,7 +4725,7 @@
"title": "Implementation",
"notePosition": 40,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [
@@ -4604,7 +4931,7 @@
"title": "Tags",
"notePosition": 50,
"prefix": null,
- "isExpanded": true,
+ "isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [
diff --git a/demo/navigation.html b/demo/navigation.html
index ae5e227f8..55bba6d58 100644
--- a/demo/navigation.html
+++ b/demo/navigation.html
@@ -248,70 +248,101 @@
- node.js
+ Node.js
- Canvas note
-
- Mind map
+ Note Types
-
- Mermaid Diagrams
-
diff --git a/demo/root/Trilium Demo.html b/demo/root/Trilium Demo.html
index 2b2617d96..cd12b4bd1 100644
--- a/demo/root/Trilium Demo.html
+++ b/demo/root/Trilium Demo.html
@@ -18,30 +18,22 @@
height="150">
Welcome to TriliumNext Notes!
-
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
structure your notes. You can play with it, modify note content and tree
structure as you wish.
If you need any help, visit TriliumNext website: https://github.com/TriliumNext
-
- Cleanup
-
+ Cleanup
Once you're finished with experimenting and want to cleanup these pages,
you can simply delete them all.
-
- Formatting
-
+ Formatting
TriliumNext supports classic formatting like italic, bold, bold and italic.
Of course you can add links like this one pointing to google.com
-
Lists
Ordered:
-
- First Item
@@ -56,7 +48,6 @@
Unordered:
-
- Item
diff --git a/demo/root/Trilium Demo/Formatting examples/Checkbox lists.html b/demo/root/Trilium Demo/Formatting examples/Checkbox lists.html
index edde9eae0..62c728414 100644
--- a/demo/root/Trilium Demo/Formatting examples/Checkbox lists.html
+++ b/demo/root/Trilium Demo/Formatting examples/Checkbox lists.html
@@ -17,26 +17,22 @@
diff --git a/demo/root/Trilium Demo/Formatting examples/Math.html b/demo/root/Trilium Demo/Formatting examples/Math.html
index d9413cb9e..54a28f3ff 100644
--- a/demo/root/Trilium Demo/Formatting examples/Math.html
+++ b/demo/root/Trilium Demo/Formatting examples/Math.html
@@ -15,10 +15,8 @@
\(% \f is defined as #1f(#2) using the macro \f\relax{x} = \int_{-\infty}^\infty \f\hat\xi\,e^{2 \pi i \xi x} \,d\xi\)Some
math examples:
\[\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} } } }\]
-
Another:
\[\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)\]
-
-
Inline math is also possible: \(c^2 = a^2 + b^2\) Neat!
+
Inline math is also possible: \(c^2 = a^2 + b^2\)
diff --git a/demo/root/Trilium Demo/Journal.html b/demo/root/Trilium Demo/Journal.html
index b80ca54e2..faac301b5 100644
--- a/demo/root/Trilium Demo/Journal.html
+++ b/demo/root/Trilium Demo/Journal.html
@@ -13,117 +13,8 @@
Journal
-
+
You can read some explanation on how this journal works here: https://github.com/zadam/trilium/wiki/Day-notes
+
+
+
Chichén Itzá, Mexico
+
+
+
Deep in the Mexican state of Yucatán lies Chichen Itza,
+ a historic Mayan city
+ built between the 9th and 12th centuries. Constructed by the pre-Columbian
+ Mayan tribe Itzá,
+ the city includes a series of monuments and temples. The most celebrated
+ is El Castillo,
+ also known as the Temple of Kukulcan. It is a huge step pyramid in the
+ center of the city which was built as a devotional temple to the god Kukulkan.
+
+
+
+
+
+
diff --git a/demo/root/Trilium Demo/Journal/2021/11 - November/28 - Tuesday/Phone call about work project.html b/demo/root/Trilium Demo/Journal/2021/11 - November/28 - Tuesday/Phone call about work project.html
index 70f27f429..11b751054 100644
--- a/demo/root/Trilium Demo/Journal/2021/11 - November/28 - Tuesday/Phone call about work project.html
+++ b/demo/root/Trilium Demo/Journal/2021/11 - November/28 - Tuesday/Phone call about work project.html
@@ -13,115 +13,7 @@
diff --git a/demo/root/Trilium Demo/Journal/2021/12 - December/18 - Monday/Meeting minutes.html b/demo/root/Trilium Demo/Journal/2021/12 - December/18 - Monday/Meeting minutes.html
index dc8c41cff..477456a5c 100644
--- a/demo/root/Trilium Demo/Journal/2021/12 - December/18 - Monday/Meeting minutes.html
+++ b/demo/root/Trilium Demo/Journal/2021/12 - December/18 - Monday/Meeting minutes.html
@@ -13,115 +13,7 @@
diff --git a/demo/root/Trilium Demo/Journal/2021/12 - December/21 - Thursday/Christmas shopping.html b/demo/root/Trilium Demo/Journal/2021/12 - December/21 - Thursday/Christmas shopping.html
index 99fd86055..3e3e61d8c 100644
--- a/demo/root/Trilium Demo/Journal/2021/12 - December/21 - Thursday/Christmas shopping.html
+++ b/demo/root/Trilium Demo/Journal/2021/12 - December/21 - Thursday/Christmas shopping.html
@@ -13,115 +13,7 @@
diff --git a/demo/root/Trilium Demo/Journal/2021/12 - December/21 - Thursday/Office party.html b/demo/root/Trilium Demo/Journal/2021/12 - December/21 - Thursday/Office party.html
index e4ed0b6ea..f4706849b 100644
--- a/demo/root/Trilium Demo/Journal/2021/12 - December/21 - Thursday/Office party.html
+++ b/demo/root/Trilium Demo/Journal/2021/12 - December/21 - Thursday/Office party.html
@@ -13,113 +13,7 @@
diff --git a/demo/root/Trilium Demo/Journal/2021/Epics/Christmas.html b/demo/root/Trilium Demo/Journal/2021/Epics/Christmas.html
index 08a883e05..6aa070d40 100644
--- a/demo/root/Trilium Demo/Journal/2021/Epics/Christmas.html
+++ b/demo/root/Trilium Demo/Journal/2021/Epics/Christmas.html
@@ -13,115 +13,7 @@
diff --git a/demo/root/Trilium Demo/Journal/2021/Epics/Christmas/Christmas dinner.html b/demo/root/Trilium Demo/Journal/2021/Epics/Christmas/Christmas dinner.html
index d5cfc4948..41af08b44 100644
--- a/demo/root/Trilium Demo/Journal/2021/Epics/Christmas/Christmas dinner.html
+++ b/demo/root/Trilium Demo/Journal/2021/Epics/Christmas/Christmas dinner.html
@@ -13,113 +13,7 @@
diff --git a/demo/root/Trilium Demo/Journal/2021/Epics/Vacation.html b/demo/root/Trilium Demo/Journal/2021/Epics/Vacation.html
index db37a860d..5d82e56d8 100644
--- a/demo/root/Trilium Demo/Journal/2021/Epics/Vacation.html
+++ b/demo/root/Trilium Demo/Journal/2021/Epics/Vacation.html
@@ -13,113 +13,7 @@
diff --git a/demo/root/Trilium Demo/Mind map/1_new note.json b/demo/root/Trilium Demo/Mind map/1_new note.json
deleted file mode 100644
index e69de29bb..000000000
diff --git a/demo/root/Trilium Demo/Mind map/new note.json b/demo/root/Trilium Demo/Mind map/new note.json
deleted file mode 100644
index b73e5bf70..000000000
--- a/demo/root/Trilium Demo/Mind map/new note.json
+++ /dev/null
@@ -1 +0,0 @@
-{"nodeData":{"id":"1add248a269dc540","topic":"new topic","root":true,"children":[{"topic":"sfg","id":"1add2e114258aa6f"}]},"arrows":[],"summaries":[],"direction":0,"theme":{"name":"Latte","palette":["#dd7878","#ea76cb","#8839ef","#e64553","#fe640b","#df8e1d","#40a02b","#209fb5","#1e66f5","#7287fd"],"cssVar":{"--main-color":"#444446","--main-bgcolor":"#ffffff","--color":"#777777","--bgcolor":"#f6f6f6","--panel-color":"#444446","--panel-bgcolor":"#ffffff","--panel-border-color":"#eaeaea"}}}
\ No newline at end of file
diff --git a/demo/root/Trilium Demo/Mind map/new note/new note.json b/demo/root/Trilium Demo/Mind map/new note/new note.json
deleted file mode 100644
index cb4b5098a..000000000
--- a/demo/root/Trilium Demo/Mind map/new note/new note.json
+++ /dev/null
@@ -1 +0,0 @@
-{"nodeData":{"id":"1adc13eb15e57c17","topic":"new topic","root":true,"children":[{"topic":"asdfas","id":"1adc142dd5a11537","children":[{"topic":"adsf","id":"1adc14819bdcb38d"},{"topic":"asd","id":"1adc14c6920bc68a","children":[{"topic":"asd","id":"1adc1aab9383a26f","children":[{"topic":"asd","id":"1adc1b14942f7a44"}]}]},{"topic":"new node","id":"1adc14fc5f38fd4c"},{"topic":"adsf","id":"1adc152588d29a91"},{"topic":"asdf","id":"1adc19601cdcd9b6"}]},{"topic":"asdf","id":"1add48c7aa544e61","children":[{"topic":"asdf","id":"1add4917919fe495"}]},{"topic":"The quick brownie foxie","id":"1ade2085c2cd91a0"}]},"arrows":[],"summaries":[],"direction":1,"theme":{"name":"Latte","palette":["#dd7878","#ea76cb","#8839ef","#e64553","#fe640b","#df8e1d","#40a02b","#209fb5","#1e66f5","#7287fd"],"cssVar":{"--main-color":"#444446","--main-bgcolor":"#ffffff","--color":"#777777","--bgcolor":"#f6f6f6","--panel-color":"#444446","--panel-bgcolor":"#ffffff","--panel-border-color":"#eaeaea"}}}
\ No newline at end of file
diff --git a/demo/root/Trilium Demo/Canvas note.json b/demo/root/Trilium Demo/Note Types/Canvas.json
similarity index 100%
rename from demo/root/Trilium Demo/Canvas note.json
rename to demo/root/Trilium Demo/Note Types/Canvas.json
diff --git a/demo/root/Trilium Demo/Canvas note_canvas-export.svg b/demo/root/Trilium Demo/Note Types/Canvas_canvas-export.svg
similarity index 100%
rename from demo/root/Trilium Demo/Canvas note_canvas-export.svg
rename to demo/root/Trilium Demo/Note Types/Canvas_canvas-export.svg
diff --git a/demo/root/Trilium Demo/Note Types/Geo Map (The Seven Wonders of .json b/demo/root/Trilium Demo/Note Types/Geo Map (The Seven Wonders of .json
new file mode 100644
index 000000000..c2bae9b3e
--- /dev/null
+++ b/demo/root/Trilium Demo/Note Types/Geo Map (The Seven Wonders of .json
@@ -0,0 +1 @@
+{"view":{"center":{"lat":5.840169838914697,"lng":14.578571156950112},"zoom":3}}
\ No newline at end of file
diff --git a/demo/root/Trilium Demo/Note Types/Geo Map (The Seven Wonders of the World)/Chichén Itzá, Mexico.html b/demo/root/Trilium Demo/Note Types/Geo Map (The Seven Wonders of the World)/Chichén Itzá, Mexico.html
new file mode 100644
index 000000000..ab44bd638
--- /dev/null
+++ b/demo/root/Trilium Demo/Note Types/Geo Map (The Seven Wonders of the World)/Chichén Itzá, Mexico.html
@@ -0,0 +1,43 @@
+
+
+