chore(docs): normalize non-breaking spaces

This commit is contained in:
Elian Doran 2025-04-03 19:35:59 +03:00
parent 32db26684d
commit 14b0a9cb18
No known key found for this signature in database
38 changed files with 246 additions and 263 deletions

View File

@ -6887,28 +6887,28 @@
{ {
"type": "relation", "type": "relation",
"name": "internalLink", "name": "internalLink",
"value": "_optionsTextNotes", "value": "KSZ04uQ2D1St",
"isInheritable": false, "isInheritable": false,
"position": 10 "position": 10
}, },
{ {
"type": "relation", "type": "relation",
"name": "internalLink", "name": "internalLink",
"value": "_optionsCodeNotes", "value": "_optionsTextNotes",
"isInheritable": false, "isInheritable": false,
"position": 20 "position": 20
}, },
{ {
"type": "relation", "type": "relation",
"name": "internalLink", "name": "internalLink",
"value": "KSZ04uQ2D1St", "value": "MI26XDLSAlCD",
"isInheritable": false, "isInheritable": false,
"position": 30 "position": 30
}, },
{ {
"type": "relation", "type": "relation",
"name": "internalLink", "name": "internalLink",
"value": "MI26XDLSAlCD", "value": "_optionsCodeNotes",
"isInheritable": false, "isInheritable": false,
"position": 40 "position": 40
}, },

View File

@ -1,6 +1,6 @@
{ {
"formatVersion": 2, "formatVersion": 2,
"appVersion": "0.92.4", "appVersion": "0.92.5-beta",
"files": [ "files": [
{ {
"isClone": false, "isClone": false,
@ -1433,28 +1433,28 @@
{ {
"type": "relation", "type": "relation",
"name": "internalLink", "name": "internalLink",
"value": "BlN9DFI679QC", "value": "vZWERwf8U3nx",
"isInheritable": false, "isInheritable": false,
"position": 10 "position": 10
}, },
{ {
"type": "relation", "type": "relation",
"name": "internalLink", "name": "internalLink",
"value": "vZWERwf8U3nx", "value": "4FahAwuGTAwC",
"isInheritable": false, "isInheritable": false,
"position": 20 "position": 20
}, },
{ {
"type": "relation", "type": "relation",
"name": "internalLink", "name": "internalLink",
"value": "4FahAwuGTAwC", "value": "0vhv7lsOLy82",
"isInheritable": false, "isInheritable": false,
"position": 30 "position": 30
}, },
{ {
"type": "relation", "type": "relation",
"name": "internalLink", "name": "internalLink",
"value": "0vhv7lsOLy82", "value": "BlN9DFI679QC",
"isInheritable": false, "isInheritable": false,
"position": 40 "position": 40
}, },
@ -3058,6 +3058,20 @@
"isInheritable": false, "isInheritable": false,
"position": 50 "position": 50
}, },
{
"type": "relation",
"name": "internalLink",
"value": "QxEyIjRBizuC",
"isInheritable": false,
"position": 60
},
{
"type": "relation",
"name": "internalLink",
"value": "UYuUB1ZekNQU",
"isInheritable": false,
"position": 70
},
{ {
"type": "label", "type": "label",
"name": "shareAlias", "name": "shareAlias",
@ -3085,20 +3099,6 @@
"value": "", "value": "",
"isInheritable": false, "isInheritable": false,
"position": 40 "position": 40
},
{
"type": "relation",
"name": "internalLink",
"value": "UYuUB1ZekNQU",
"isInheritable": false,
"position": 60
},
{
"type": "relation",
"name": "internalLink",
"value": "QxEyIjRBizuC",
"isInheritable": false,
"position": 70
} }
], ],
"format": "html", "format": "html",
@ -3231,14 +3231,14 @@
{ {
"type": "relation", "type": "relation",
"name": "internalLink", "name": "internalLink",
"value": "QxEyIjRBizuC", "value": "6f9hih2hXXZk",
"isInheritable": false, "isInheritable": false,
"position": 20 "position": 20
}, },
{ {
"type": "relation", "type": "relation",
"name": "internalLink", "name": "internalLink",
"value": "6f9hih2hXXZk", "value": "QxEyIjRBizuC",
"isInheritable": false, "isInheritable": false,
"position": 30 "position": 30
}, },
@ -3324,44 +3324,44 @@
{ {
"type": "relation", "type": "relation",
"name": "internalLink", "name": "internalLink",
"value": "6f9hih2hXXZk", "value": "QxEyIjRBizuC",
"isInheritable": false, "isInheritable": false,
"position": 10 "position": 10
}, },
{ {
"type": "relation", "type": "relation",
"name": "internalLink", "name": "internalLink",
"value": "4TIF1oA4VQRO", "value": "6f9hih2hXXZk",
"isInheritable": false, "isInheritable": false,
"position": 20 "position": 20
}, },
{ {
"type": "relation", "type": "relation",
"name": "internalLink", "name": "internalLink",
"value": "nRhnJkTT8cPs", "value": "4TIF1oA4VQRO",
"isInheritable": false, "isInheritable": false,
"position": 30 "position": 30
}, },
{ {
"type": "relation", "type": "relation",
"name": "internalLink", "name": "internalLink",
"value": "s8alTXmpFR61", "value": "nRhnJkTT8cPs",
"isInheritable": false, "isInheritable": false,
"position": 40 "position": 40
}, },
{
"type": "relation",
"name": "internalLink",
"value": "s8alTXmpFR61",
"isInheritable": false,
"position": 50
},
{ {
"type": "label", "type": "label",
"name": "iconClass", "name": "iconClass",
"value": "bx bx-code", "value": "bx bx-code",
"isInheritable": false, "isInheritable": false,
"position": 50 "position": 50
},
{
"type": "relation",
"name": "internalLink",
"value": "QxEyIjRBizuC",
"isInheritable": false,
"position": 60
} }
], ],
"format": "html", "format": "html",
@ -4091,48 +4091,62 @@
"type": "text", "type": "text",
"mime": "text/markdown", "mime": "text/markdown",
"attributes": [ "attributes": [
{
"type": "relation",
"name": "internalLink",
"value": "zEY4DaJG4YT5",
"isInheritable": false,
"position": 10
},
{
"type": "relation",
"name": "internalLink",
"value": "OFXdgB2nNk1F",
"isInheritable": false,
"position": 20
},
{
"type": "relation",
"name": "internalLink",
"value": "wX4HbRucYSDD",
"isInheritable": false,
"position": 30
},
{ {
"type": "relation", "type": "relation",
"name": "imageLink", "name": "imageLink",
"value": "EH6qNioOHeyT", "value": "EH6qNioOHeyT",
"isInheritable": false, "isInheritable": false,
"position": 50 "position": 10
}, },
{ {
"type": "relation", "type": "relation",
"name": "imageLink", "name": "imageLink",
"value": "xeZPrfi77XPu", "value": "xeZPrfi77XPu",
"isInheritable": false, "isInheritable": false,
"position": 60 "position": 20
}, },
{ {
"type": "relation", "type": "relation",
"name": "imageLink", "name": "imageLink",
"value": "N98UhifxrVpZ", "value": "N98UhifxrVpZ",
"isInheritable": false, "isInheritable": false,
"position": 30
},
{
"type": "relation",
"name": "internalLink",
"value": "BFs8mudNFgCS",
"isInheritable": false,
"position": 40
},
{
"type": "relation",
"name": "internalLink",
"value": "zEY4DaJG4YT5",
"isInheritable": false,
"position": 50
},
{
"type": "relation",
"name": "internalLink",
"value": "OFXdgB2nNk1F",
"isInheritable": false,
"position": 60
},
{
"type": "relation",
"name": "internalLink",
"value": "wX4HbRucYSDD",
"isInheritable": false,
"position": 70 "position": 70
}, },
{
"type": "relation",
"name": "internalLink",
"value": "BCkXAVs63Ttv",
"isInheritable": false,
"position": 80
},
{ {
"type": "label", "type": "label",
"name": "shareAlias", "name": "shareAlias",
@ -4146,20 +4160,6 @@
"value": "bx bxs-network-chart", "value": "bx bxs-network-chart",
"isInheritable": false, "isInheritable": false,
"position": 20 "position": 20
},
{
"type": "relation",
"name": "internalLink",
"value": "BFs8mudNFgCS",
"isInheritable": false,
"position": 80
},
{
"type": "relation",
"name": "internalLink",
"value": "BCkXAVs63Ttv",
"isInheritable": false,
"position": 90
} }
], ],
"format": "html", "format": "html",
@ -4190,19 +4190,19 @@
"type": "text", "type": "text",
"mime": "text/html", "mime": "text/html",
"attributes": [ "attributes": [
{
"type": "relation",
"name": "internalLink",
"value": "BCkXAVs63Ttv",
"isInheritable": false,
"position": 10
},
{ {
"type": "label", "type": "label",
"name": "iconClass", "name": "iconClass",
"value": "bx bxs-network-chart", "value": "bx bxs-network-chart",
"isInheritable": false, "isInheritable": false,
"position": 10 "position": 10
},
{
"type": "relation",
"name": "internalLink",
"value": "BCkXAVs63Ttv",
"isInheritable": false,
"position": 20
} }
], ],
"format": "html", "format": "html",
@ -5916,23 +5916,23 @@
{ {
"type": "relation", "type": "relation",
"name": "internalLink", "name": "internalLink",
"value": "iRwzGnHPzonm", "value": "bdUJEHsAPYQR",
"isInheritable": false, "isInheritable": false,
"position": 20 "position": 20
}, },
{
"type": "relation",
"name": "internalLink",
"value": "iRwzGnHPzonm",
"isInheritable": false,
"position": 30
},
{ {
"type": "label", "type": "label",
"name": "shareAlias", "name": "shareAlias",
"value": "note-map", "value": "note-map",
"isInheritable": false, "isInheritable": false,
"position": 30 "position": 30
},
{
"type": "relation",
"name": "internalLink",
"value": "bdUJEHsAPYQR",
"isInheritable": false,
"position": 40
} }
], ],
"format": "html", "format": "html",
@ -6901,14 +6901,14 @@
{ {
"type": "relation", "type": "relation",
"name": "internalLink", "name": "internalLink",
"value": "_optionsCodeNotes", "value": "MI26XDLSAlCD",
"isInheritable": false, "isInheritable": false,
"position": 30 "position": 30
}, },
{ {
"type": "relation", "type": "relation",
"name": "internalLink", "name": "internalLink",
"value": "MI26XDLSAlCD", "value": "_optionsCodeNotes",
"isInheritable": false, "isInheritable": false,
"position": 40 "position": 40
}, },
@ -6929,21 +6929,21 @@
{ {
"type": "relation", "type": "relation",
"name": "internalLink", "name": "internalLink",
"value": "gBbsAeiuUxI5", "value": "H0mM1lTxF9JI",
"isInheritable": false, "isInheritable": false,
"position": 70 "position": 70
}, },
{ {
"type": "relation", "type": "relation",
"name": "internalLink", "name": "internalLink",
"value": "N4IDkixaDG9C", "value": "gBbsAeiuUxI5",
"isInheritable": false, "isInheritable": false,
"position": 80 "position": 80
}, },
{ {
"type": "relation", "type": "relation",
"name": "internalLink", "name": "internalLink",
"value": "H0mM1lTxF9JI", "value": "N4IDkixaDG9C",
"isInheritable": false, "isInheritable": false,
"position": 90 "position": 90
}, },

View File

@ -23,7 +23,7 @@
generates a single note for each day. Under this note you can save all generates a single note for each day. Under this note you can save all
those relevant notes.</p> those relevant notes.</p>
<p>Select an existing day note, and the menubar contains a calendar widget. <p>Select an existing day note, and the menubar contains a calendar widget.
Select any day to create a note for that day. </p> Select any day to create a note for that day.&nbsp;</p>
<p> <p>
<img src="1_Day Notes_image.png"> <img src="1_Day Notes_image.png">
</p> </p>

View File

@ -73,7 +73,7 @@ Content-Type: application/json
<p>Another common use case is that you want to just expose a file note - <p>Another common use case is that you want to just expose a file note -
in such case you create label <code>customResourceProvider</code> (value in such case you create label <code>customResourceProvider</code> (value
is again path regex).</p> is again path regex).</p>
<p>For more information, see <a href="Custom%20Resource%20Providers.html">Custom Resource Providers</a>.</p> <p>For more information, see&nbsp;<a href="Custom%20Resource%20Providers.html">Custom Resource Providers</a>.</p>
<h2>Advanced concepts</h2> <h2>Advanced concepts</h2>
<p><code>api.req</code> and <code>api.res</code> are Express.js objects - you <p><code>api.req</code> and <code>api.res</code> are Express.js objects - you
can always look into its <a href="https://expressjs.com/en/api.html">documentation</a> for can always look into its <a href="https://expressjs.com/en/api.html">documentation</a> for

View File

@ -16,7 +16,7 @@
<p>Your Trilium data is stored in a <a href="https://www.sqlite.org">SQLite</a> database <p>Your Trilium data is stored in a <a href="https://www.sqlite.org">SQLite</a> database
which contains all notes, tree structure, metadata, and most of the configuration. which contains all notes, tree structure, metadata, and most of the configuration.
The database file is named <code>document.db</code> and is stored in the The database file is named <code>document.db</code> and is stored in the
application's default <a href="../Installation%20%26%20Setup/Data%20directory.html">Data directory</a>.</p> application's default&nbsp;<a href="../Installation%20%26%20Setup/Data%20directory.html">Data directory</a>.</p>
<h2>Demo Notes</h2> <h2>Demo Notes</h2>
<p>When you run Trilium for the first time, it will generate a new database <p>When you run Trilium for the first time, it will generate a new database
containing demo notes. These notes showcase its many features, such as:</p> containing demo notes. These notes showcase its many features, such as:</p>
@ -53,7 +53,7 @@
advanced users to tweak it. If you need to explore or modify the database advanced users to tweak it. If you need to explore or modify the database
directly, you can use a tool such as <a href="https://sqlitebrowser.org/">SQLite Browser</a> to directly, you can use a tool such as <a href="https://sqlitebrowser.org/">SQLite Browser</a> to
work directly on the database file.</p> work directly on the database file.</p>
<p>See <a href="Database/Manually%20altering%20the%20database.html">Manually altering the database</a> for <p>See&nbsp;<a href="Database/Manually%20altering%20the%20database.html">Manually altering the database</a>&nbsp;for
more information.</p> more information.</p>
<h2>How to Reset the Database</h2> <h2>How to Reset the Database</h2>
<p>If you are experimenting with Trilium and want to return it to its original <p>If you are experimenting with Trilium and want to return it to its original

View File

@ -20,7 +20,7 @@
of your <code>document.db</code> file.</p> of your <code>document.db</code> file.</p>
<h2>Modifying it internally using the SQL Console</h2> <h2>Modifying it internally using the SQL Console</h2>
<p>The SQL Console is Trilium's built-in database editor.</p> <p>The SQL Console is Trilium's built-in database editor.</p>
<p>See <a href="Manually%20altering%20the%20database/SQL%20Console.html">SQL Console</a>.</p> <p>See&nbsp;<a href="Manually%20altering%20the%20database/SQL%20Console.html">SQL Console</a>.</p>
<h2>Externally modifying the database</h2> <h2>Externally modifying the database</h2>
<p>Sometimes the SQL Console cannot be used (for example if the application <p>Sometimes the SQL Console cannot be used (for example if the application
cannot start).</p> cannot start).</p>
@ -32,7 +32,7 @@
<p>To do so:</p> <p>To do so:</p>
<ol> <ol>
<li>In the main menu, select File → Open database… and navigate to the database <li>In the main menu, select File → Open database… and navigate to the database
in the <a href="../../Installation%20%26%20Setup/Data%20directory.html">Data directory</a>.</li> in the&nbsp;<a href="../../Installation%20%26%20Setup/Data%20directory.html">Data directory</a>.</li>
<li>Select the <em>Execute SQL</em> tab.</li> <li>Select the <em>Execute SQL</em> tab.</li>
<li>Type in the desired SQL statement.</li> <li>Type in the desired SQL statement.</li>
<li>Press the "Play" button in the toolbar underneath the "Execute SQL" tab <li>Press the "Play" button in the toolbar underneath the "Execute SQL" tab

View File

@ -42,7 +42,7 @@
<h3>Saved SQL console</h3> <h3>Saved SQL console</h3>
<p>SQL queries or commands can be saved into a dedicated note.</p> <p>SQL queries or commands can be saved into a dedicated note.</p>
<p>To do so, simply write the query and press the <p>To do so, simply write the query and press the
<img src="2_SQL Console_image.png">button. Once saved, the note will appear in <a href="../../Advanced%20Showcases/Day%20Notes.html">Day Notes</a>.</p> <img src="2_SQL Console_image.png">button. Once saved, the note will appear in&nbsp;<a href="../../Advanced%20Showcases/Day%20Notes.html">Day Notes</a>.</p>
<ul> <ul>
<li>The SQL expression will not be displayed by default, but it can still <li>The SQL expression will not be displayed by default, but it can still
be viewed by going to the note context menu and selecting <em>Note source</em>.</li> be viewed by going to the note context menu and selecting <em>Note source</em>.</li>

View File

@ -39,22 +39,14 @@ Authorization: Basic BATOKEN</code></pre>
<p>Basic Auth is meant to be used with tools which support only basic auth.</p> <p>Basic Auth is meant to be used with tools which support only basic auth.</p>
<h2>Interaction using Bash scripts</h2> <h2>Interaction using Bash scripts</h2>
<p>It is possible to write simple Bash scripts to interact with Trilium. <p>It is possible to write simple Bash scripts to interact with Trilium.
As an example, here's how to obtain the HTML content of a note:</p><pre><code class="language-text-x-sh">#!/usr/bin/env bash As an example, here's how to obtain the HTML content of a note:</p><pre><code class="language-text-x-trilium-auto">#!/usr/bin/env bash
# Configuration # Configuration
TOKEN=z1vA4fkGxjOR_ZXLrZeqHEFOv65yV3882iFCRtNIK9k9iWrHliITNSLQ= TOKEN=z1vA4fkGxjOR_ZXLrZeqHEFOv65yV3882iFCRtNIK9k9iWrHliITNSLQ=
SERVER=http://localhost:8080 SERVER=http://localhost:8080
# Download a note by ID # Download a note by ID
NOTE_ID="i6ra4ZshJhgN" NOTE_ID="i6ra4ZshJhgN"
curl "$SERVER/etapi/notes/$NOTE_ID/content" -H "Authorization: $TOKEN" </code></pre> curl "$SERVER/etapi/notes/$NOTE_ID/content" -H "Authorization: $TOKEN" </code></pre>
<p>Make sure to replace the values of:</p> <p>Make sure to replace the values of:</p>
<ul> <ul>

View File

@ -33,7 +33,7 @@
<h2>Dedicated note type</h2> <h2>Dedicated note type</h2>
<p>Apart from the note map feature which can be accessed from any note, it <p>Apart from the note map feature which can be accessed from any note, it
is also possible to create a dedicated note which will display the relations is also possible to create a dedicated note which will display the relations
in full screen. See&nbsp;<a class="reference-link" href="../Note%20Types/Note%20Map.html">Note Map</a>&nbsp;for in full screen. See&nbsp;<a href="../Note%20Types/Note%20Map.html">Note Map</a>&nbsp;for
more information.</p> more information.</p>
<h2>See also</h2> <h2>See also</h2>
<p><a href="../Note%20Types/Relation%20Map.html">Relation map</a> is a similar <p><a href="../Note%20Types/Relation%20Map.html">Relation map</a> is a similar

View File

@ -15,35 +15,32 @@
<div class="ck-content"> <div class="ck-content">
<h2>Understanding the source code of the different notes</h2> <h2>Understanding the source code of the different notes</h2>
<p>Internally, the structure of the content of each note is different based <p>Internally, the structure of the content of each note is different based
on the&nbsp;<a class="reference-link" href="../Note%20Types">Note Types</a>.</p> on the&nbsp;<a href="../Note%20Types">Note Types</a>.</p>
<p>For example:</p> <p>For example:</p>
<ul> <ul>
<li><a class="reference-link" href="#root/_hidden/_options/_optionsTextNotes">Text Notes</a>&nbsp;are <li><a href="#root/_hidden/_options/_optionsTextNotes">Text Notes</a>&nbsp;are
represented internally as HTML, using the&nbsp;<a class="reference-link" represented internally as HTML, using the&nbsp;<a href="Technologies%20used/CKEditor.html">CKEditor</a>&nbsp;representation.
href="Technologies%20used/CKEditor.html">CKEditor</a>&nbsp;representation.
Note that due to the custom plugins, some HTML elements are specific to Note that due to the custom plugins, some HTML elements are specific to
Trilium only, for example the admonitions.</li> Trilium only, for example the admonitions.</li>
<li><a class="reference-link" href="#root/_hidden/_options/_optionsCodeNotes">Code Notes</a>&nbsp;are <li><a href="#root/_hidden/_options/_optionsCodeNotes">Code Notes</a>&nbsp;are
plain text and are represented internally as-is.</li> plain text and are represented internally as-is.</li>
<li><a class="reference-link" href="../Note%20Types/Geo%20map.html">Geo map</a>&nbsp;notes <li><a href="../Note%20Types/Geo%20map.html">Geo map</a>&nbsp;notes contain
contain only minimal information (viewport, zoom) as a JSON.</li> only minimal information (viewport, zoom) as a JSON.</li>
<li><a class="reference-link" href="../Note%20Types/Canvas.html">Canvas</a>&nbsp;notes <li><a href="../Note%20Types/Canvas.html">Canvas</a>&nbsp;notes are represented
are represented as JSON, with Trilium's own information alongside with&nbsp; as JSON, with Trilium's own information alongside with&nbsp;<a href="Technologies%20used/Excalidraw.html">Excalidraw</a>'s
<a internal JSON representation format.</li>
class="reference-link" href="Technologies%20used/Excalidraw.html">Excalidraw</a>'s internal JSON representation format.</li> <li><a href="../Note%20Types/Mind%20Map.html">Mind Map</a>&nbsp;notes are
<li><a class="reference-link" href="../Note%20Types/Mind%20Map.html">Mind Map</a>&nbsp;notes represented as JSON, with the internal format of&nbsp;<a href="Technologies%20used/MindElixir.html">MindElixir</a>.</li>
are represented as JSON, with the internal format of&nbsp;<a class="reference-link"
href="Technologies%20used/MindElixir.html">MindElixir</a>.</li>
</ul> </ul>
<p>Note that some information is also stored as&nbsp;<a class="reference-link" <p>Note that some information is also stored as&nbsp;<a href="../Attachments">Attachments</a>.
href="../Attachments">Attachments</a>. For example&nbsp;<a class="reference-link" For example&nbsp;<a href="../Note%20Types/Canvas.html">Canvas</a>&nbsp;notes
href="../Note%20Types/Canvas.html">Canvas</a>&nbsp;notes use the attachments use the attachments feature to store the custom libraries, and alongside
feature to store the custom libraries, and alongside with&nbsp;<a class="reference-link" with&nbsp;<a href="../Note%20Types/Mind%20Map.html">Mind Map</a>&nbsp;and
href="../Note%20Types/Mind%20Map.html">Mind Map</a>&nbsp;and other similar other similar note types it stores an SVG representation of the content
note types it stores an SVG representation of the content for use in other for use in other features such as including in other notes, shared notes,
features such as including in other notes, shared notes, etc.</p> etc.</p>
<p>Here's part of the HTML representation of this note, as it's stored in <p>Here's part of the HTML representation of this note, as it's stored in
the database (but prettified).</p><pre><code class="language-text-html">&lt;h2&gt; the database (but prettified).</p><pre><code class="language-text-x-trilium-auto">&lt;h2&gt;
Understanding the source code of the different notes Understanding the source code of the different notes
&lt;/h2&gt; &lt;/h2&gt;
&lt;p&gt; &lt;p&gt;
@ -55,17 +52,17 @@
&lt;/p&gt;</code></pre> &lt;/p&gt;</code></pre>
<h2>Viewing the source code</h2> <h2>Viewing the source code</h2>
<p>It is possible to view the source code of a note by pressing the contextual <p>It is possible to view the source code of a note by pressing the contextual
menu in&nbsp;<a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Note%20buttons.html">Note buttons</a>&nbsp;and menu in&nbsp;<a href="../Basic%20Concepts%20and%20Features/UI%20Elements/Note%20buttons.html">Note buttons</a>&nbsp;and
selecting <em>Note source</em>.</p> selecting <em>Note source</em>.</p>
<p> <p>
<img src="Note source_image.png" width="860" height="377"> <img src="Note source_image.png">
</p> </p>
<p>The source code will be displayed in a new tab.</p> <p>The source code will be displayed in a new tab.</p>
<p>For some note types, such as text notes, the source code is also formatted <p>For some note types, such as text notes, the source code is also formatted
in order to be more easily readable.</p> in order to be more easily readable.</p>
<h2>Modifying the source code</h2> <h2>Modifying the source code</h2>
<p>It is possible to modify the source code of a note directly, however not <p>It is possible to modify the source code of a note directly, however not
via the <em>Note source </em>functionality.&nbsp;</p> via the <em>Note source</em> functionality.&nbsp;</p>
<p>To do so:</p> <p>To do so:</p>
<ol> <ol>
<li>Change the note type from the real note type (e.g. Canvas, Geo Type) to <li>Change the note type from the real note type (e.g. Canvas, Geo Type) to

View File

@ -15,7 +15,7 @@
<div class="ck-content"> <div class="ck-content">
<p>One core aspect of Trilium that allows it to have support for multiple&nbsp; <p>One core aspect of Trilium that allows it to have support for multiple&nbsp;
<a <a
class="reference-link" href="../Note%20Types">Note Types</a>&nbsp;is the fact that it makes use of various off-the-shelf href="../Note%20Types">Note Types</a>&nbsp;is the fact that it makes use of various off-the-shelf
or reusable libraries.</p> or reusable libraries.</p>
<p>The sub-pages showcase some of the technologies used, for a better understanding <p>The sub-pages showcase some of the technologies used, for a better understanding
of how Trilium works but also to credit the developers of that particular of how Trilium works but also to credit the developers of that particular

View File

@ -15,7 +15,7 @@
<div class="ck-content"> <div class="ck-content">
<h2>Editor core</h2> <h2>Editor core</h2>
<p>The CKEditor is the WYSIWYG (standing for What You See Is What You Get) <p>The CKEditor is the WYSIWYG (standing for What You See Is What You Get)
editor behind&nbsp;<a class="reference-link" href="../../Note%20Types/Text.html">Text</a>&nbsp;notes.</p> editor behind&nbsp;<a href="../../Note%20Types/Text.html">Text</a>&nbsp;notes.</p>
<p>Their website is <a href="https://ckeditor.com/">ckeditor.com</a>.</p> <p>Their website is <a href="https://ckeditor.com/">ckeditor.com</a>.</p>
<p>CKEditor by itself is a commercial product, but the core is open-source. <p>CKEditor by itself is a commercial product, but the core is open-source.
As described in <a href="https://ckeditor.com/docs/ckeditor5/latest/features/index.html">its documentation</a>, As described in <a href="https://ckeditor.com/docs/ckeditor5/latest/features/index.html">its documentation</a>,
@ -37,7 +37,7 @@
by us to fit our needs.</li> by us to fit our needs.</li>
<li>We also make use of modified upstream plugins such as <a href="https://github.com/ckeditor/ckeditor5-mermaid">ckeditor/ckeditor5-mermaid</a> to <li>We also make use of modified upstream plugins such as <a href="https://github.com/ckeditor/ckeditor5-mermaid">ckeditor/ckeditor5-mermaid</a> to
allow inline Mermaid code.</li> allow inline Mermaid code.</li>
<li><a href="https://github.com/mlewand/ckeditor5-keyboard-marker">mlewand/ckeditor5-keyboard-marker: Plugin adds support for the keyboard input element (&lt;kbd&gt;) to CKEditor 5.</a> <li><a href="https://github.com/mlewand/ckeditor5-keyboard-marker">mlewand/ckeditor5-keyboard-marker: Plugin adds support for the keyboard input element (<code>&lt;kbd&gt;</code>) to CKEditor 5.</a>
</li> </li>
<li>A modified version of <a href="https://github.com/ThomasAitken/ckeditor5-footnotes">ThomasAitken/ckeditor5-footnotes: Footnotes plugin for CKEditor5</a> to <li>A modified version of <a href="https://github.com/ThomasAitken/ckeditor5-footnotes">ThomasAitken/ckeditor5-footnotes: Footnotes plugin for CKEditor5</a> to
allow footnotes.</li> allow footnotes.</li>

View File

@ -14,7 +14,7 @@
<div class="ck-content"> <div class="ck-content">
<p><a href="https://excalidraw.com/">Excalidraw</a> is the technology behind <p><a href="https://excalidraw.com/">Excalidraw</a> is the technology behind
the&nbsp;<a class="reference-link" href="../../Note%20Types/Canvas.html">Canvas</a>&nbsp;notes. the&nbsp;<a href="../../Note%20Types/Canvas.html">Canvas</a>&nbsp;notes.
The source code of the library is available on <a href="https://github.com/excalidraw/excalidraw">GitHub</a>.</p> The source code of the library is available on <a href="https://github.com/excalidraw/excalidraw">GitHub</a>.</p>
<p>We are using an unmodified version of it, so it shares the same <a href="https://github.com/excalidraw/excalidraw/issues">issues</a> as <p>We are using an unmodified version of it, so it shares the same <a href="https://github.com/excalidraw/excalidraw/issues">issues</a> as
the original.</p> the original.</p>

View File

@ -13,7 +13,7 @@
<h1 data-trilium-h1>Leaflet</h1> <h1 data-trilium-h1>Leaflet</h1>
<div class="ck-content"> <div class="ck-content">
<p>Leaflet is the library behind&nbsp;<a class="reference-link" href="../../Note%20Types/Geo%20map.html">Geo map</a>&nbsp;notes.</p> <p>Leaflet is the library behind&nbsp;<a href="../../Note%20Types/Geo%20map.html">Geo map</a>&nbsp;notes.</p>
<h2>Plugins</h2> <h2>Plugins</h2>
<p>Leaflet is also highly customizable via external plugins.</p> <p>Leaflet is also highly customizable via external plugins.</p>
<p>Currently we use:</p> <p>Currently we use:</p>

View File

@ -13,8 +13,8 @@
<h1 data-trilium-h1>MindElixir</h1> <h1 data-trilium-h1>MindElixir</h1>
<div class="ck-content"> <div class="ck-content">
<p>MindElixir is the library we are using for the&nbsp;<a class="reference-link" <p>MindElixir is the library we are using for the&nbsp;<a href="../../Note%20Types/Mind%20Map.html">Mind Map</a>&nbsp;note
href="../../Note%20Types/Mind%20Map.html">Mind Map</a>&nbsp;note types.</p> types.</p>
<p>The main library is available on <a href="https://github.com/SSShooter/mind-elixir-core/issues">GitHub as mind-elixir-core</a>.</p> <p>The main library is available on <a href="https://github.com/SSShooter/mind-elixir-core/issues">GitHub as mind-elixir-core</a>.</p>
<p>The library is embedded as-is without additional modifications.</p> <p>The library is embedded as-is without additional modifications.</p>
<p>Issues with its functionality should generally be reported <a href="https://github.com/ssshooter/mind-elixir-core">upstream</a>.</p> <p>Issues with its functionality should generally be reported <a href="https://github.com/ssshooter/mind-elixir-core">upstream</a>.</p>

View File

@ -23,7 +23,7 @@
<h2>Note navigation</h2> <h2>Note navigation</h2>
<ul> <ul>
<li><kbd><span></span></kbd>, <kbd><span></span></kbd> - go up/down in the <li><kbd><span></span></kbd>, <kbd><span></span></kbd> - go up/down in the
list of notes, <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd><span></span></kbd> and <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd><span></span></kbd>  work list of notes, <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd><span></span></kbd> and <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd><span></span></kbd> &nbsp;work
also from editor</li> also from editor</li>
<li><kbd><span></span></kbd>, <kbd><span></span></kbd> - collapse/expand node</li> <li><kbd><span></span></kbd>, <kbd><span></span></kbd> - collapse/expand node</li>
<li><kbd>Alt</kbd> + <kbd><span></span></kbd>, <kbd>Alt</kbd> + <kbd><span></span></kbd> - <li><kbd>Alt</kbd> + <kbd><span></span></kbd>, <kbd>Alt</kbd> + <kbd><span></span></kbd> -

View File

@ -25,7 +25,7 @@
a workspace subtree to focus only on the relevant notes</p> a workspace subtree to focus only on the relevant notes</p>
</li> </li>
<li> <li>
<p>easy entering of workspace: </p> <p>easy entering of workspace:&nbsp;</p>
<p> <p>
<img src="1_Workspace_image.png"> <img src="1_Workspace_image.png">
</p> </p>

View File

@ -37,14 +37,15 @@
<p>When exporting to PDF, there are no customizable settings such as page <p>When exporting to PDF, there are no customizable settings such as page
orientation, size, etc. However, it is possible to specify a given note orientation, size, etc. However, it is possible to specify a given note
to be printed as a PDF in landscape mode by adding the <code>#printLandscape</code> attribute to be printed as a PDF in landscape mode by adding the <code>#printLandscape</code> attribute
to it (see <a href="#root/9QRytp0ZYFIf/PnO38wN0ffOA">[missing note]</a>).</p> to it (see&nbsp;<a href="#root/9QRytp0ZYFIf/PnO38wN0ffOA">[missing note]</a>).</p>
<h2>Page size</h2> <h2>Page size</h2>
<p>By default, the resulting PDF will be in Letter format. It is possible <p>By default, the resulting PDF will be in Letter format. It is possible
to adjust it to another page size via the <code>#printPageSize</code> attribute, to adjust it to another page size via the <code>#printPageSize</code> attribute,
with one of the following values: <code>A0</code>, <code>A1</code>, <code>A2</code>, <code>A3</code>, <code>A4</code>, <code>A5</code>, <code>A6</code>, <code>Legal</code>, <code>Letter</code>, <code>Tabloid</code>, <code>Ledger</code>.</p> with one of the following values: <code>A0</code>, <code>A1</code>, <code>A2</code>, <code>A3</code>, <code>A4</code>, <code>A5</code>, <code>A6</code>, <code>Legal</code>, <code>Letter</code>, <code>Tabloid</code>, <code>Ledger</code>.</p>
<h2>Keyboard shortcut</h2> <h2>Keyboard shortcut</h2>
<p>It's possible to trigger the export to PDF from the keyboard by going <p>It's possible to trigger the export to PDF from the keyboard by going
to <em>Keyboard shortcuts</em> and assigning a key combination for the <code>exportAsPdf</code> action.</p> to&nbsp;<em>Keyboard shortcuts</em>&nbsp;and assigning a key combination
for the <code>exportAsPdf</code> action.</p>
</div> </div>
</div> </div>
</body> </body>

View File

@ -19,7 +19,7 @@
<img src="Global menu_image.png"> <img src="Global menu_image.png">
</p> </p>
<h2>Accessing the global menu</h2> <h2>Accessing the global menu</h2>
<p>See <a href="Vertical%20and%20horizontal%20layout.html">Vertical and horizontal layout</a> since <p>See&nbsp;<a href="Vertical%20and%20horizontal%20layout.html">Vertical and horizontal layout</a>&nbsp;since
the position of the global menu is changed based on which layout has been the position of the global menu is changed based on which layout has been
selected.</p> selected.</p>
</div> </div>

View File

@ -16,7 +16,7 @@
<h2>Position of the Launch bar</h2> <h2>Position of the Launch bar</h2>
<p>Depending on the layout selected, the launcher bar will either be on the <p>Depending on the layout selected, the launcher bar will either be on the
left side of the screen with buttons displayed vertically or at the top left side of the screen with buttons displayed vertically or at the top
of the screen. See <a href="Vertical%20and%20horizontal%20layout.html">Vertical and horizontal layout</a> for of the screen. See&nbsp;<a href="Vertical%20and%20horizontal%20layout.html">Vertical and horizontal layout</a>&nbsp;for
more information.</p> more information.</p>
<h2>Terminology</h2> <h2>Terminology</h2>
<ul> <ul>
@ -33,9 +33,10 @@
<li>Right click in the empty space between launchers on the launch bar and <li>Right click in the empty space between launchers on the launch bar and
select <em>Configure Launchbar.</em> select <em>Configure Launchbar.</em>
</li> </li>
<li>Click on the <a href="Global%20menu.html">Global menu</a> and select <em>Configure Launchbar</em>.</li> <li>Click on the&nbsp;<a href="Global%20menu.html">Global menu</a>&nbsp;and
select <em>Configure Launchbar</em>.</li>
</ul> </ul>
<p>This will open a new tab with the <a href="Note%20Tree.html">Note Tree</a> listing <p>This will open a new tab with the&nbsp;<a href="Note%20Tree.html">Note Tree</a>&nbsp;listing
the launchers.</p> the launchers.</p>
<p> <p>
<img src="Launch Bar_image.png"> <img src="Launch Bar_image.png">
@ -49,14 +50,14 @@
also possible to drag and drop the item manually.</p> also possible to drag and drop the item manually.</p>
<p>Similarly, to remove it from the launch bar, simply look for it in <em>Visible Launchers</em> then <p>Similarly, to remove it from the launch bar, simply look for it in <em>Visible Launchers</em> then
right click it and select <em>Move to available launchers</em> or use drag-and-drop.</p> right click it and select <em>Move to available launchers</em> or use drag-and-drop.</p>
<p>Drag-and-drop the items in the tree in order to change their order. See  <p>Drag-and-drop the items in the&nbsp;tree&nbsp;in order to change their
<a order. See&nbsp;<a href="Note%20Tree.html">Note Tree</a>&nbsp;for more
href="Note%20Tree.html">Note Tree</a> for more interaction options, including using keyboard shortcuts.</p> interaction options, including using keyboard shortcuts.</p>
<h2>Customizing the launcher</h2> <h2>Customizing the launcher</h2>
<ul> <ul>
<li>The icon of a launcher can be changed just like a normal note. See  <li>The icon of a launcher can be changed just like a normal note. See&nbsp;
<a <a
href="../Notes/Note%20Icons.html">Note Icons</a> for more information.</li> href="../Notes/Note%20Icons.html">Note Icons</a>&nbsp;for more information.</li>
<li>The title of the launcher can also be changed.</li> <li>The title of the launcher can also be changed.</li>
</ul> </ul>
<h3>Resetting</h3> <h3>Resetting</h3>
@ -73,16 +74,17 @@
<br>A note launcher will simply navigate to a specified note.</p> <br>A note launcher will simply navigate to a specified note.</p>
<ol> <ol>
<li>Set the <code>target</code> promoted attribute to the note to navigate to.</li> <li>Set the <code>target</code> promoted attribute to the note to navigate to.</li>
<li>Optionally, set <code>hoistedNote</code> to hoist a particular note. See  <li>Optionally, set <code>hoistedNote</code> to hoist a particular note. See&nbsp;
<a <a
href="../Navigation/Note%20Hoisting.html">Note Hoisting</a> for more information.</li> href="../Navigation/Note%20Hoisting.html">Note Hoisting</a>&nbsp;for more information.</li>
<li>Optionally, set a <code>keyboardShortcut</code> to trigger the launcher.</li> <li>Optionally, set a <code>keyboardShortcut</code> to trigger the launcher.</li>
</ol> </ol>
</li> </li>
<li> <li>
<p><strong>Script Launcher</strong> <p><strong>Script Launcher</strong>
<br>An advanced launcher which will run a script upon pressing. See <a href="../../Note%20Types/Code/Scripts.html">Scripts</a> for <br>An advanced launcher which will run a script upon pressing. See&nbsp;
more information.</p> <a
href="../../Note%20Types/Code/Scripts.html">Scripts</a>&nbsp;for more information.</p>
<ol> <ol>
<li>Set <code>script</code> to point to the desired script to run.</li> <li>Set <code>script</code> to point to the desired script to run.</li>
<li>Optionally, set a <code>keyboardShortcut</code> to trigger the launcher.</li> <li>Optionally, set a <code>keyboardShortcut</code> to trigger the launcher.</li>
@ -91,9 +93,9 @@
<li> <li>
<p><strong>Custom Widget</strong> <p><strong>Custom Widget</strong>
</p> </p>
<p>Allows defining a custom widget to be rendered inside the launcher. See  <p>Allows defining a custom widget to be rendered inside the launcher. See&nbsp;
<a <a
href="../../Developer%20Guides/Widget%20Basics.html">Widget Basics</a> for more information.</p> href="../../Developer%20Guides/Widget%20Basics.html">Widget Basics</a>&nbsp;for more information.</p>
</li> </li>
<li> <li>
<p><strong>Spacers</strong> <p><strong>Spacers</strong>
@ -101,7 +103,7 @@
visual distinction.</p> visual distinction.</p>
</li> </li>
</ol> </ol>
<p>Launchers are configured via predefined <a href="../../Advanced%20Usage/Attributes/Promoted%20Attributes.html">Promoted Attributes</a>.</p> <p>Launchers are configured via predefined&nbsp;<a href="../../Advanced%20Usage/Attributes/Promoted%20Attributes.html">Promoted Attributes</a>.</p>
</div> </div>
</div> </div>
</body> </body>

View File

@ -55,7 +55,7 @@
</p> </p>
<p>In the right-click menu, operations such as Cut, Copy, Move to, Clone <p>In the right-click menu, operations such as Cut, Copy, Move to, Clone
to or Delete will apply to all the selected notes. It is also possible to or Delete will apply to all the selected notes. It is also possible
to apply <a href="../../Advanced%20Usage/Bulk%20actions.html">Bulk actions</a> to to apply&nbsp;<a href="../../Advanced%20Usage/Bulk%20actions.html">Bulk actions</a>&nbsp;to
them. The rest of the options will not be available and will appear disabled them. The rest of the options will not be available and will appear disabled
in the menu.</p> in the menu.</p>
</div> </div>

View File

@ -13,20 +13,18 @@
<h1 data-trilium-h1>Note buttons</h1> <h1 data-trilium-h1>Note buttons</h1>
<div class="ck-content"> <div class="ck-content">
<p>To the right of the&nbsp;<a class="reference-link" href="Ribbon.html">Ribbon</a>&nbsp;there <p>To the right of the&nbsp;<a href="Ribbon.html">Ribbon</a>&nbsp;there are
are a few more buttons: a few more buttons:
<img src="Note buttons_image.png" width="69" height="33"> <img src="Note buttons_image.png">
</p> </p>
<ul> <ul>
<li>The Note Revisions button displays the&nbsp;<a class="reference-link" <li>The Note Revisions button displays the&nbsp;<a href="../Notes/Note%20Revisions.html">Note Revisions</a>&nbsp;for
href="../Notes/Note%20Revisions.html">Note Revisions</a>&nbsp;for that that particular note.</li>
particular note.</li>
<li>The contextual menu offers commands for the note or its subtree, such <li>The contextual menu offers commands for the note or its subtree, such
as import, export, viewing the&nbsp;<a class="reference-link" href="../../Advanced%20Usage/Note%20source.html">Note source code</a>&nbsp;or&nbsp; as import, export, viewing the&nbsp;<a href="../../Advanced%20Usage/Note%20source.html">Note source code</a>&nbsp;or&nbsp;
<a <a
class="reference-link" href="../Notes/Attachments.html">Attachments</a>.</li> href="../Notes/Attachments.html">Attachments</a>.</li>
</ul> </ul>
<p>&nbsp;</p>
</div> </div>
</div> </div>
</body> </body>

View File

@ -20,7 +20,7 @@
about the current note.</p> about the current note.</p>
<h2>Settings</h2> <h2>Settings</h2>
<p>It is possible to change whether some ribbon items will be automatically <p>It is possible to change whether some ribbon items will be automatically
open when navigating to a new note. To do so, in <a href="Options.html">Settings</a>, open when navigating to a new note. To do so, in&nbsp;<a href="Options.html">Settings</a>,
go to <em>Appearance</em> and look for the <em>Ribbon widgets</em> section.</p> go to <em>Appearance</em> and look for the <em>Ribbon widgets</em> section.</p>
</div> </div>
</div> </div>

View File

@ -18,18 +18,17 @@
<h3>Vertical layout</h3> <h3>Vertical layout</h3>
<p>The vertical layout is Trilium's original layout:</p> <p>The vertical layout is Trilium's original layout:</p>
<ul> <ul>
<li>The <a href="Launch%20Bar.html">Launcher Bar</a> is positioned on the <li>The&nbsp;<a href="Launch%20Bar.html">Launcher Bar</a>&nbsp;is positioned
left side of the screen, with buttons being laid out vertically.</li> on the left side of the screen, with buttons being laid out vertically.</li>
<li>The tab bar is at the top, but to the right of the <a href="Note%20Tree.html">Note Tree</a>.</li> <li>The tab bar is at the top, but to the right of the&nbsp;<a href="Note%20Tree.html">Note Tree</a>.</li>
<li>The <a href="Quick%20search.html">Quick search</a> is at the top of the  <li>The&nbsp;<a href="Quick%20search.html">Quick search</a>&nbsp;is at the
<a top of the&nbsp;<a href="Note%20Tree.html">Note Tree</a>.</li>
href="Note%20Tree.html">Note Tree</a>.</li> <li>The&nbsp;<a href="Note%20Tree.html">Note Tree</a>&nbsp;can be collapsed
<li>The <a href="Note%20Tree.html">Note Tree</a> can be collapsed by pressing by pressing the
the <img src="5_Vertical and horizontal la.png">button at the bottom of the&nbsp;<a href="Launch%20Bar.html">Launcher Bar</a>.</li>
<img src="5_Vertical and horizontal la.png">button at the bottom of the <a href="Launch%20Bar.html">Launcher Bar</a>.</li> <li>The&nbsp;<a href="Global%20menu.html">Global menu</a>&nbsp;can be accessed
<li>The <a href="Global%20menu.html">Global menu</a> can be accessed via the via the
<img <img src="4_Vertical and horizontal la.png">icon at the top of the&nbsp;<a href="Launch%20Bar.html">Launcher Bar</a>.</li>
src="4_Vertical and horizontal la.png">icon at the top of the <a href="Launch%20Bar.html">Launcher Bar</a>.</li>
</ul> </ul>
<p> <p>
<img src="3_Vertical and horizontal la.png"> <img src="3_Vertical and horizontal la.png">
@ -38,26 +37,25 @@
<p>The horizontal layout is a more traditional layout, since it bears similarity <p>The horizontal layout is a more traditional layout, since it bears similarity
with other applications. In this mode:</p> with other applications. In this mode:</p>
<ul> <ul>
<li>The <a href="Launch%20Bar.html">Launcher Bar</a> is at the top of the <li>The&nbsp;<a href="Launch%20Bar.html">Launcher Bar</a>&nbsp;is at the top
screen, with the buttons laid horizontally.</li> of the screen, with the buttons laid horizontally.</li>
<li>The tab bar is at the top of the screen, but now covers the entirety of <li>The tab bar is at the top of the screen, but now covers the entirety of
the width, allowing for more tabs to be displayed at once.</li> the width, allowing for more tabs to be displayed at once.</li>
<li>The <a href="Quick%20search.html">Quick search</a> is now part of the  <li>The&nbsp;<a href="Quick%20search.html">Quick search</a>&nbsp;is now part
<a of the&nbsp;<a href="Launch%20Bar.html">Launcher Bar</a>. It can be moved
href="Launch%20Bar.html">Launcher Bar</a>. It can be moved around according to preference and even around according to preference and even removed if needed.</li>
removed if needed.</li> <li>The&nbsp;<a href="Note%20Tree.html">Note Tree</a>&nbsp;can be collapsed
<li>The <a href="Note%20Tree.html">Note Tree</a> can be collapsed by pressing by pressing the small
the small
<img src="1_Vertical and horizontal la.png">button to the left of the first tab.</li> <img src="1_Vertical and horizontal la.png">button to the left of the first tab.</li>
<li>The <a href="Global%20menu.html">Global menu</a> can be accessed via the <li>The&nbsp;<a href="Global%20menu.html">Global menu</a>&nbsp;can be accessed
<img via the
src="Vertical and horizontal la.png">button at the end of the <a href="Launch%20Bar.html">Launcher Bar</a>.</li> <img src="Vertical and horizontal la.png">button at the end of the&nbsp;<a href="Launch%20Bar.html">Launcher Bar</a>.</li>
</ul> </ul>
<p> <p>
<img src="2_Vertical and horizontal la.png"> <img src="2_Vertical and horizontal la.png">
</p> </p>
<h2>Changing the layout</h2> <h2>Changing the layout</h2>
<p>Go to <a href="#root/_hidden/_lbRoot/_lbVisibleLaunchers/_lbSettings">Settings</a> and <p>Go to&nbsp;<a href="#root/_hidden/_lbRoot/_lbVisibleLaunchers/_lbSettings">Settings</a>&nbsp;and
look for the <em>Appearance</em> option on the left. Then look for the <em>Layout</em> section, look for the <em>Appearance</em> option on the left. Then look for the <em>Layout</em> section,
where there is the possibility to switch between the two available layouts.</p> where there is the possibility to switch between the two available layouts.</p>
<p>Selecting an option will immediately apply the new layout by reloading <p>Selecting an option will immediately apply the new layout by reloading

View File

@ -206,15 +206,15 @@
<td><code>#calendar:displayedAttributes</code> <td><code>#calendar:displayedAttributes</code>
</td> </td>
<td>Allows displaying the value of one or more attributes in the calendar <td>Allows displaying the value of one or more attributes in the calendar
like this:    like this:&nbsp;&nbsp;&nbsp;
<br> <br>
<br> <br>
<img src="9_Calendar View_image.png">  <img src="9_Calendar View_image.png">&nbsp;
<br> <br>
<br><code>#weight="70" #Mood="Good" #calendar:displayedAttributes="weight,Mood"</code>  <br><code>#weight="70" #Mood="Good" #calendar:displayedAttributes="weight,Mood"</code>&nbsp;
<br> <br>
<br>It can also be used with relations, case in which it will display the <br>It can also be used with relations, case in which it will display the
title of the target note:   title of the target note:&nbsp;&nbsp;
<br> <br>
<br><code>~assignee=@My assignee #calendar:displayedAttributes="assignee"</code> <br><code>~assignee=@My assignee #calendar:displayedAttributes="assignee"</code>
</td> </td>
@ -298,8 +298,8 @@
<table> <table>
<thead> <thead>
<tr> <tr>
<th> </th> <th>&nbsp;</th>
<th> </th> <th>&nbsp;</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -339,7 +339,7 @@
<p>Note that it's even possible to have a <code>#calendar:title</code> on the <p>Note that it's even possible to have a <code>#calendar:title</code> on the
target note (e.g. “John Smith”) which will try to render an attribute of target note (e.g. “John Smith”) which will try to render an attribute of
it. Note that it's not possible to use a relation here as well for safety it. Note that it's not possible to use a relation here as well for safety
reasons (an accidental recursion  of attributes could cause the application reasons (an accidental recursion &nbsp;of attributes could cause the application
to loop infinitely).</p> to loop infinitely).</p>
<table> <table>
<thead> <thead>

View File

@ -28,13 +28,13 @@
<li>JSON, XML etc. can be used as storage for structured data (typically used <li>JSON, XML etc. can be used as storage for structured data (typically used
in conjunction with scripting)</li> in conjunction with scripting)</li>
</ul> </ul>
<p>For shorter snippets of code that can be embedded in <a href="Text.html">Text</a> notes, <p>For shorter snippets of code that can be embedded in&nbsp;<a href="Text.html">Text</a>&nbsp;notes,
see <a href="Text/Developer-specific%20formatting/Code%20blocks.html">Code blocks</a>.</p> see&nbsp;<a href="Text/Developer-specific%20formatting/Code%20blocks.html">Code blocks</a>.</p>
<p> <p>
<img src="Code_image.png"> <img src="Code_image.png">
</p> </p>
<h2>Adjusting the language of a code note</h2> <h2>Adjusting the language of a code note</h2>
<p>In the <a href="../Basic%20Concepts%20and%20Features/UI%20Elements/Ribbon.html">Ribbon</a>, <p>In the&nbsp;<a href="../Basic%20Concepts%20and%20Features/UI%20Elements/Ribbon.html">Ribbon</a>,
look for the <em>Note type</em> selector and click it to reveal the possible look for the <em>Note type</em> selector and click it to reveal the possible
note types. Inside of it there will be a section called <em>Code</em>, select note types. Inside of it there will be a section called <em>Code</em>, select
any one of the languages.</p> any one of the languages.</p>
@ -44,14 +44,14 @@
<h2>Adjusting the list of languages</h2> <h2>Adjusting the list of languages</h2>
<p>Trilium supports syntax highlighting for many languages, but by default <p>Trilium supports syntax highlighting for many languages, but by default
displays only some of them. The supported languages can be adjusted by displays only some of them. The supported languages can be adjusted by
going to <a href="../Basic%20Concepts%20and%20Features/UI%20Elements/Options.html">Options</a>, going to&nbsp;<a href="../Basic%20Concepts%20and%20Features/UI%20Elements/Options.html">Options</a>,
then <em>Code Notes</em> and looking for the <em>Available MIME types in the dropdown</em> section. then <em>Code Notes</em> and looking for the <em>Available MIME types in the dropdown</em> section.
Simply check any of the items to add them to the list, or un-check them Simply check any of the items to add them to the list, or un-check them
to remove them from the list.</p> to remove them from the list.</p>
<p>Note that the list of languages is not immediately refreshed, you'd have <p>Note that the list of languages is not immediately refreshed, you'd have
to manually <a href="../Troubleshooting/Refreshing%20the%20application.html">refresh the application</a>.</p> to manually <a href="../Troubleshooting/Refreshing%20the%20application.html">refresh the application</a>.</p>
<p>The list of languages is also shared with the <a href="Text/Developer-specific%20formatting/Code%20blocks.html">Code blocks</a> feature <p>The list of languages is also shared with the&nbsp;<a href="Text/Developer-specific%20formatting/Code%20blocks.html">Code blocks</a>&nbsp;feature
of <a href="Text.html">Text</a> notes.</p> of&nbsp;<a href="Text.html">Text</a>&nbsp;notes.</p>
</div> </div>
</div> </div>
</body> </body>

View File

@ -37,7 +37,7 @@ const TPL = `
Word count: Word count:
  &nbsp;
Character count: Character count:

View File

@ -63,7 +63,7 @@
<td></td> <td></td>
<td>To create a marker, first navigate to the desired point on the map. Then <td>To create a marker, first navigate to the desired point on the map. Then
press the press the
<img src="15_Geo map_image.png">button on the top-right of the map.  <img src="15_Geo map_image.png">button on the top-right of the map.&nbsp;
<br> <br>
<br>If the button is not visible, make sure the button section is visible <br>If the button is not visible, make sure the button section is visible
by pressing the chevron button ( by pressing the chevron button (
@ -75,7 +75,7 @@
<img src="3_Geo map_image.png"> <img src="3_Geo map_image.png">
</td> </td>
<td>Once pressed, the map will enter in the insert mode, as illustrated by <td>Once pressed, the map will enter in the insert mode, as illustrated by
the notification.  the notification.&nbsp;
<br> <br>
<br>Simply click the point on the map where to place the marker, or the Escape <br>Simply click the point on the map where to place the marker, or the Escape
key to cancel.</td> key to cancel.</td>
@ -160,10 +160,10 @@
<img src="12_Geo map_image.png"> <img src="12_Geo map_image.png">
</td> </td>
<td>Go to Google Maps on the web and look for a desired location, right click <td>Go to Google Maps on the web and look for a desired location, right click
on it and a context menu will show up.  on it and a context menu will show up.&nbsp;
<br> <br>
<br>Simply click on the first item displaying the coordinates and they will <br>Simply click on the first item displaying the coordinates and they will
be copied to clipboard.  be copied to clipboard.&nbsp;
<br> <br>
<br>Then paste the value inside the text box into the <code>#geolocation</code> attribute <br>Then paste the value inside the text box into the <code>#geolocation</code> attribute
of a child note of the map (don't forget to surround the value with a <code>"</code> character).</td> of a child note of the map (don't forget to surround the value with a <code>"</code> character).</td>
@ -213,7 +213,7 @@
<img src="Geo map_image.png"> <img src="Geo map_image.png">
</td> </td>
<td>The address will be visible in the top-left of the screen, in the place <td>The address will be visible in the top-left of the screen, in the place
of the search bar.  of the search bar.&nbsp;
<br> <br>
<br>Select the coordinates and copy them into the clipboard.</td> <br>Select the coordinates and copy them into the clipboard.</td>
</tr> </tr>
@ -260,7 +260,7 @@
<td> <td>
<img src="7_Geo map_image.png"> <img src="7_Geo map_image.png">
</td> </td>
<td>When going back to the map, the track should now be visible.  <td>When going back to the map, the track should now be visible.&nbsp;
<br> <br>
<br>The start and end points of the track are indicated by the two blue markers.</td> <br>The start and end points of the track are indicated by the two blue markers.</td>
</tr> </tr>

View File

@ -14,12 +14,12 @@
<div class="ck-content"> <div class="ck-content">
<p>A Note map is a note type which displays a standalone version of the feature <p>A Note map is a note type which displays a standalone version of the feature
of the same name:&nbsp;<a class="reference-link" href="../Advanced%20Usage/Note%20Map%20(Link%20map%2C%20Tree%20map).html">Note Map (Link map, Tree map)</a>.</p> of the same name:&nbsp;<a href="../Advanced%20Usage/Note%20Map%20(Link%20map%2C%20Tree%20map).html">Note Map (Link map, Tree map)</a>.</p>
<p>Once created, the note map will display the relations between notes. Only <p>Once created, the note map will display the relations between notes. Only
the notes that are part of the parent of the note map will be displayed the notes that are part of the parent of the note map will be displayed
(including their children).</p> (including their children).</p>
<p> <p>
<img src="Note Map_image.png" width="856" height="763"> <img src="Note Map_image.png">
</p> </p>
</div> </div>
</div> </div>

View File

@ -13,7 +13,7 @@
<h1 data-trilium-h1>Relation Map</h1> <h1 data-trilium-h1>Relation Map</h1>
<div class="ck-content"> <div class="ck-content">
<p>Relation map is a type of&nbsp;<a class="reference-link" href="../Basic%20Concepts%20and%20Features/Notes.html">Note</a>&nbsp;which <p>Relation map is a type of&nbsp;<a href="../Basic%20Concepts%20and%20Features/Notes.html">Note</a>&nbsp;which
visualizes notes and their <a href="../Advanced%20Usage/Attributes.html">relations</a>. visualizes notes and their <a href="../Advanced%20Usage/Attributes.html">relations</a>.
See an example:</p> See an example:</p>
<h2>Development process demo</h2> <h2>Development process demo</h2>
@ -86,7 +86,7 @@
the ones defined in the label.</p> the ones defined in the label.</p>
<h2>See also</h2> <h2>See also</h2>
<ul> <ul>
<li><a class="reference-link" href="../Advanced%20Usage/Note%20Map%20(Link%20map%2C%20Tree%20map).html">Note Map</a>&nbsp;is <li><a href="../Advanced%20Usage/Note%20Map%20(Link%20map%2C%20Tree%20map).html">Note Map</a>&nbsp;is
a similar concept</li> a similar concept</li>
</ul> </ul>
</div> </div>

View File

@ -47,7 +47,7 @@
</li> </li>
<li><em>Italic</em>: Type <code>*text*</code> or <code>_text_</code> <li><em>Italic</em>: Type <code>*text*</code> or <code>_text_</code>
</li> </li>
<li><s>Strikethrough</s>: Type <code>~~text~~</code> <li><del>Strikethrough</del>: Type <code>~~text~~</code>
</li> </li>
</ul> </ul>
<h3>Lists</h3> <h3>Lists</h3>
@ -60,10 +60,10 @@
<p>The following features are supported:</p> <p>The following features are supported:</p>
<ul> <ul>
<li>Inline code</li> <li>Inline code</li>
<li><a class="reference-link" href="Text/Developer-specific%20formatting/Code%20blocks.html">Code blocks</a> <li><a href="Text/Developer-specific%20formatting/Code%20blocks.html">Code blocks</a>
</li> </li>
</ul> </ul>
<p>See&nbsp;<a class="reference-link" href="Text/Developer-specific%20formatting.html">Developer-specific formatting</a>&nbsp;for <p>See&nbsp;<a href="Text/Developer-specific%20formatting.html">Developer-specific formatting</a>&nbsp;for
more information.</p> more information.</p>
<h3>Headings</h3> <h3>Headings</h3>
<p>Create headings by starting a line with <code>##</code> for heading 2, <code>###</code> for <p>Create headings by starting a line with <code>##</code> for heading 2, <code>###</code> for

View File

@ -38,9 +38,9 @@
<li><code>!!! warning</code> <li><code>!!! warning</code>
</li> </li>
</ul> </ul>
<p>In addition to that, it's also possible to type <code>!!!</code>  followed <p>In addition to that, it's also possible to type <code>!!!</code>&nbsp;
by any text, case in which a default admonition type will appear (note) followed by any text, case in which a default admonition type will appear
with the entered text inside it.</p> (note) with the entered text inside it.</p>
<h2>Interaction</h2> <h2>Interaction</h2>
<p>By design, admonitions act very similar to block quotes.</p> <p>By design, admonitions act very similar to block quotes.</p>
<ul> <ul>

View File

@ -16,43 +16,38 @@
<h3>Inline code</h3> <h3>Inline code</h3>
<p>Inline code formats text using a monospace font to indicate technical <p>Inline code formats text using a monospace font to indicate technical
content in a sentence such as code, paths, etc.</p> content in a sentence such as code, paths, etc.</p>
<figure class="image"> <p>
<img style="aspect-ratio:829/191;" src="4_Developer-specific formatt.png" <img src="4_Developer-specific formatt.png">
width="829" height="191"> </p>
<figcaption>Example of inline code being used to illustrate file system paths as well <p>Example of inline code being used to illustrate file system paths as well
as shell commands (<code>git</code> in this case).</figcaption> as shell commands (<code>git</code> in this case).</p>
</figure>
<p>To insert an inline code:</p> <p>To insert an inline code:</p>
<ul> <ul>
<li>Via the&nbsp;<a class="reference-link" href="Formatting%20toolbar.html">Formatting toolbar</a>, <li>Via the&nbsp;<a href="Formatting%20toolbar.html">Formatting toolbar</a>,
look for the look for the
<img src="2_Developer-specific formatt.png" width="15" height="9">button.</li> <img src="2_Developer-specific formatt.png">button.</li>
<li>Type `code` where <code>code</code> is the desired text to be automatically <li>Type `code` where <code>code</code> is the desired text to be automatically
formatted as inline code.</li> formatted as inline code.</li>
</ul> </ul>
<h3>Code blocks</h3> <h3>Code blocks</h3>
<p>Code blocks display a snippet of code as a dedicated block:</p> <p>Code blocks display a snippet of code as a dedicated block:</p>
<figure <p>
class="image"> <img src="3_Developer-specific formatt.png">
<img style="aspect-ratio:1078/307;" src="3_Developer-specific formatt.png" </p>
width="1078" height="307"> <p>A code block with JavaScript syntax highlight enabled.</p>
<figcaption>A code block with JavaScript syntax highlight enabled.</figcaption> <p>Note that these are not meant for very large portions of code. Use the
</figure> dedicated&nbsp;<a href="../Code.html">Code</a>&nbsp;note type instead.</p>
<p>Note that these are not meant for very large portions of code. Use the <p>See the dedicated documentation for more information:&nbsp;<a href="Developer-specific%20formatting/Code%20blocks.html">Code blocks</a>
dedicated&nbsp;<a class="reference-link" href="../Code.html">Code</a>&nbsp;note </p>
type instead.</p> <h3>Keyboard shortcuts</h3>
<p>See the dedicated documentation for more information:&nbsp;<a class="reference-link" <p>This allows marking a portion of text as a shortcut key.</p>
href="Developer-specific%20formatting/Code%20blocks.html">Code blocks</a> <p>
</p> <img src="Developer-specific formatt.png">
<h3>Keyboard shortcuts</h3> </p>
<p>This allows marking a portion of text as a shortcut key.</p> <p>To apply this style, press the
<p> <img src="5_Developer-specific formatt.png">button in
<img src="Developer-specific formatt.png"> <img src="1_Developer-specific formatt.png">group from the&nbsp;<a href="Formatting%20toolbar.html">Formatting toolbar</a>.
</p> On the floating toolbar, the buttons appear when selecting a text.</p>
<p>To apply this style, press the
<img src="5_Developer-specific formatt.png">button in
<img src="1_Developer-specific formatt.png">group from the&nbsp;<a href="Formatting%20toolbar.html">Formatting toolbar</a>.
On the floating toolbar, the buttons appear when selecting a text.</p>
</div> </div>
</div> </div>
</body> </body>

View File

@ -18,8 +18,8 @@
</p> </p>
<p>The code blocks feature allows entering pieces of code in text notes.</p> <p>The code blocks feature allows entering pieces of code in text notes.</p>
<p>Note that this feature is meant for generally small snippets of code. <p>Note that this feature is meant for generally small snippets of code.
For larger files such as an entire log, see the&nbsp;<a class="reference-link" For larger files such as an entire log, see the&nbsp;<a href="Code%20blocks.html">Code blocks</a>&nbsp;note
href="Code%20blocks.html">Code blocks</a>&nbsp;note type instead.</p> type instead.</p>
<h2>Inserting a code block</h2> <h2>Inserting a code block</h2>
<ul> <ul>
<li>Via the&nbsp;<a href="../Formatting%20toolbar.html">Formatting toolbar</a>, <li>Via the&nbsp;<a href="../Formatting%20toolbar.html">Formatting toolbar</a>,

View File

@ -15,7 +15,7 @@
<div class="ck-content"> <div class="ck-content">
<p>Trilium allows two different editing experiences for text notes, based <p>Trilium allows two different editing experiences for text notes, based
on your preference.</p> on your preference.</p>
<p>To do so, go to <a href="../../Basic%20Concepts%20and%20Features/UI%20Elements/Options.html">Options</a> and <p>To do so, go to&nbsp;<a href="../../Basic%20Concepts%20and%20Features/UI%20Elements/Options.html">Options</a>&nbsp;and
look for the <em>Text Notes</em> section. There is a corresponding section look for the <em>Text Notes</em> section. There is a corresponding section
called <em>Formatting toolbar</em>.</p> called <em>Formatting toolbar</em>.</p>
<h2>Floating</h2> <h2>Floating</h2>
@ -43,7 +43,7 @@
<p>The fixed formatting offers a more traditional editing paradigm, usually <p>The fixed formatting offers a more traditional editing paradigm, usually
useful if a lot of formatting is needed.</p> useful if a lot of formatting is needed.</p>
<p>All the options are combined into a single toolbar that will appear as <p>All the options are combined into a single toolbar that will appear as
part of the <a href="../../Basic%20Concepts%20and%20Features/UI%20Elements/Ribbon.html">Ribbon</a>.</p> part of the&nbsp;<a href="../../Basic%20Concepts%20and%20Features/UI%20Elements/Ribbon.html">Ribbon</a>.</p>
<p> <p>
<img src="2_Formatting toolbar_image.png"> <img src="2_Formatting toolbar_image.png">
</p> </p>

View File

@ -61,7 +61,7 @@
<p>Afterwards the application will refresh itself with the new theme:</p> <p>Afterwards the application will refresh itself with the new theme:</p>
<p>![](3_Creating%20a%20custom theme_im.png)</p> <p>![](3_Creating%20a%20custom theme_im.png)</p>
<p>Do note that the theme will be based off of the legacy theme. To override <p>Do note that the theme will be based off of the legacy theme. To override
that and base the theme on the new TriliumNext theme, see: <a href="Customize%20the%20Next%20theme.html">Theme base (legacy vs. next)</a> that and base the theme on the new TriliumNext theme, see:&nbsp;<a href="Customize%20the%20Next%20theme.html">Theme base (legacy vs. next)</a>
</p> </p>
<h2>Step 5. Making changes</h2> <h2>Step 5. Making changes</h2>
<p>Simply go back to the note and change according to needs. To apply the <p>Simply go back to the note and change according to needs. To apply the

View File

@ -148,7 +148,7 @@ body.electron:not(.native-titlebar) {
background-color: var(--workspace-tab-background-color); background-color: var(--workspace-tab-background-color);
}</code></pre> }</code></pre>
<h2>Custom fonts</h2> <h2>Custom fonts</h2>
<p>Currently the only way to include a custom font is to use <a href="../Advanced%20Usage/Custom%20Resource%20Providers.html">Custom resource providers</a>. <p>Currently the only way to include a custom font is to use&nbsp;<a href="../Advanced%20Usage/Custom%20Resource%20Providers.html">Custom resource providers</a>.
Basically import a font into Trilium and assign it <code>#customResourceProvider=fonts/myfont.ttf</code> and Basically import a font into Trilium and assign it <code>#customResourceProvider=fonts/myfont.ttf</code> and
then import the font in CSS via <code>/custom/fonts/myfont.ttf</code>.</p> then import the font in CSS via <code>/custom/fonts/myfont.ttf</code>.</p>
<h2>Dark and light themes</h2> <h2>Dark and light themes</h2>

View File

@ -23,7 +23,7 @@ proxy_send_timeout 300;
proxy_read_timeout 300; proxy_read_timeout 300;
send_timeout 300;</code></pre> send_timeout 300;</code></pre>
<p>And restart the server.</p> <p>And restart the server.</p>
<p>See <a href="../Installation%20%26%20Setup/Server%20Installation/2.%20Reverse%20proxy/Nginx.html">Nginx Proxy Setup</a> for <p>See&nbsp;<a href="../Installation%20%26%20Setup/Server%20Installation/2.%20Reverse%20proxy/Nginx.html">Nginx Proxy Setup</a>&nbsp;for
more information about the Nginx setup.</p> more information about the Nginx setup.</p>
<p>If it still doesn't work, try increasing the timeout.</p> <p>If it still doesn't work, try increasing the timeout.</p>
</div> </div>