docs(demo): update Trilium Demo first page

This commit is contained in:
Elian Doran
2025-10-21 11:33:14 +03:00
parent 2aa9ddc026
commit 6486c741a2
5 changed files with 34 additions and 104 deletions

View File

@@ -1,6 +1,6 @@
{
"formatVersion": 2,
"appVersion": "0.99.1",
"appVersion": "0.99.2",
"files": [
{
"isClone": false,
@@ -29,7 +29,7 @@
"title": "Journal",
"notePosition": 10,
"prefix": null,
"isExpanded": true,
"isExpanded": false,
"type": "book",
"mime": "",
"attributes": [
@@ -82,7 +82,7 @@
"title": "Trilium Demo",
"notePosition": 20,
"prefix": null,
"isExpanded": false,
"isExpanded": true,
"type": "text",
"mime": "text/html",
"attributes": [
@@ -127,6 +127,13 @@
"value": "bx bx-book-reader",
"isInheritable": false,
"position": 70
},
{
"type": "relation",
"name": "internalLink",
"value": "xY1FldcqIlaS",
"isInheritable": false,
"position": 80
}
],
"format": "html",

View File

@@ -19,30 +19,31 @@
</figure>
<p><strong>Welcome to Trilium Notes!</strong>
</p>
<p>This is a "demo" document packaged with TriliumNext 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 the 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>
<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>
<h3>Formatting</h3>
<p>TriliumNext 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
<a href="Trilium%20Demo/Formatting%20examples/">internal notes</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>
<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>
@@ -51,25 +52,26 @@
<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>
<p>Block quotes</p>
<h3>Block quotes</h3>
<blockquote>
<p>Whereof one cannot speak, thereof one must be silent”</p>
<p> Ludwig Wittgenstein</p>
</blockquote>
<hr>
<p>See also other examples like <a href="Trilium%20Demo/Formatting%20examples/School%20schedule.html">tables</a>,
<a
href="Trilium%20Demo/Formatting%20examples/Checkbox%20lists.html">checkbox lists,</a> <a href="Trilium%20Demo/Formatting%20examples/Highlighting.html">highlighting</a>,
<a
href="Trilium%20Demo/Formatting%20examples/Code%20blocks.html">code blocks</a> and <a href="Trilium%20Demo/Formatting%20examples/Math.html">math examples</a>.</p>
href="Trilium%20Demo/Formatting%20examples/Code%20blocks.html">code blocks</a>and <a href="Trilium%20Demo/Formatting%20examples/Math.html">math examples</a>.</p>
</div>
</div>
</body>
</html>
</html>

View File

@@ -20,21 +20,7 @@
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,

View File

@@ -15,77 +15,12 @@
<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>