Skip to content

Build your personal knowledge base with Trilium Notes

Merge remote-tracking branch 'origin/main' into patch-2

Elian Doran1df0e7b2b0cd
diff --cc apps/edit-docs/demo/!!!meta.json
index d363ef1775,b96c4a402a..ce5046fb11
--- a/apps/edit-docs/demo/!!!meta.json
+++ b/apps/edit-docs/demo/!!!meta.json
@@@ -89,38 -89,38 +89,45 @@@
{
"type": "relation",
"name": "internalLink",
-- "value": "Th0SHTjziC8R",
++ "value": "xY1FldcqIlaS",
"isInheritable": false,
"position": 10
},
{
"type": "relation",
"name": "internalLink",
-- "value": "1afuYh5pfoEP",
++ "value": "Th0SHTjziC8R",
"isInheritable": false,
"position": 20
},
{
"type": "relation",
"name": "internalLink",
-- "value": "FtCt1LKirRGs",
++ "value": "1afuYh5pfoEP",
"isInheritable": false,
"position": 30
},
{
"type": "relation",
"name": "internalLink",
-- "value": "uppxiNYbjvGw",
++ "value": "FtCt1LKirRGs",
"isInheritable": false,
"position": 40
},
{
"type": "relation",
"name": "internalLink",
-- "value": "Q3ve69mXIaMY",
++ "value": "uppxiNYbjvGw",
"isInheritable": false,
"position": 50
},
++ {
++ "type": "relation",
++ "name": "internalLink",
++ "value": "Q3ve69mXIaMY",
++ "isInheritable": false,
++ "position": 60
++ },
{
"type": "label",
"name": "iconClass",
diff --cc apps/edit-docs/demo/root/Trilium Demo.html
index bf6ef1331a,9a2ba27c1a..206054b925
--- a/apps/edit-docs/demo/root/Trilium Demo.html
+++ b/apps/edit-docs/demo/root/Trilium Demo.html
@@@ -18,48 -18,46 +18,56 @@@
height="150">
</figure>
<p><strong>Welcome to Trilium Notes!</strong>
++
</p>
- <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
- structure your notes. You can play with it, modify note content and tree
- 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>This is a "demo" document packaged with Trilium to showcase some of its
+ features and also give you some ideas on how you might structure your notes.
+ You can play with it, and modify the note content and tree structure as
+ you wish.</p>
+ <p>If you need any help, visit <a href="https://triliumnotes.org">triliumnotes.org</a> or
+ our <a href="https://github.com/TriliumNext">GitHub repository</a>
++
</p>
- <h2>Cleanup</h2>
- <h3>Cleanup</h3>
++ <h2>Cleanup</h2>
++
<p>Once you're finished with experimenting and want to cleanup these pages,
you can simply delete them all.</p>
- <h2>Formatting</h2>
- <h3>Formatting</h3>
- <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>
- </p>
- <p>Lists</p>
++ <h2>Formatting</h2>
++
+ <p>Trilium supports classic formatting like <em>italic</em>, <strong>bold</strong>, <em><strong>bold and italic</strong></em>.
+ You can add links pointing to <a href="https://triliumnotes.org/">external pages</a> or&nbsp;
+ <a
+ class="reference-link" href="Trilium%20Demo/Formatting%20examples">Formatting examples</a>.</p>
- <h3>Lists</h3>
++ <h3>Lists</h3>
++
<p><strong>Ordered:</strong>
++
</p>
<ol>
- <li>First Item</li>
- <li>Second item
+ <li data-list-item-id="e877cc655d0239b8bb0f38696ad5d8abb">First Item</li>
+ <li data-list-item-id="e375e76d4e40e41d3b2d81c82c5ea09cd">Second item
<ol>
- <li>First sub-item
+ <li data-list-item-id="e0b2bd1e3bc1e3c5d8abec0fbc16aca16">First sub-item
<ol>
- <li>sub-sub-item</li>
+ <li data-list-item-id="ecaa8faedd3102f712d126f4119bca7df">sub-sub-item</li>
</ol>
</li>
</ol>
</li>
</ol>
<p><strong>Unordered:</strong>
++
</p>
<ul>
- <li>Item</li>
- <li>Another item
+ <li data-list-item-id="e68bf4b518a16671c314a72073c3d900a">Item</li>
+ <li data-list-item-id="eff02ac92025971883f324fbee5ec8233">Another item
<ul>
- <li>Sub-item</li>
+ <li data-list-item-id="e413637ee8e0f3d429e06ddd683df0ea6">Sub-item</li>
</ul>
</li>
</ul>
- <h3>Block quotes</h3>
- <p>Block quotes</p>
++ <h3>Block quotes</h3>
++
<blockquote>
<p>Whereof one cannot speak, thereof one must be silent”</p>
<p>– Ludwig Wittgenstein</p>
diff --cc apps/edit-docs/demo/root/Trilium Demo/Formatting examples/Code blocks.html
index a1cc12a9f0,4db7c16f2e..6827fa8af4
--- a/apps/edit-docs/demo/root/Trilium Demo/Formatting examples/Code blocks.html
+++ b/apps/edit-docs/demo/root/Trilium Demo/Formatting examples/Code blocks.html
@@@ -20,7 -20,37 +20,9 @@@
is first created it will try to automatically determine the programming
language, should that fail it is possible to manually adjust it. The color
scheme for the syntax highlighting is adjustable in settings.&nbsp;</p><pre><code class="language-application-javascript-env-frontend">function helloWorld() {
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
alert("Hello world");
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
}</code></pre>
<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,
diff --cc apps/edit-docs/demo/root/Trilium Demo/Tech/Linux/Bash scripting/While loop.html
index 08b34ff0c4,accc0d2bfa..752bedbd2f
--- a/apps/edit-docs/demo/root/Trilium Demo/Tech/Linux/Bash scripting/While loop.html
+++ b/apps/edit-docs/demo/root/Trilium Demo/Tech/Linux/Bash scripting/While loop.html
@@@ -15,12 -15,149 +15,19 @@@
<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><pre><code class="language-text-x-sh">#!/bin/bash
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
# This script opens 4 terminal windows.
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
i="0"
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
while [ $i -lt 4 ]
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
do
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
xterm &amp;
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
i=$[$i+1]
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
done</code></pre>
</div>
</div>
diff --cc apps/server/src/assets/db/demo.zip
index e33db5d2ed,82b89f4945..ebf3f8a7c0
Binary files differ