Skip to content

Build your personal knowledge base with Trilium Notes

docs(user): add spellcheck=false to inline code

Elian Doranb812177e7802
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI.html
index 6d9c62f158..5bad3d9477 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI.html
@@ -35,11 +35,11 @@ class="image image_resized" style="width:74.04%;">
href="#root/_help_vvUCN7FDkq7G">Installing Ollama</a>.</p>
<p>To see what embedding models Ollama has available, you can check out
<a
- href="https://ollama.com/search?c=embedding">this search</a>on their website, and then <code>pull</code> whichever one
- you want to try out. A popular choice is <code>mxbai-embed-large</code>.</p>
+ href="https://ollama.com/search?c=embedding">this search</a>on their website, and then <code spellcheck="false">pull</code> whichever
+ one you want to try out. A popular choice is <code spellcheck="false">mxbai-embed-large</code>.</p>
<p>First, we'll need to select the Ollama provider from the tabs of providers,
then we will enter in the Base URL for our Ollama. Since our Ollama is
- running on our local machine, our Base URL is <code>http://localhost:11434</code>.
+ running on our local machine, our Base URL is <code spellcheck="false">http://localhost:11434</code>.
We will then hit the “refresh” button to have it fetch our models:</p>
<figure
class="image image_resized" style="width:82.28%;">
@@ -80,57 +80,57 @@ class="image image_resized" style="width:74.04%;">
<p>These are the tools that currently exist, and will certainly be updated
to be more effectively (and even more to be added!):</p>
<ul>
- <li><code>search_notes</code>
+ <li><code spellcheck="false">search_notes</code>
<ul>
<li>Semantic search</li>
</ul>
</li>
- <li><code>keyword_search</code>
+ <li><code spellcheck="false">keyword_search</code>
<ul>
<li>Keyword-based search</li>
</ul>
</li>
- <li><code>attribute_search</code>
+ <li><code spellcheck="false">attribute_search</code>
<ul>
<li>Attribute-specific search</li>
</ul>
</li>
- <li><code>search_suggestion</code>
+ <li><code spellcheck="false">search_suggestion</code>
<ul>
<li>Search syntax helper</li>
</ul>
</li>
- <li><code>read_note</code>
+ <li><code spellcheck="false">read_note</code>
<ul>
<li>Read note content (helps the LLM read Notes)</li>
</ul>
</li>
- <li><code>create_note</code>
+ <li><code spellcheck="false">create_note</code>
<ul>
<li>Create a Note</li>
</ul>
</li>
- <li><code>update_note</code>
+ <li><code spellcheck="false">update_note</code>
<ul>
<li>Update a Note</li>
</ul>
</li>
- <li><code>manage_attributes</code>
+ <li><code spellcheck="false">manage_attributes</code>
<ul>
<li>Manage attributes on a Note</li>
</ul>
</li>
- <li><code>manage_relationships</code>
+ <li><code spellcheck="false">manage_relationships</code>
<ul>
<li>Manage the various relationships between Notes</li>
</ul>
</li>
- <li><code>extract_content</code>
+ <li><code spellcheck="false">extract_content</code>
<ul>
<li>Used to smartly extract content from a Note</li>
</ul>
</li>
- <li><code>calendar_integration</code>
+ <li><code spellcheck="false">calendar_integration</code>
<ul>
<li>Used to find date notes, create date notes, get the daily note, etc.</li>
</ul>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI/Providers/Ollama/Installing Ollama.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI/Providers/Ollama/Installing Ollama.html
index fd417a2a74..d8ccb7e129 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI/Providers/Ollama/Installing Ollama.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI/Providers/Ollama/Installing Ollama.html
@@ -23,14 +23,14 @@ class="image image_resized" style="width:50.49%;">
<img style="aspect-ratio:1161/480;" src="2_Installing Ollama_image.png"
width="1161" height="480">
</figure>
- <p>Also, you should have access to the <code>ollama</code> CLI via Powershell
- or CMD:</p>
+ <p>Also, you should have access to the <code spellcheck="false">ollama</code> CLI
+ via Powershell or CMD:</p>
<figure class="image image_resized" style="width:86.09%;">
<img style="aspect-ratio:1730/924;" src="5_Installing Ollama_image.png"
width="1730" height="924">
</figure>
- <p>After Ollama is installed, you can go ahead and <code>pull</code> the models
- you want to use and run. Here's a command to pull my favorite tool-compatible
+ <p>After Ollama is installed, you can go ahead and <code spellcheck="false">pull</code> the
+ models you want to use and run. Here's a command to pull my favorite tool-compatible
model and embedding model as of April 2025:</p><pre><code class="language-text-x-trilium-auto">ollama pull llama3.1:8b
ollama pull mxbai-embed-large</code></pre>
<p>Also, you can make sure it's running by going to <a href="http://localhost:11434">http://localhost:11434</a> and
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Day Notes.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Day Notes.html
index 2bfdb4108b..57e5809295 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Day Notes.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Day Notes.html
@@ -28,125 +28,160 @@
where you can track your daily weight. This data is then used in <a href="#root/_help_R7abl2fc6Mxi">Weight tracker</a>.</p>
<h2>Week Note and Quarter Note</h2>
<p>Week and quarter notes are disabled by default, since it might be too
- much for some people. To enable them, you need to set <code>#enableWeekNote</code> and <code>#enableQuarterNote</code> attributes
- on the root calendar note, which is identified by <code>#calendarRoot</code> label.
- Week note is affected by the first week of year option. Be careful when
- you already have some week notes created, it will not automatically change
- the existing week notes and might lead to some duplicates.</p>
+ much for some people. To enable them, you need to set <code spellcheck="false">#enableWeekNote</code> and
+ <code
+ spellcheck="false">#enableQuarterNote</code>attributes on the root calendar note, which is
+ identified by <code spellcheck="false">#calendarRoot</code> label. Week note
+ is affected by the first week of year option. Be careful when you already
+ have some week notes created, it will not automatically change the existing
+ week notes and might lead to some duplicates.</p>
<h2>Templates</h2>
<p>Trilium provides <a href="#root/_help_KC1HB96bqqHX">template</a> functionality,
and it could be used together with day notes.</p>
<p>You can define one of the following relations on the root of the journal
- (identified by <code>#calendarRoot</code> label):</p>
+ (identified by <code spellcheck="false">#calendarRoot</code> label):</p>
<ul>
<li>yearTemplate</li>
- <li>quarterTemplate (if <code>#enableQuarterNote</code> is set)</li>
+ <li>quarterTemplate (if <code spellcheck="false">#enableQuarterNote</code> is
+ set)</li>
<li>monthTemplate</li>
- <li>weekTemplate (if <code>#enableWeekNote</code> is set)</li>
+ <li>weekTemplate (if <code spellcheck="false">#enableWeekNote</code> is set)</li>
<li>dateTemplate</li>
</ul>
<p>All of these are relations. When Trilium creates a new note for year or
- month or date, it will take a look at the root and attach a corresponding <code>~template</code> relation
- to the newly created role. Using this, you can e.g. create your daily template
- with e.g. checkboxes for daily routine etc.</p>
+ month or date, it will take a look at the root and attach a corresponding
+ <code
+ spellcheck="false">~template</code>relation to the newly created role. Using this, you can
+ e.g. create your daily template with e.g. checkboxes for daily routine
+ etc.</p>
<h3>Migrate from old template usage</h3>
<p>If you have been using Journal prior to version v0.93.0, the previous
- template pattern likely used was <code>~child:template=</code>.
+ template pattern likely used was <code spellcheck="false">~child:template=</code>.
<br>To transition to the new system:</p>
<ol>
<li>Set up the new template pattern in the Calendar root note.</li>
- <li>Use <a href="#root/_help_ivYnonVFBxbQ">Bulk Actions</a> to remove <code>child:template</code> and <code>child:child:template</code> from
- all notes under the Journal (calendar root).</li>
+ <li>Use <a href="#root/_help_ivYnonVFBxbQ">Bulk Actions</a> to remove <code spellcheck="false">child:template</code> and
+ <code
+ spellcheck="false">child:child:template</code>from all notes under the Journal (calendar
+ root).</li>
<li>Ensure that all old template patterns are fully removed to prevent conflicts
with the new setup.</li>
</ol>
<h2>Naming pattern</h2>
-<p>You can customize the title of generated journal notes by defining a <code>#datePattern</code>, <code>#weekPattern</code>, <code>#monthPattern</code>, <code>#quarterPattern</code> and <code>#yearPattern</code> attribute
- on a root calendar note (identified by <code>#calendarRoot</code> label).
- The naming pattern replacements follow a level-up compatibility - each
- level can use replacements from itself and all levels above it. For example, <code>#monthPattern</code> can
- use month, quarter and year replacements, while <code>#weekPattern</code> can
- use week, month, quarter and year replacements. But it is not possible
- to use week replacements in <code>#monthPattern</code>.</p>
+<p>You can customize the title of generated journal notes by defining a
+ <code
+ spellcheck="false">#datePattern</code>, <code spellcheck="false">#weekPattern</code>,
+ <code
+ spellcheck="false">#monthPattern</code>, <code spellcheck="false">#quarterPattern</code> and
+ <code
+ spellcheck="false">#yearPattern</code>attribute on a root calendar note (identified by
+ <code
+ spellcheck="false">#calendarRoot</code>label). The naming pattern replacements follow a level-up
+ compatibility - each level can use replacements from itself and all levels
+ above it. For example, <code spellcheck="false">#monthPattern</code> can
+ use month, quarter and year replacements, while <code spellcheck="false">#weekPattern</code> can
+ use week, month, quarter and year replacements. But it is not possible
+ to use week replacements in <code spellcheck="false">#monthPattern</code>.</p>
<h3>Date pattern</h3>
<p>It's possible to customize the title of generated date notes by defining
- a <code>#datePattern</code> attribute on a root calendar note (identified
- by <code>#calendarRoot</code> label). Following are possible values:</p>
+ a <code spellcheck="false">#datePattern</code> attribute on a root calendar
+ note (identified by <code spellcheck="false">#calendarRoot</code> label).
+ Following are possible values:</p>
<ul>
- <li><code>{isoDate}</code> results in an ISO 8061 formatted date (e.g. "2025-03-09"
- for March 9, 2025)</li>
- <li><code>{dateNumber}</code> results in a number like <code>9</code> for the
- 9th day of the month, <code>11</code> for the 11th day of the month</li>
- <li><code>{dateNumberPadded}</code> results in a number like <code>09</code> for
- the 9th day of the month, <code>11</code> for the 11th day of the month</li>
- <li><code>{ordinal}</code> is replaced with the ordinal date (e.g. 1st, 2nd,
- 3rd) etc.</li>
- <li><code>{weekDay}</code> results in the full day name (e.g. <code>Monday</code>)</li>
- <li><code>{weekDay3}</code> is replaced with the first 3 letters of the day,
- e.g. Mon, Tue, etc.</li>
- <li><code>{weekDay2}</code> is replaced with the first 2 letters of the day,
- e.g. Mo, Tu, etc.</li>
+ <li><code spellcheck="false">{isoDate}</code> results in an ISO 8061 formatted
+ date (e.g. "2025-03-09" for March 9, 2025)</li>
+ <li><code spellcheck="false">{dateNumber}</code> results in a number like
+ <code
+ spellcheck="false">9</code>for the 9th day of the month, <code spellcheck="false">11</code> for
+ the 11th day of the month</li>
+ <li><code spellcheck="false">{dateNumberPadded}</code> results in a number
+ like <code spellcheck="false">09</code> for the 9th day of the month,
+ <code
+ spellcheck="false">11</code>for the 11th day of the month</li>
+ <li><code spellcheck="false">{ordinal}</code> is replaced with the ordinal
+ date (e.g. 1st, 2nd, 3rd) etc.</li>
+ <li><code spellcheck="false">{weekDay}</code> results in the full day name
+ (e.g. <code spellcheck="false">Monday</code>)</li>
+ <li><code spellcheck="false">{weekDay3}</code> is replaced with the first 3
+ letters of the day, e.g. Mon, Tue, etc.</li>
+ <li><code spellcheck="false">{weekDay2}</code> is replaced with the first 2
+ letters of the day, e.g. Mo, Tu, etc.</li>
</ul>
-<p>The default is <code>{dateNumberPadded} - {weekDay}</code>
+<p>The default is <code spellcheck="false">{dateNumberPadded} - {weekDay}</code>
</p>
<h3>Week pattern</h3>
<p>It is also possible to customize the title of generated week notes through
- the <code>#weekPattern</code> attribute on the root calendar note. The options
- are:</p>
+ the <code spellcheck="false">#weekPattern</code> attribute on the root calendar
+ note. The options are:</p>
<ul>
- <li><code>{weekNumber}</code> results in a number like <code>9</code> for the
- 9th week of the year, <code>11</code> for the 11th week of the year</li>
- <li><code>{weekNumberPadded}</code> results in a number like <code>09</code> for
- the 9th week of the year, <code>11</code> for the 11th week of the year</li>
- <li><code>{shortWeek}</code> results in a short week string like <code>W9</code> for
- the 9th week of the year, <code>W11</code> for the 11th week of the year</li>
- <li><code>{shortWeek3}</code> results in a short week string like <code>W09</code> for
- the 9th week of the year, <code>W11</code> for the 11th week of the year</li>
+ <li><code spellcheck="false">{weekNumber}</code> results in a number like
+ <code
+ spellcheck="false">9</code>for the 9th week of the year, <code spellcheck="false">11</code> for
+ the 11th week of the year</li>
+ <li><code spellcheck="false">{weekNumberPadded}</code> results in a number
+ like <code spellcheck="false">09</code> for the 9th week of the year,
+ <code
+ spellcheck="false">11</code>for the 11th week of the year</li>
+ <li><code spellcheck="false">{shortWeek}</code> results in a short week string
+ like <code spellcheck="false">W9</code> for the 9th week of the year,
+ <code
+ spellcheck="false">W11</code>for the 11th week of the year</li>
+ <li><code spellcheck="false">{shortWeek3}</code> results in a short week string
+ like <code spellcheck="false">W09</code> for the 9th week of the year,
+ <code
+ spellcheck="false">W11</code>for the 11th week of the year</li>
</ul>
-<p>The default is <code>Week {weekNumber}</code>
+<p>The default is <code spellcheck="false">Week {weekNumber}</code>
</p>
<h3>Month pattern</h3>
<p>It is also possible to customize the title of generated month notes through
- the <code>#monthPattern</code> attribute on the root calendar note. The options
- are:</p>
+ the <code spellcheck="false">#monthPattern</code> attribute on the root calendar
+ note. The options are:</p>
<ul>
- <li><code>{isoMonth}</code> results in an ISO 8061 formatted month (e.g. "2025-03"
- for March 2025)</li>
- <li><code>{monthNumber}</code> results in a number like <code>9</code> for September,
- and <code>11</code> for November</li>
- <li><code>{monthNumberPadded}</code> results in a number like <code>09</code> for
- September, and <code>11</code> for November</li>
- <li><code>{month}</code> results in the full month name (e.g. <code>September</code> or <code>October</code>)</li>
- <li><code>{shortMonth3}</code> is replaced with the first 3 letters of the
- month, e.g. Jan, Feb, etc.</li>
- <li><code>{shortMonth4}</code> is replaced with the first 4 letters of the
- month, e.g. Sept, Octo, etc.</li>
+ <li><code spellcheck="false">{isoMonth}</code> results in an ISO 8061 formatted
+ month (e.g. "2025-03" for March 2025)</li>
+ <li><code spellcheck="false">{monthNumber}</code> results in a number like
+ <code
+ spellcheck="false">9</code>for September, and <code spellcheck="false">11</code> for November</li>
+ <li><code spellcheck="false">{monthNumberPadded}</code> results in a number
+ like <code spellcheck="false">09</code> for September, and <code spellcheck="false">11</code> for
+ November</li>
+ <li><code spellcheck="false">{month}</code> results in the full month name
+ (e.g. <code spellcheck="false">September</code> or <code spellcheck="false">October</code>)</li>
+ <li><code spellcheck="false">{shortMonth3}</code> is replaced with the first
+ 3 letters of the month, e.g. Jan, Feb, etc.</li>
+ <li><code spellcheck="false">{shortMonth4}</code> is replaced with the first
+ 4 letters of the month, e.g. Sept, Octo, etc.</li>
</ul>
-<p>The default is <code>{monthNumberPadded} - {month}</code>
+<p>The default is <code spellcheck="false">{monthNumberPadded} - {month}</code>
</p>
<h3>Quarter pattern</h3>
<p>It is also possible to customize the title of generated quarter notes
- through the <code>#quarterPattern</code> attribute on the root calendar note.
- The options are:</p>
+ through the <code spellcheck="false">#quarterPattern</code> attribute on
+ the root calendar note. The options are:</p>
<ul>
- <li><code>{quarterNumber}</code> results in a number like <code>1</code> for
- the 1st quarter of the year</li>
- <li><code>{shortQuarter}</code> results in a short quarter string like <code>Q1</code> for
- the 1st quarter of the year</li>
+ <li><code spellcheck="false">{quarterNumber}</code> results in a number like
+ <code
+ spellcheck="false">1</code>for the 1st quarter of the year</li>
+ <li><code spellcheck="false">{shortQuarter}</code> results in a short quarter
+ string like <code spellcheck="false">Q1</code> for the 1st quarter of the
+ year</li>
</ul>
-<p>The default is <code>Quarter {quarterNumber}</code>
+<p>The default is <code spellcheck="false">Quarter {quarterNumber}</code>
</p>
<h3>Year pattern</h3>
<p>It is also possible to customize the title of generated year notes through
- the <code>#yearPattern</code> attribute on the root calendar note. The options
- are:</p>
+ the <code spellcheck="false">#yearPattern</code> attribute on the root calendar
+ note. The options are:</p>
<ul>
- <li><code>{year}</code> results in the full year (e.g. <code>2025</code>)</li>
+ <li><code spellcheck="false">{year}</code> results in the full year (e.g.
+ <code
+ spellcheck="false">2025</code>)</li>
</ul>
-<p>The default is <code>{year}</code>
+<p>The default is <code spellcheck="false">{year}</code>
</p>
<h2>Implementation</h2>
<p>Trilium has some special support for day notes in the form of <a href="https://triliumnext.github.io/Notes/backend_api/BackendScriptApi.html">backend Script API</a> -
see e.g. getDayNote() function.</p>
-<p>Day (and year, month) notes are created with a label - e.g. <code>#dateNote="2025-03-09"</code> this
+<p>Day (and year, month) notes are created with a label - e.g. <code spellcheck="false">#dateNote="2025-03-09"</code> this
can then be used by other scripts to add new notes to day note etc.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Task Manager.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Task Manager.html
index 6d72fea158..8442e5656a 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Task Manager.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Task Manager.html
@@ -14,13 +14,13 @@
note and doneDate note (with <a href="#root/_help_kBrnXNG3Hplm">prefix</a> of either
"TODO" or "DONE").</p>
<h2>Implementation</h2>
-<p>New tasks are created in the TODO note which has <code>~child:template</code>
+<p>New tasks are created in the TODO note which has <code spellcheck="false">~child:template</code>
<a
href="#root/_help_zEY4DaJG4YT5">relation</a>(see <a href="#root/_help_bwZpz2ajCEwO">attribute inheritance</a>)
pointing to the task template.</p>
<h3>Attributes</h3>
<p>Task template defines several <a href="#root/_help_OFXdgB2nNk1F">promoted attributes</a> -
- todoDate, doneDate, tags, location. Importantly it also defines <code>~runOnAttributeChange</code> relation
+ todoDate, doneDate, tags, location. Importantly it also defines <code spellcheck="false">~runOnAttributeChange</code> relation
- <a href="#root/_help_GPERMystNGTB">event</a> handler which is run on attribute
change. This <a href="#root/_help_CdNpE2pqjmI6">script</a> handles when e.g. we
fill out the doneDate attribute - meaning the task is done and should be
@@ -56,10 +56,10 @@
span.fancytree-node.done .fancytree-title {
color: green !important;
}</code></pre>
-<p>This <a href="#root/_help_6f9hih2hXXZk">code note</a> has <code>#appCss</code>
+<p>This <a href="#root/_help_6f9hih2hXXZk">code note</a> has <code spellcheck="false">#appCss</code>
<a
href="#root/_help_zEY4DaJG4YT5">label</a>which is recognized by Trilium on startup and loaded as CSS into
the application.</p>
<p>Second part of this functionality is based in event handler described
- above which assigns <code>#cssClass</code> label to the task to either "done"
- or "todo" based on the task status.</p>
\ No newline at end of file
+ above which assigns <code spellcheck="false">#cssClass</code> label to the
+ task to either "done" or "todo" based on the task status.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Weight Tracker.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Weight Tracker.html
index 7ffb54d73f..1e4c6ddebf 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Weight Tracker.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Weight Tracker.html
@@ -1,28 +1,31 @@
<p>
<img src="Weight Tracker_image.png">
</p>
-<p>The <code>Weight Tracker</code> is a <a href="#root/_help_GLks18SNjxmC">Script API</a> showcase
+<p>The <code spellcheck="false">Weight Tracker</code> is a <a href="#root/_help_GLks18SNjxmC">Script API</a> showcase
present in the <a href="#root/_help_wX4HbRucYSDD">demo notes</a>.</p>
-<p>By adding <code>weight</code> as a <a href="#root/_help_OFXdgB2nNk1F">promoted attribute</a> in
+<p>By adding <code spellcheck="false">weight</code> as a <a href="#root/_help_OFXdgB2nNk1F">promoted attribute</a> in
the <a href="#root/_help_KC1HB96bqqHX">template</a> from which <a href="#root/_help_l0tKav7yLHGF">day notes</a> are
created, you can aggregate the data and plot weight change over time.</p>
<h2>Implementation</h2>
-<p>The <code>Weight Tracker</code> note in the screenshot above is of the type <code>Render Note</code>.
- That type of note doesn't have any useful content itself. Instead it is
- a placeholder where a <a href="#root/_help_CdNpE2pqjmI6">script</a> can render
- its output.</p>
-<p>Scripts for <code>Render Notes</code> are defined in a <a href="#root/_help_zEY4DaJG4YT5">relation</a> called <code>~renderNote</code>.
- In this example, it's the <code>Weight Tracker</code>'s child <code>Implementation</code>.
- The Implementation consists of two <a href="#root/_help_6f9hih2hXXZk">code notes</a> that
- contain some HTML and JavaScript respectively, which load all the notes
- with a <code>weight</code> attribute and display their values in a chart.</p>
+<p>The <code spellcheck="false">Weight Tracker</code> note in the screenshot
+ above is of the type <code spellcheck="false">Render Note</code>. That type
+ of note doesn't have any useful content itself. Instead it is a placeholder
+ where a <a href="#root/_help_CdNpE2pqjmI6">script</a> can render its output.</p>
+<p>Scripts for <code spellcheck="false">Render Notes</code> are defined in
+ a <a href="#root/_help_zEY4DaJG4YT5">relation</a> called <code spellcheck="false">~renderNote</code>.
+ In this example, it's the <code spellcheck="false">Weight Tracker</code>'s
+ child <code spellcheck="false">Implementation</code>. The Implementation
+ consists of two <a href="#root/_help_6f9hih2hXXZk">code notes</a> that contain
+ some HTML and JavaScript respectively, which load all the notes with a
+ <code
+ spellcheck="false">weight</code>attribute and display their values in a chart.</p>
<p>To actually render the chart, we're using a third party library called
<a
href="https://www.chartjs.org/">chart.js</a>which is imported as an attachment, since it's not built into
Trilium.</p>
<h3>Code</h3>
<p>Here's the content of the script which is placed in a <a href="#root/_help_6f9hih2hXXZk">code note</a> of
- type <code>JS Frontend</code>:</p><pre><code class="language-text-x-trilium-auto">async function getChartData() {
+ type <code spellcheck="false">JS Frontend</code>:</p><pre><code class="language-text-x-trilium-auto">async function getChartData() {
const days = await api.runOnBackend(async () =&gt; {
const notes = api.getNotesWithLabel('weight');
const days = [];
@@ -68,6 +71,7 @@ new chartjs.Chart(ctx, {
data: await getChartData()
});</code></pre>
<h2>How to remove the Weight Tracker button from the top bar</h2>
-<p>In the link map of the <code>Weight Tracker</code>, there is a note called <code>Button</code>.
- Open it and delete or comment out its contents. The <code>Weight Tracker</code> button
+<p>In the link map of the <code spellcheck="false">Weight Tracker</code>,
+ there is a note called <code spellcheck="false">Button</code>. Open it and
+ delete or comment out its contents. The <code spellcheck="false">Weight Tracker</code> button
will disappear after you restart Trilium.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes.html
index c52770536f..a64d3c1be8 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes.html
@@ -29,9 +29,9 @@
<ol>
<li><strong>System attributes</strong>
<br>As the name suggest, these attributes have a special meaning since they
- are interpreted by Trilium. For example the <code>color</code> attribute
+ are interpreted by Trilium. For example the <code spellcheck="false">color</code> attribute
will change the color of the note as displayed in the&nbsp;<a class="reference-link"
- href="#root/_help_oPVyFC7WL2Lp">Note Tree</a>&nbsp;and links, and <code>iconClass</code> will
+ href="#root/_help_oPVyFC7WL2Lp">Note Tree</a>&nbsp;and links, and <code spellcheck="false">iconClass</code> will
change the icon of a note.</li>
<li><strong>User-defined attributes</strong>
<br>These are free-form labels or relations that can be used by the user.
@@ -43,8 +43,8 @@
<p>In practice, Trilium makes no direct distinction of whether an attribute
is a system one or a user-defined one. A label or relation is considered
a system attribute if it matches one of the built-in names (e.g. like the
- aforementioned <code>iconClass</code>). Keep this in mind when creating
- &nbsp;<a class="reference-link" href="#root/_help_OFXdgB2nNk1F">Promoted Attributes</a>&nbsp;in
+ aforementioned <code spellcheck="false">iconClass</code>). Keep this in
+ mind when creating &nbsp;<a class="reference-link" href="#root/_help_OFXdgB2nNk1F">Promoted Attributes</a>&nbsp;in
order not to accidentally alter a system attribute (unless intended).</p>
<h2>Viewing the list of attributes</h2>
<p>Both the labels and relations for the current note are displayed in the <em>Owned Attributes</em> section
@@ -52,8 +52,8 @@
where they can be viewed and edited. Inherited attributes are displayed
in the <em>Inherited Attributes</em> section of the ribbon, where they can
only be viewed.</p>
-<p>In the list of attributes, labels are prefixed with the <code>#</code> character
- whereas relations are prefixed with the <code>~</code> character.</p>
+<p>In the list of attributes, labels are prefixed with the <code spellcheck="false">#</code> character
+ whereas relations are prefixed with the <code spellcheck="false">~</code> character.</p>
<h2>Attribute Definitions and Promoted Attributes</h2>
<p><a class="reference-link" href="#root/_help_OFXdgB2nNk1F">Promoted Attributes</a>&nbsp;create
a form-like editing experience for attributes, which makes it easy to enhancing
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Attribute Inheritance.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Attribute Inheritance.html
index 9d7076d6aa..c9175f5eb3 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Attribute Inheritance.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Attribute Inheritance.html
@@ -3,43 +3,49 @@
generally in parent-child relations (or anywhere if using templates).</p>
<h2>Standard Inheritance</h2>
<p>In Trilium, attributes can be automatically inherited by child notes if
- they have the <code>isInheritable</code> flag set to <code>true</code>. This
- means the attribute (a key-value pair) is applied to the note and all its
- descendants.</p>
+ they have the <code spellcheck="false">isInheritable</code> flag set to
+ <code
+ spellcheck="false">true</code>. This means the attribute (a key-value pair) is applied to
+ the note and all its descendants.</p>
<p>To make an attribute inheritable, simply use the visual editor for&nbsp;
<a
class="reference-link" href="#root/_help_HI6GBBIduIgv">Labels</a>&nbsp;or&nbsp;<a class="reference-link" href="#root/_help_Cq5X6iKQop6R">Relations</a>.
- Alternatively, the attribute can be manually defined where <code>#myLabel=value</code> becomes <code>#myLabel(inheritable)=value</code> when
- inheritable.</p>
-<p>As an example, the <code>archived</code> label can be set to be inheritable,
- allowing you to hide a whole subtree of notes from searches and other dialogs
- by applying this label at the top level.</p>
+ Alternatively, the attribute can be manually defined where <code spellcheck="false">#myLabel=value</code> becomes
+ <code
+ spellcheck="false">#myLabel(inheritable)=value</code>when inheritable.</p>
+<p>As an example, the <code spellcheck="false">archived</code> label can be
+ set to be inheritable, allowing you to hide a whole subtree of notes from
+ searches and other dialogs by applying this label at the top level.</p>
<p>Standard inheritance forces all the notes that are children (and sub-children)
of a note to have that particular label or relation. If there is a need
to have some notes not inherit one of the labels, then <em>copying inheritance</em> or <em>template inheritance</em> needs
to be used instead.</p>
<h2>Copying Inheritance</h2>
-<p>Copying inheritance differs from standard inheritance by using a <code>child:</code> prefix
- in the attribute name. This prefix causes new child notes to automatically
- receive specific attributes from the parent note. These attributes are
- independent of the parent and will persist even if the note is moved elsewhere.</p>
-<p>If a parent note has the label <code>#child:exampleAttribute</code>, all
- newly created child notes (one level deep) will inherit the <code>#exampleAttribute</code> label.
+<p>Copying inheritance differs from standard inheritance by using a
+ <code
+ spellcheck="false">child:</code>prefix in the attribute name. This prefix causes new child
+ notes to automatically receive specific attributes from the parent note.
+ These attributes are independent of the parent and will persist even if
+ the note is moved elsewhere.</p>
+<p>If a parent note has the label <code spellcheck="false">#child:exampleAttribute</code>,
+ all newly created child notes (one level deep) will inherit the <code spellcheck="false">#exampleAttribute</code> label.
This can be useful for setting default properties for notes in a specific
section.</p>
-<p>Similarly, for relations use <code>~child:myRelation</code>.</p>
+<p>Similarly, for relations use <code spellcheck="false">~child:myRelation</code>.</p>
<p>Due to the way it's designed, copying inheritance cannot be used to cascade
infinitely within a hierarchy. For that use case, consider using either
standard inheritance or templates.</p>
<h3>Chained inheritance</h3>
-<p>It is possible to define labels across multiple levels of depth. For example, <code>#child:child:child:foo</code> applied
- to a root note would create:</p>
+<p>It is possible to define labels across multiple levels of depth. For example,
+ <code
+ spellcheck="false">#child:child:child:foo</code>applied to a root note would create:</p>
<ul>
- <li><code>#child:child:foo</code> on the first-level children.</li>
- <li><code>#child:foo</code> on the second-level children.</li>
- <li><code>#foo</code> on the third-level children.</li>
+ <li><code spellcheck="false">#child:child:foo</code> on the first-level children.</li>
+ <li><code spellcheck="false">#child:foo</code> on the second-level children.</li>
+ <li><code spellcheck="false">#foo</code> on the third-level children.</li>
</ul>
-<p>Similarly, use <code>~child:child:child:foo</code> if dealing with relations.</p>
+<p>Similarly, use <code spellcheck="false">~child:child:child:foo</code> if
+ dealing with relations.</p>
<p>Do note that same as simple copying inheritance, the changes will not
apply retroactively to existing notes in the hierarchy, it will only apply
to the newly created notes.</p>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Labels.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Labels.html
index 26fa692dc8..94a0ce7893 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Labels.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Labels.html
@@ -3,10 +3,11 @@
<h2>Common use cases</h2>
<ul>
<li><strong>Metadata for personal use</strong>: Assign labels with optional
- values for categorization, such as <code>#year=1999</code>, <code>#genre="sci-fi"</code>,
- or <code>#author="Neal Stephenson"</code>. This can be combined with&nbsp;
- <a
- class="reference-link" href="#root/_help_OFXdgB2nNk1F">Promoted Attributes</a>&nbsp;to make their display more user-friendly.</li>
+ values for categorization, such as <code spellcheck="false">#year=1999</code>,
+ <code
+ spellcheck="false">#genre="sci-fi"</code>, or <code spellcheck="false">#author="Neal Stephenson"</code>.
+ This can be combined with&nbsp;<a class="reference-link" href="#root/_help_OFXdgB2nNk1F">Promoted Attributes</a>&nbsp;to
+ make their display more user-friendly.</li>
<li><strong>Configuration</strong>: Labels can configure advanced features
or settings (see reference below).</li>
<li><strong>Scripts and Plugins</strong>: Used to tag notes with special metadata,
@@ -36,21 +37,24 @@
<p>In the <em>Owned Attributes</em> section in the&nbsp;<a class="reference-link"
href="#root/_help_BlN9DFI679QC">Ribbon</a>:</p>
<ul>
- <li>To create a label called <code>myLabel</code> with no value, simply type <code>#myLabel</code>.</li>
- <li>To create a label called <code>myLabel</code> with a value <code>value</code>,
- simply type <code>#myLabel=value</code>.</li>
- <li>If the value contains spaces, then the text must be quoted: <code>#myLabel="Hello world"</code>.</li>
+ <li>To create a label called <code spellcheck="false">myLabel</code> with no
+ value, simply type <code spellcheck="false">#myLabel</code>.</li>
+ <li>To create a label called <code spellcheck="false">myLabel</code> with a
+ value <code spellcheck="false">value</code>, simply type <code spellcheck="false">#myLabel=value</code>.</li>
+ <li>If the value contains spaces, then the text must be quoted: <code spellcheck="false">#myLabel="Hello world"</code>.</li>
<li>If the string contains quotes (regardless of whether it has spaces), then
- the text must be quoted with apostrophes instead: <code>#myLabel='Hello "world"'</code>.</li>
- <li>To create an inheritable label called <code>myLabel</code>, simply write <code>#myLabel(inheritable)</code> for
- no value or <code>#myLabel(inheritable)=value</code> if there is a value.</li>
+ the text must be quoted with apostrophes instead: <code spellcheck="false">#myLabel='Hello "world"'</code>.</li>
+ <li>To create an inheritable label called <code spellcheck="false">myLabel</code>,
+ simply write <code spellcheck="false">#myLabel(inheritable)</code> for no
+ value or <code spellcheck="false">#myLabel(inheritable)=value</code> if there
+ is a value.</li>
</ul>
<h2>Predefined labels</h2>
<p>This is a list of labels that Trilium natively supports.</p>
<aside class="admonition tip">
- <p>Some labels presented here end with a <code>*</code>. That means that there
- are multiple labels with the same prefix, consult the specific page linked
- in the description of that label for more information.</p>
+ <p>Some labels presented here end with a <code spellcheck="false">*</code>.
+ That means that there are multiple labels with the same prefix, consult
+ the specific page linked in the description of that label for more information.</p>
</aside>
<table class="ck-table-resized">
<colgroup>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Promoted Attributes.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Promoted Attributes.html
index 2a27bf9567..552eb1e328 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Promoted Attributes.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Promoted Attributes.html
@@ -47,8 +47,9 @@
</ol>
<h2>How attribute definitions actually work</h2>
<p>When a new promoted attribute definition is created, it creates a corresponding
- label prefixed with either <code>label</code> or <code>relation</code>, depending
- on the definition type:</p><pre><code class="language-text-x-trilium-auto">#label:myColor(inheritable)="promoted,alias=Color,multi,color"</code></pre>
+ label prefixed with either <code spellcheck="false">label</code> or
+ <code
+ spellcheck="false">relation</code>, depending on the definition type:</p><pre><code class="language-text-x-trilium-auto">#label:myColor(inheritable)="promoted,alias=Color,multi,color"</code></pre>
<p>The only purpose of the attribute definition is to set up a template.
If the attribute was marked as promoted, then it's also displayed to the
user for easy editing.</p>
@@ -97,7 +98,7 @@
make use of this practice, for example:
<ul>
<li>Calendars add “Start Date”, “End Date”, “Start Time” and “End Time” as
- promoted attributes. These map to system attributes such as <code>startDate</code> which
+ promoted attributes. These map to system attributes such as <code spellcheck="false">startDate</code> which
are then interpreted by the calendar view.</li>
<li><a class="reference-link" href="#root/_help_zP3PMqaG71Ct">Presentation</a>&nbsp;adds
a “Background” promoted attribute for each of the slide to easily be able
@@ -105,29 +106,29 @@
</ul>
</li>
<li>The Trilium documentation (which is edited in Trilium) uses a promoted
- attribute to be able to easily edit the <code>#shareAlias</code> (see&nbsp;
+ attribute to be able to easily edit the <code spellcheck="false">#shareAlias</code> (see&nbsp;
<a
class="reference-link" href="#root/_help_R9pX4DGra2Vt">Sharing</a>) in order to form clean URLs.</li>
- <li>If you always edit a particular system attribute such as <code>#color</code>,
+ <li>If you always edit a particular system attribute such as <code spellcheck="false">#color</code>,
simply create a promoted attribute for it to make it easier.</li>
</ul>
<h3>Inverse relation</h3>
<p>Some relations always occur in pairs - my favorite example is on the family.
If you have a note representing husband and note representing wife, then
- there might be a relation between those two of <code>isPartnerOf</code>.
+ there might be a relation between those two of <code spellcheck="false">isPartnerOf</code>.
This is bidirectional relationship - meaning that if a relation is pointing
from husband to wife then there should be always another relation pointing
from wife to husband.</p>
<p>Another example is with parent-child relationship. Again these always
occur in pairs, but in this case it's not exact same relation - the one
- going from parent to child might be called <code>isParentOf</code> and the
- other one going from child to parent might be called <code>isChildOf</code>.</p>
+ going from parent to child might be called <code spellcheck="false">isParentOf</code> and
+ the other one going from child to parent might be called <code spellcheck="false">isChildOf</code>.</p>
<p>Relation definition allows you to specify such "inverse relation" - for
the relation you just define you specify which is the inverse relation.
Note that in the second example we should have two relation definitions
- - one for <code>isParentOf</code> which defines <code>isChildOf</code> as inverse
- relation and then second relation definition for <code>isChildOf</code> which
- defines <code>isParentOf</code> as inverse relation.</p>
+ - one for <code spellcheck="false">isParentOf</code> which defines <code spellcheck="false">isChildOf</code> as
+ inverse relation and then second relation definition for <code spellcheck="false">isChildOf</code> which
+ defines <code spellcheck="false">isParentOf</code> as inverse relation.</p>
<p>What this does internally is that whenever we save a relation which has
defined inverse relation, we check that this inverse relation exists on
the relation target note. Similarly, when we delete relation, we also delete
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Relations.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Relations.html
index 8dd0803c7a..7df739acef 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Relations.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Relations.html
@@ -39,27 +39,30 @@
<p>In the <em>Owned Attributes</em> section in the&nbsp;<a class="reference-link"
href="#root/_help_BlN9DFI679QC">Ribbon</a>:</p>
<ul>
- <li>To create a relation called <code>myRelation</code>:
+ <li>To create a relation called <code spellcheck="false">myRelation</code>:
<ul>
- <li>First type <code>~myRelation=@</code> .</li>
+ <li>First type <code spellcheck="false">~myRelation=@</code> .</li>
<li>After this, an autocompletion box should appear.</li>
<li>Type the title of the note to point to and press <kbd>Enter</kbd> to confirm
(or click the desired note).</li>
<li>Alternatively copy a note from the&nbsp;<a class="reference-link" href="#root/_help_oPVyFC7WL2Lp">Note Tree</a>&nbsp;and
- paste it after the <code>=</code> sign (without the <code>@</code> , in this
- case).</li>
+ paste it after the <code spellcheck="false">=</code> sign (without the
+ <code
+ spellcheck="false">@</code> , in this case).</li>
</ul>
</li>
<li>To create an inheritable relation, follow the same steps as previously
- described but instead of <code>~myRelation</code> write <code>~myRelation(inheritable)</code>.</li>
+ described but instead of <code spellcheck="false">~myRelation</code> write
+ <code
+ spellcheck="false">~myRelation(inheritable)</code>.</li>
</ul>
<h2>Predefined relations</h2>
<p>These relations are supported and used internally by Trilium.</p>
<aside
class="admonition tip">
- <p>Some relations presented here end with a <code>*</code>. That means that
- there are multiple relations with the same prefix, consult the specific
- page linked in the description of that relation for more information.</p>
+ <p>Some relations presented here end with a <code spellcheck="false">*</code>.
+ That means that there are multiple relations with the same prefix, consult
+ the specific page linked in the description of that relation for more information.</p>
</aside>
<table>
<thead>
@@ -70,20 +73,20 @@ class="admonition tip">
</thead>
<tbody>
<tr>
- <td><code>runOn*</code>
+ <td><code spellcheck="false">runOn*</code>
</td>
<td>See&nbsp;<a class="reference-link" href="#root/_help_GPERMystNGTB">Events</a>
</td>
</tr>
<tr>
- <td><code>template</code>
+ <td><code spellcheck="false">template</code>
</td>
<td>note's attributes will be inherited even without a parent-child relationship,
note's content and subtree will be added to instance notes if empty. See
documentation for details.</td>
</tr>
<tr>
- <td><code>inherit</code>
+ <td><code spellcheck="false">inherit</code>
</td>
<td>note's attributes will be inherited even without a parent-child relationship.
See&nbsp;<a class="reference-link" href="#root/_help_KC1HB96bqqHX">Templates</a>&nbsp;for
@@ -91,50 +94,53 @@ class="admonition tip">
the documentation.</td>
</tr>
<tr>
- <td><code>renderNote</code>
+ <td><code spellcheck="false">renderNote</code>
</td>
<td>notes of type&nbsp;<a class="reference-link" href="#root/_help_HcABDtFCkbFN">Render Note</a>&nbsp;will
be rendered using a code note (HTML or script) and it is necessary to point
using this relation to which note should be rendered</td>
</tr>
<tr>
- <td><code>widget_relation</code>
+ <td><code spellcheck="false">widget_relation</code>
</td>
<td>target of this relation will be executed and rendered as a widget in the
sidebar</td>
</tr>
<tr>
- <td><code>shareCss</code>
+ <td><code spellcheck="false">shareCss</code>
</td>
<td>CSS note which will be injected into the share page. CSS note must be
- in the shared sub-tree as well. Consider using <code>share_hidden_from_tree</code> and <code>share_omit_default_css</code> as
- well.</td>
+ in the shared sub-tree as well. Consider using <code spellcheck="false">share_hidden_from_tree</code> and
+ <code
+ spellcheck="false">share_omit_default_css</code>as well.</td>
</tr>
<tr>
- <td><code>shareJs</code>
+ <td><code spellcheck="false">shareJs</code>
</td>
<td>JavaScript note which will be injected into the share page. JS note must
- be in the shared sub-tree as well. Consider using <code>share_hidden_from_tree</code>.</td>
+ be in the shared sub-tree as well. Consider using <code spellcheck="false">share_hidden_from_tree</code>.</td>
</tr>
<tr>
- <td><code>shareHtml</code>
+ <td><code spellcheck="false">shareHtml</code>
</td>
<td>HTML note which will be injected into the share page at locations specified
- by the <code>shareHtmlLocation</code> label. HTML note must be in the shared
- sub-tree as well. Consider using <code>share_hidden_from_tree</code>.</td>
+ by the <code spellcheck="false">shareHtmlLocation</code> label. HTML note
+ must be in the shared sub-tree as well. Consider using <code spellcheck="false">share_hidden_from_tree</code>.</td>
</tr>
<tr>
- <td><code>shareTemplate</code>
+ <td><code spellcheck="false">shareTemplate</code>
</td>
<td>Embedded JavaScript note that will be used as the template for displaying
- the shared note. Falls back to the default template. Consider using <code>share_hidden_from_tree</code>.</td>
+ the shared note. Falls back to the default template. Consider using
+ <code
+ spellcheck="false">share_hidden_from_tree</code>.</td>
</tr>
<tr>
- <td><code>shareFavicon</code>
+ <td><code spellcheck="false">shareFavicon</code>
</td>
<td>Favicon note to be set in the shared page. Typically you want to set it
to share root and make it inheritable. Favicon note must be in the shared
- sub-tree as well. Consider using <code>share_hidden_from_tree</code>.</td>
+ sub-tree as well. Consider using <code spellcheck="false">share_hidden_from_tree</code>.</td>
</tr>
</tbody>
</table>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Bulk Actions.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Bulk Actions.html
index 77fbbf0319..b5a3548555 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Bulk Actions.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Bulk Actions.html
@@ -116,8 +116,9 @@
<a
class="reference-link" href="#root/_help_habiZ3HU8Kw8">FNote</a>, for example:
<ul>
- <li><code>NEW: ${note.title}</code> will prefix all notes with <code>NEW:</code> .</li>
- <li><code>${note.dateCreatedObj.format('MM-DD:')}: ${note.title}</code> will
+ <li><code spellcheck="false">NEW: ${note.title}</code> will prefix all notes
+ with <code spellcheck="false">NEW:</code> .</li>
+ <li><code spellcheck="false">${note.dateCreatedObj.format('MM-DD:')}: ${note.title}</code> will
prefix the note titles with each note's creation date (in month-day format).</li>
</ul>
</li>
@@ -155,12 +156,13 @@
<li>Examples:
<ul>
<li>
- <p>To apply a suffix (<code>- suffix</code> in this example), to the note
- title:</p><pre><code class="language-application-javascript-env-backend">note.title = note.title + " - suffix";</code></pre>
+ <p>To apply a suffix (<code spellcheck="false">- suffix</code> in this example),
+ to the note title:</p><pre><code class="language-application-javascript-env-backend">note.title = note.title + " - suffix";</code></pre>
</li>
<li>
<p>To alter attributes of a note based on another attribute, such as setting
- the <code>#shareAlias</code> label to the title of the note:</p><pre><code class="language-application-javascript-env-backend">note.setLabel("shareAlias", note.title)</code></pre>
+ the <code spellcheck="false">#shareAlias</code> label to the title of the
+ note:</p><pre><code class="language-application-javascript-env-backend">note.setLabel("shareAlias", note.title)</code></pre>
</li>
</ul>
</li>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or e.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or e.html
index eb13e92f27..d732b30d2f 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or e.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or e.html
@@ -1,11 +1,12 @@
-<p>Trilium supports configuration via a file named <code>config.ini</code> and
+<p>Trilium supports configuration via a file named <code spellcheck="false">config.ini</code> and
environment variables. This document provides a comprehensive reference
for all configuration options.</p>
<h2>Location of the configuration file</h2>
<p>The configuration file is not located in the same directory as the application.
- Instead, the <code>config.ini</code> is located in the&nbsp;<a class="reference-link"
- href="#root/_help_tAassRL4RSQL">Data directory</a>. As such, the configuration
- file is only available after starting the application and creating a database.</p>
+ Instead, the <code spellcheck="false">config.ini</code> is located in the&nbsp;
+ <a
+ class="reference-link" href="#root/_help_tAassRL4RSQL">Data directory</a>. As such, the configuration file is only available
+ after starting the application and creating a database.</p>
<h2>Configuration Precedence</h2>
<p>Configuration values are loaded in the following order of precedence (highest
to lowest):</p>
@@ -18,13 +19,15 @@
</ol>
<h2>Environment Variable Patterns</h2>
<p>Trilium supports multiple environment variable patterns for flexibility.
- The primary pattern is: <code>TRILIUM_[SECTION]_[KEY]</code>
+ The primary pattern is: <code spellcheck="false">TRILIUM_[SECTION]_[KEY]</code>
</p>
<p>Where:</p>
<ul>
- <li><code>SECTION</code> is the INI section name in UPPERCASE</li>
- <li><code>KEY</code> is the camelCase configuration key converted to UPPERCASE
- (e.g., <code>instanceName</code> → <code>INSTANCENAME</code>)</li>
+ <li><code spellcheck="false">SECTION</code> is the INI section name in UPPERCASE</li>
+ <li><code spellcheck="false">KEY</code> is the camelCase configuration key
+ converted to UPPERCASE (e.g., <code spellcheck="false">instanceName</code> →
+ <code
+ spellcheck="false">INSTANCENAME</code>)</li>
</ul>
<p>Additionally, shorter aliases are available for common configurations
(see Alternative Variables section below).</p>
@@ -41,35 +44,35 @@
</thead>
<tbody>
<tr>
- <td><code>TRILIUM_GENERAL_INSTANCENAME</code>
+ <td><code spellcheck="false">TRILIUM_GENERAL_INSTANCENAME</code>
</td>
<td>string</td>
<td>""</td>
<td>Instance name for API identification</td>
</tr>
<tr>
- <td><code>TRILIUM_GENERAL_NOAUTHENTICATION</code>
+ <td><code spellcheck="false">TRILIUM_GENERAL_NOAUTHENTICATION</code>
</td>
<td>boolean</td>
<td>false</td>
<td>Disable authentication (server only)</td>
</tr>
<tr>
- <td><code>TRILIUM_GENERAL_NOBACKUP</code>
+ <td><code spellcheck="false">TRILIUM_GENERAL_NOBACKUP</code>
</td>
<td>boolean</td>
<td>false</td>
<td>Disable automatic backups</td>
</tr>
<tr>
- <td><code>TRILIUM_GENERAL_NODESKTOPICON</code>
+ <td><code spellcheck="false">TRILIUM_GENERAL_NODESKTOPICON</code>
</td>
<td>boolean</td>
<td>false</td>
<td>Disable desktop icon creation</td>
</tr>
<tr>
- <td><code>TRILIUM_GENERAL_READONLY</code>
+ <td><code spellcheck="false">TRILIUM_GENERAL_READONLY</code>
</td>
<td>boolean</td>
<td>false</td>
@@ -90,70 +93,70 @@
</thead>
<tbody>
<tr>
- <td><code>TRILIUM_NETWORK_HOST</code>
+ <td><code spellcheck="false">TRILIUM_NETWORK_HOST</code>
</td>
<td>string</td>
<td>"0.0.0.0"</td>
<td>Server host binding</td>
</tr>
<tr>
- <td><code>TRILIUM_NETWORK_PORT</code>
+ <td><code spellcheck="false">TRILIUM_NETWORK_PORT</code>
</td>
<td>string</td>
<td>"3000"</td>
<td>Server port</td>
</tr>
<tr>
- <td><code>TRILIUM_NETWORK_HTTPS</code>
+ <td><code spellcheck="false">TRILIUM_NETWORK_HTTPS</code>
</td>
<td>boolean</td>
<td>false</td>
<td>Enable HTTPS</td>
</tr>
<tr>
- <td><code>TRILIUM_NETWORK_CERTPATH</code>
+ <td><code spellcheck="false">TRILIUM_NETWORK_CERTPATH</code>
</td>
<td>string</td>
<td>""</td>
<td>SSL certificate path</td>
</tr>
<tr>
- <td><code>TRILIUM_NETWORK_KEYPATH</code>
+ <td><code spellcheck="false">TRILIUM_NETWORK_KEYPATH</code>
</td>
<td>string</td>
<td>""</td>
<td>SSL key path</td>
</tr>
<tr>
- <td><code>TRILIUM_NETWORK_TRUSTEDREVERSEPROXY</code>
+ <td><code spellcheck="false">TRILIUM_NETWORK_TRUSTEDREVERSEPROXY</code>
</td>
<td>boolean/string</td>
<td>false</td>
<td>Reverse proxy trust settings</td>
</tr>
<tr>
- <td><code>TRILIUM_NETWORK_CORSALLOWORIGIN</code>
+ <td><code spellcheck="false">TRILIUM_NETWORK_CORSALLOWORIGIN</code>
</td>
<td>string</td>
<td>""</td>
<td>CORS allowed origins</td>
</tr>
<tr>
- <td><code>TRILIUM_NETWORK_CORSALLOWMETHODS</code>
+ <td><code spellcheck="false">TRILIUM_NETWORK_CORSALLOWMETHODS</code>
</td>
<td>string</td>
<td>""</td>
<td>CORS allowed methods</td>
</tr>
<tr>
- <td><code>TRILIUM_NETWORK_CORSALLOWHEADERS</code>
+ <td><code spellcheck="false">TRILIUM_NETWORK_CORSALLOWHEADERS</code>
</td>
<td>string</td>
<td>""</td>
<td>CORS allowed headers</td>
</tr>
<tr>
- <td><code>TRILIUM_NETWORK_CORSRESOURCEPOLICY</code>
+ <td><code spellcheck="false">TRILIUM_NETWORK_CORSRESOURCEPOLICY</code>
</td>
<td>string</td>
<td>same-origin</td>
@@ -175,7 +178,7 @@
</thead>
<tbody>
<tr>
- <td><code>TRILIUM_SESSION_COOKIEMAXAGE</code>
+ <td><code spellcheck="false">TRILIUM_SESSION_COOKIEMAXAGE</code>
</td>
<td>integer</td>
<td>1814400</td>
@@ -196,21 +199,21 @@
</thead>
<tbody>
<tr>
- <td><code>TRILIUM_SYNC_SYNCSERVERHOST</code>
+ <td><code spellcheck="false">TRILIUM_SYNC_SYNCSERVERHOST</code>
</td>
<td>string</td>
<td>""</td>
<td>Sync server host URL</td>
</tr>
<tr>
- <td><code>TRILIUM_SYNC_SYNCSERVERTIMEOUT</code>
+ <td><code spellcheck="false">TRILIUM_SYNC_SYNCSERVERTIMEOUT</code>
</td>
<td>string</td>
<td>"120000"</td>
<td>Sync server timeout in milliseconds</td>
</tr>
<tr>
- <td><code>TRILIUM_SYNC_SYNCPROXY</code>
+ <td><code spellcheck="false">TRILIUM_SYNC_SYNCPROXY</code>
</td>
<td>string</td>
<td>""</td>
@@ -231,42 +234,42 @@
</thead>
<tbody>
<tr>
- <td><code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHBASEURL</code>
+ <td><code spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHBASEURL</code>
</td>
<td>string</td>
<td>""</td>
<td>OAuth/OpenID base URL</td>
</tr>
<tr>
- <td><code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHCLIENTID</code>
+ <td><code spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHCLIENTID</code>
</td>
<td>string</td>
<td>""</td>
<td>OAuth client ID</td>
</tr>
<tr>
- <td><code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHCLIENTSECRET</code>
+ <td><code spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHCLIENTSECRET</code>
</td>
<td>string</td>
<td>""</td>
<td>OAuth client secret</td>
</tr>
<tr>
- <td><code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHISSUERBASEURL</code>
+ <td><code spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHISSUERBASEURL</code>
</td>
<td>string</td>
<td>"<a href="https://accounts.google.com">https://accounts.google.com</a>"</td>
<td>OAuth issuer base URL</td>
</tr>
<tr>
- <td><code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHISSUERNAME</code>
+ <td><code spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHISSUERNAME</code>
</td>
<td>string</td>
<td>"Google"</td>
<td>OAuth issuer display name</td>
</tr>
<tr>
- <td><code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHISSUERICON</code>
+ <td><code spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHISSUERICON</code>
</td>
<td>string</td>
<td>""</td>
@@ -287,7 +290,7 @@
</thead>
<tbody>
<tr>
- <td><code>TRILIUM_LOGGING_RETENTIONDAYS</code>
+ <td><code spellcheck="false">TRILIUM_LOGGING_RETENTIONDAYS</code>
</td>
<td>integer</td>
<td>90</td>
@@ -301,38 +304,59 @@
and work identically to their longer counterparts:</p>
<h3>Network CORS Variables</h3>
<ul>
- <li><code>TRILIUM_NETWORK_CORS_ALLOW_ORIGIN</code> (alternative to <code>TRILIUM_NETWORK_CORSALLOWORIGIN</code>)</li>
- <li><code>TRILIUM_NETWORK_CORS_ALLOW_METHODS</code> (alternative to <code>TRILIUM_NETWORK_CORSALLOWMETHODS</code>)</li>
- <li><code>TRILIUM_NETWORK_CORS_ALLOW_HEADERS</code> (alternative to <code>TRILIUM_NETWORK_CORSALLOWHEADERS</code>)</li>
- <li><code>TRILIUM_NETWORK_CORS_RESOURCE_POLICY</code> (alternative to <code>TRILIUM_NETWORK_CORSRESOURCEPOLICY</code>)</li>
+ <li><code spellcheck="false">TRILIUM_NETWORK_CORS_ALLOW_ORIGIN</code> (alternative
+ to <code spellcheck="false">TRILIUM_NETWORK_CORSALLOWORIGIN</code>)</li>
+ <li><code spellcheck="false">TRILIUM_NETWORK_CORS_ALLOW_METHODS</code> (alternative
+ to <code spellcheck="false">TRILIUM_NETWORK_CORSALLOWMETHODS</code>)</li>
+ <li><code spellcheck="false">TRILIUM_NETWORK_CORS_ALLOW_HEADERS</code> (alternative
+ to <code spellcheck="false">TRILIUM_NETWORK_CORSALLOWHEADERS</code>)</li>
+ <li><code spellcheck="false">TRILIUM_NETWORK_CORS_RESOURCE_POLICY</code> (alternative
+ to <code spellcheck="false">TRILIUM_NETWORK_CORSRESOURCEPOLICY</code>)</li>
</ul>
<h3>Sync Variables</h3>
<ul>
- <li><code>TRILIUM_SYNC_SERVER_HOST</code> (alternative to <code>TRILIUM_SYNC_SYNCSERVERHOST</code>)</li>
- <li><code>TRILIUM_SYNC_SERVER_TIMEOUT</code> (alternative to <code>TRILIUM_SYNC_SYNCSERVERTIMEOUT</code>)</li>
- <li><code>TRILIUM_SYNC_SERVER_PROXY</code> (alternative to <code>TRILIUM_SYNC_SYNCPROXY</code>)</li>
+ <li><code spellcheck="false">TRILIUM_SYNC_SERVER_HOST</code> (alternative to
+ <code
+ spellcheck="false">TRILIUM_SYNC_SYNCSERVERHOST</code>)</li>
+ <li><code spellcheck="false">TRILIUM_SYNC_SERVER_TIMEOUT</code> (alternative
+ to <code spellcheck="false">TRILIUM_SYNC_SYNCSERVERTIMEOUT</code>)</li>
+ <li><code spellcheck="false">TRILIUM_SYNC_SERVER_PROXY</code> (alternative
+ to <code spellcheck="false">TRILIUM_SYNC_SYNCPROXY</code>)</li>
</ul>
<h3>OAuth/MFA Variables</h3>
<ul>
- <li><code>TRILIUM_OAUTH_BASE_URL</code> (alternative to <code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHBASEURL</code>)</li>
- <li><code>TRILIUM_OAUTH_CLIENT_ID</code> (alternative to <code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHCLIENTID</code>)</li>
- <li><code>TRILIUM_OAUTH_CLIENT_SECRET</code> (alternative to <code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHCLIENTSECRET</code>)</li>
- <li><code>TRILIUM_OAUTH_ISSUER_BASE_URL</code> (alternative to <code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHISSUERBASEURL</code>)</li>
- <li><code>TRILIUM_OAUTH_ISSUER_NAME</code> (alternative to <code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHISSUERNAME</code>)</li>
- <li><code>TRILIUM_OAUTH_ISSUER_ICON</code> (alternative to <code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHISSUERICON</code>)</li>
+ <li><code spellcheck="false">TRILIUM_OAUTH_BASE_URL</code> (alternative to
+ <code
+ spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHBASEURL</code>)</li>
+ <li><code spellcheck="false">TRILIUM_OAUTH_CLIENT_ID</code> (alternative to
+ <code
+ spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHCLIENTID</code>)</li>
+ <li><code spellcheck="false">TRILIUM_OAUTH_CLIENT_SECRET</code> (alternative
+ to <code spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHCLIENTSECRET</code>)</li>
+ <li><code spellcheck="false">TRILIUM_OAUTH_ISSUER_BASE_URL</code> (alternative
+ to <code spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHISSUERBASEURL</code>)</li>
+ <li><code spellcheck="false">TRILIUM_OAUTH_ISSUER_NAME</code> (alternative
+ to <code spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHISSUERNAME</code>)</li>
+ <li><code spellcheck="false">TRILIUM_OAUTH_ISSUER_ICON</code> (alternative
+ to <code spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHISSUERICON</code>)</li>
</ul>
<h3>Logging Variables</h3>
<ul>
- <li><code>TRILIUM_LOGGING_RETENTION_DAYS</code> (alternative to <code>TRILIUM_LOGGING_RETENTIONDAYS</code>)</li>
+ <li><code spellcheck="false">TRILIUM_LOGGING_RETENTION_DAYS</code> (alternative
+ to <code spellcheck="false">TRILIUM_LOGGING_RETENTIONDAYS</code>)</li>
</ul>
<h2>Boolean Values</h2>
<p>Boolean environment variables accept the following values:</p>
<ul>
- <li><strong>True</strong>: <code>"true"</code>, <code>"1"</code>, <code>1</code>
+ <li><strong>True</strong>: <code spellcheck="false">"true"</code>, <code spellcheck="false">"1"</code>,
+ <code
+ spellcheck="false">1</code>
</li>
- <li><strong>False</strong>: <code>"false"</code>, <code>"0"</code>, <code>0</code>
+ <li><strong>False</strong>: <code spellcheck="false">"false"</code>, <code spellcheck="false">"0"</code>,
+ <code
+ spellcheck="false">0</code>
</li>
- <li>Any other value defaults to <code>false</code>
+ <li>Any other value defaults to <code spellcheck="false">false</code>
</li>
</ul>
<h2>Using Environment Variables</h2>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Cross-Origin Resource Sharing .html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Cross-Origin Resource Sharing .html
index b2df5b4a91..ce8110cc99 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Cross-Origin Resource Sharing .html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Cross-Origin Resource Sharing .html
@@ -1,40 +1,40 @@
<p>By default, Trilium cannot be accessed in web browsers by requests coming
from other domains/origins than Trilium itself.&nbsp;</p>
<p>However, it is possible to manually configure <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CORS">Cross-Origin Resource Sharing (CORS)</a> since
- Trilium v0.93.0 using environment variables or <code>config.ini</code>,
+ Trilium v0.93.0 using environment variables or <code spellcheck="false">config.ini</code>,
as follows:</p>
<table>
<thead>
<tr>
<th>CORS Header</th>
- <th>Corresponding option in <code>config.ini</code>
+ <th>Corresponding option in <code spellcheck="false">config.ini</code>
</th>
- <th>Corresponding option in environment variables in the <code>Network</code> section</th>
+ <th>Corresponding option in environment variables in the <code spellcheck="false">Network</code> section</th>
</tr>
</thead>
<tbody>
<tr>
- <td><code>Access-Control-Allow-Origin</code>
+ <td><code spellcheck="false">Access-Control-Allow-Origin</code>
</td>
- <td><code>TRILIUM_NETWORK_CORS_ALLOW_ORIGIN</code>
+ <td><code spellcheck="false">TRILIUM_NETWORK_CORS_ALLOW_ORIGIN</code>
</td>
- <td><code>corsAllowOrigin</code>
+ <td><code spellcheck="false">corsAllowOrigin</code>
</td>
</tr>
<tr>
- <td><code>Access-Control-Allow-Methods</code>
+ <td><code spellcheck="false">Access-Control-Allow-Methods</code>
</td>
- <td><code>TRILIUM_NETWORK_CORS_ALLOW_METHODS</code>
+ <td><code spellcheck="false">TRILIUM_NETWORK_CORS_ALLOW_METHODS</code>
</td>
- <td><code>corsAllowMethods</code>
+ <td><code spellcheck="false">corsAllowMethods</code>
</td>
</tr>
<tr>
- <td><code>Access-Control-Allow-Headers</code>
+ <td><code spellcheck="false">Access-Control-Allow-Headers</code>
</td>
- <td><code>TRILIUM_NETWORK_CORS_ALLOW_HEADERS</code>
+ <td><code spellcheck="false">TRILIUM_NETWORK_CORS_ALLOW_HEADERS</code>
</td>
- <td><code>corsAllowHeaders</code>
+ <td><code spellcheck="false">corsAllowHeaders</code>
</td>
</tr>
</tbody>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Trilium instance.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Trilium instance.html
index 3b22c5f3ac..d81d09c126 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Trilium instance.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Trilium instance.html
@@ -4,14 +4,15 @@
is set up with), sometimes it can be useful to distinguish the instance
you are running on.</p>
<h2>Setting the instance name</h2>
-<p>To set up a name for the instance, modify the <code>config.ini</code>:</p><pre><code class="language-text-x-trilium-auto">[General]
+<p>To set up a name for the instance, modify the <code spellcheck="false">config.ini</code>:</p><pre><code class="language-text-x-trilium-auto">[General]
instanceName=Hello</code></pre>
<h2>Distinguishing the instance on back-end</h2>
-<p>Use <code>api.getInstanceName()</code> to obtain the instance name of the
- current server, as specified in the config file or in environment variables.</p>
+<p>Use <code spellcheck="false">api.getInstanceName()</code> to obtain the
+ instance name of the current server, as specified in the config file or
+ in environment variables.</p>
<h2>Limiting script runs based on instance</h2>
<p>For a script that is run periodically or on a certain event, it's possible
to limit it to certain instances without having to change the code. Just
- add <code>runOnInstance</code> and set as the value the instance name where
- the script should run. To run on multiple named instances, simply add the
- label multiple times.</p>
\ No newline at end of file
+ add <code spellcheck="false">runOnInstance</code> and set as the value the
+ instance name where the script should run. To run on multiple named instances,
+ simply add the label multiple times.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Custom Request Handler.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Custom Request Handler.html
index 196996eed8..1041a0414f 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Custom Request Handler.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Custom Request Handler.html
@@ -1,7 +1,7 @@
<p>Trilium provides a mechanism for <a href="#root/_help_CdNpE2pqjmI6">scripts</a> to
open a public REST endpoint. This opens a way for various integrations
with other services - a simple example would be creating new note from
- Slack by issuing a slash command (e.g. <code>/trilium buy milk</code>).</p>
+ Slack by issuing a slash command (e.g. <code spellcheck="false">/trilium buy milk</code>).</p>
<h2>Create note from outside Trilium</h2>
<p>Let's take a look at an example. The goal is to provide a REST endpoint
to which we can send title and content and Trilium will create a note.</p>
@@ -24,10 +24,12 @@ else {
}</code></pre>
<p>This script note has also following two attributes:</p>
<ul>
- <li>label <code>#customRequestHandler</code> with value <code>create-note</code>
+ <li>label <code spellcheck="false">#customRequestHandler</code> with value
+ <code
+ spellcheck="false">create-note</code>
</li>
- <li>relation <code>~targetNote</code> pointing to a note where new notes should
- be saved</li>
+ <li>relation <code spellcheck="false">~targetNote</code> pointing to a note
+ where new notes should be saved</li>
</ul>
<h3>Explanation</h3>
<p>Let's test this by using an HTTP client to send a request:</p><pre><code class="language-text-x-trilium-auto">POST http://your-trilium-server/custom/create-note
@@ -38,16 +40,18 @@ Content-Type: application/json
"title": "hello",
"content": "world"
}+++++++++++++++++++++++++++++++++++++++++++++++</code></pre>
-<p>Notice the <code>/custom</code> part in the request path - Trilium considers
- any request with this prefix as "custom" and tries to find a matching handler
- by looking at all notes which have <code>customRequestHandler</code> <a href="#root/_help_zEY4DaJG4YT5">label</a>.
- Value of this label then contains a regular expression which will match
- the request path (in our case trivial regex "create-note").</p>
-<p>Trilium will then find our code note created above and execute it. <code>api.req</code>, <code>api.res</code> are
- set to <a href="https://expressjs.com/en/api.html#req">request</a> and
+<p>Notice the <code spellcheck="false">/custom</code> part in the request path
+ - Trilium considers any request with this prefix as "custom" and tries
+ to find a matching handler by looking at all notes which have <code spellcheck="false">customRequestHandler</code>
<a
- href="https://expressjs.com/en/api.html#res">response</a>objects from which we can get details of the request and also
- respond.</p>
+ href="#root/_help_zEY4DaJG4YT5">label</a>. Value of this label then contains a regular expression which
+ will match the request path (in our case trivial regex "create-note").</p>
+<p>Trilium will then find our code note created above and execute it.
+ <code
+ spellcheck="false">api.req</code>, <code spellcheck="false">api.res</code> are set to <a href="https://expressjs.com/en/api.html#req">request</a> and
+ <a
+ href="https://expressjs.com/en/api.html#res">response</a>objects from which we can get details of the request and also
+ respond.</p>
<p>In the code note we check the request method and then use trivial authentication
- keep in mind that these endpoints are by default totally unauthenticated,
and you need to take care of this yourself.</p>
@@ -56,20 +60,21 @@ Content-Type: application/json
href="#root/_help_GLks18SNjxmC">Script API</a>.</p>
<h2>Custom resource provider</h2>
<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 spellcheck="false">customResourceProvider</code> (value
is again path regex).</p>
<p>For more information, see&nbsp;<a href="#root/_help_d3fAXQ2diepH">Custom Resource Providers</a>.</p>
<h2>Advanced concepts</h2>
-<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
+<p><code spellcheck="false">api.req</code> and <code spellcheck="false">api.res</code> are
+ Express.js objects - you can always look into its <a href="https://expressjs.com/en/api.html">documentation</a> for
details.</p>
<h3>Parameters</h3>
<p>REST request paths often contain parameters in the URL, e.g.:</p><pre><code class="language-text-x-trilium-auto">http://your-trilium-server/custom/notes/123</code></pre>
<p>The last part is dynamic so the matching of the URL must also be dynamic
- - for this reason the matching is done with regular expressions. Following <code>customRequestHandler</code> value
- would match it:</p><pre><code class="language-text-x-trilium-auto">notes/([0-9]+)</code></pre>
+ - for this reason the matching is done with regular expressions. Following
+ <code
+ spellcheck="false">customRequestHandler</code>value would match it:</p><pre><code class="language-text-x-trilium-auto">notes/([0-9]+)</code></pre>
<p>Additionally, this also defines a matching group with the use of parenthesis
which then makes it easier to extract the value. The matched groups are
- available in <code>api.pathParams</code>:</p><pre><code class="language-text-x-trilium-auto">const noteId = api.pathParams[0];</code></pre>
-<p>Often you also need query params (as in e.g. <code>http://your-trilium-server/custom/notes?noteId=123</code>),
- you can get those with standard express <code>req.query.noteId</code>.</p>
\ No newline at end of file
+ available in <code spellcheck="false">api.pathParams</code>:</p><pre><code class="language-text-x-trilium-auto">const noteId = api.pathParams[0];</code></pre>
+<p>Often you also need query params (as in e.g. <code spellcheck="false">http://your-trilium-server/custom/notes?noteId=123</code>),
+ you can get those with standard express <code spellcheck="false">req.query.noteId</code>.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Custom Resource Providers.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Custom Resource Providers.html
index e70528bd53..92a8ba67e8 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Custom Resource Providers.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Custom Resource Providers.html
@@ -6,26 +6,31 @@
<ol>
<li>Import a file such as an image or a font into Trilium by drag &amp; drop.</li>
<li>Select the file and go to the <em>Owned Attributes</em> section.</li>
- <li>Add the label <code>#customResourceProvider=hello</code>.</li>
- <li>To test if it is working, use a browser to navigate to <code>&lt;protocol&gt;://&lt;host&gt;/custom/hello</code> (where <code>&lt;protocol&gt;</code> is
- either <code>http</code> or <code>https</code> based on your setup, and <code>&lt;host&gt;</code> is
- the host or IP to your Trilium server instance). If you are running the
- TriliumNext application without a server, use <code>http://localhost:37840</code> as
- the base URL.</li>
+ <li>Add the label <code spellcheck="false">#customResourceProvider=hello</code>.</li>
+ <li>To test if it is working, use a browser to navigate to <code spellcheck="false">&lt;protocol&gt;://&lt;host&gt;/custom/hello</code> (where
+ <code
+ spellcheck="false">&lt;protocol&gt;</code>is either <code spellcheck="false">http</code> or
+ <code
+ spellcheck="false">https</code>based on your setup, and <code spellcheck="false">&lt;host&gt;</code> is
+ the host or IP to your Trilium server instance). If you are running the
+ TriliumNext application without a server, use <code spellcheck="false">http://localhost:37840</code> as
+ the base URL.</li>
<li>If everything went well, at the previous step the browser should have
downloaded the file uploaded in the first step.</li>
</ol>
-<p>Instead of <code>hello</code>, the name can be:</p>
+<p>Instead of <code spellcheck="false">hello</code>, the name can be:</p>
<ul>
- <li>A path, such as <code>fonts/Roboto.ttf</code>, which would be accessible
- via <code>&lt;host&gt;/custom/fonts/Roboto.ttf</code>.</li>
+ <li>A path, such as <code spellcheck="false">fonts/Roboto.ttf</code>, which
+ would be accessible via <code spellcheck="false">&lt;host&gt;/custom/fonts/Roboto.ttf</code>.</li>
<li>As a more advanced use case, a regular expression to match multiple routes,
- such as <code>hello/.*</code> which will be accessible via <code>/custom/hello/1</code>, <code>/custom/hello/2</code>, <code>/custom/hello/world</code>,
- etc.</li>
+ such as <code spellcheck="false">hello/.*</code> which will be accessible
+ via <code spellcheck="false">/custom/hello/1</code>, <code spellcheck="false">/custom/hello/2</code>,
+ <code
+ spellcheck="false">/custom/hello/world</code>, etc.</li>
</ul>
<h2>Using it in a theme</h2>
<p>For example, if you have a custom font to be imported by the theme, first
- upload a font file into Trilium and assign it the <code>#customResourceProvider=fonts/myfont.ttf</code> attribute.</p>
+ upload a font file into Trilium and assign it the <code spellcheck="false">#customResourceProvider=fonts/myfont.ttf</code> attribute.</p>
<p>Then modify the theme CSS to point to:</p><pre><code class="language-text-css">@font-face {
font-family: customFont;
src: url("/custom/fonts/myfont.ttf");
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Database.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Database.html
index 6bd4231955..8dab5f243b 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Database.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Database.html
@@ -1,7 +1,7 @@
<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.
- The database file is named <code>document.db</code> and is stored in the
- application's default&nbsp;<a href="#root/_help_tAassRL4RSQL">Data directory</a>.</p>
+ The database file is named <code spellcheck="false">document.db</code> and
+ is stored in the application's default&nbsp;<a href="#root/_help_tAassRL4RSQL">Data directory</a>.</p>
<h2>Demo Notes</h2>
<p>When first starting Trilium, it will provide a set of notes to showcase
various features of the application.</p>
@@ -19,9 +19,12 @@
the application, it will generate a new database containing the original
demo notes.</p>
<p>To delete the database, simply go to the <a href="#root/_help_tAassRL4RSQL">data directory</a> and
- delete the <code>document.db</code> file (and any other files starting with <code>document.db</code>).</p>
+ delete the <code spellcheck="false">document.db</code> file (and any other
+ files starting with <code spellcheck="false">document.db</code>).</p>
<p>If you do not need to preserve any configurations that might be stored
- in the <code>config.ini</code> file, you can just delete all of the <a href="#root/_help_tAassRL4RSQL">data directory's</a> contents
- to fully restore the application to its original state. You can also review
- the <a href="#root/_help_Gzjqa934BdH4">configuration</a> file to provide all <code>config.ini</code> values
- as environment variables instead.</p>
\ No newline at end of file
+ in the <code spellcheck="false">config.ini</code> file, you can just delete
+ all of the <a href="#root/_help_tAassRL4RSQL">data directory's</a> contents to
+ fully restore the application to its original state. You can also review
+ the <a href="#root/_help_Gzjqa934BdH4">configuration</a> file to provide all
+ <code
+ spellcheck="false">config.ini</code>values as environment variables instead.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Manually altering the database.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Manually altering the database.html
index f5abe37d1a..7adc164c1f 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Manually altering the database.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Manually altering the database.html
@@ -2,7 +2,7 @@
uses is desirable.</p>
<p>If you are doing any advanced development or troubleshooting where you
manually modify the database, you might want to consider creating backups
- of your <code>document.db</code> file.</p>
+ of your <code spellcheck="false">document.db</code> file.</p>
<h2>Modifying it internally using the SQL Console</h2>
<p>The SQL Console is Trilium's built-in database editor.</p>
<p>See&nbsp;<a class="reference-link" href="#root/_help_YKWqdJhzi2VY">SQL Console</a>.</p>
@@ -31,6 +31,8 @@
<h3>Using the SQLite CLI</h3>
<p>First, start the SQLite 3 CLI by specifying the path to the database:</p><pre><code class="language-text-x-trilium-auto">sqlite3 ~/.local/share/trilium-data/document.db</code></pre>
<ul>
- <li>In the prompt simply type the statement and make sure it ends with a <code>;</code> character.</li>
- <li>To exit, simply type <code>.quit</code> and enter.</li>
+ <li>In the prompt simply type the statement and make sure it ends with a
+ <code
+ spellcheck="false">;</code>character.</li>
+ <li>To exit, simply type <code spellcheck="false">.quit</code> and enter.</li>
</ul>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Default Note Title.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Default Note Title.html
index 35a783519a..730e709e08 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Default Note Title.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Default Note Title.html
@@ -1,7 +1,7 @@
<p>When a new note is created, its name is by default "new note". In some
cases, it can be desirable to have a different or even a dynamic default
note title.</p>
-<p>For this use case, Trilium (since v0.52) supports <code>#titleTemplate</code>
+<p>For this use case, Trilium (since v0.52) supports <code spellcheck="false">#titleTemplate</code>
<a
href="#root/_help_zEY4DaJG4YT5">label</a>. You can create such a label for a given note, assign it a value,
and this value will be used as a default title when creating child notes.
@@ -18,17 +18,17 @@
</ul>
</li>
</ul>
-<p>Now, to the parent note "2022 Books" you can assign label <code>#titleTemplate="[Author name]: [Book title], [Publication year]"</code>.</p>
+<p>Now, to the parent note "2022 Books" you can assign label <code spellcheck="false">#titleTemplate="[Author name]: [Book title], [Publication year]"</code>.</p>
<p>And all children of "2022 Books" will be created with initial title "[Author
name]: [Book title], [Publication year]". There's no artificial intelligence
here, the idea is to just prompt you to manually fill in the pieces of
information into the note title by yourself.</p>
<h2>Dynamic value</h2>
-<p>The value of <code>#titleTemplate</code> is evaluated at the point of note's
- creation as a JavaScript string, which means it can be enriched with the
- help of JS string interpolation with dynamic data.</p>
-<p>Second variable injected is <code>parentNote</code> which gives access to
- the parent <a href="#root/_help_habiZ3HU8Kw8"><code>FNote</code></a>.</p>
+<p>The value of <code spellcheck="false">#titleTemplate</code> is evaluated
+ at the point of note's creation as a JavaScript string, which means it
+ can be enriched with the help of JS string interpolation with dynamic data.</p>
+<p>Second variable injected is <code spellcheck="false">parentNote</code> which
+ gives access to the parent <a href="#root/_help_habiZ3HU8Kw8"><code spellcheck="false">FNote</code></a>.</p>
<p>See also&nbsp;<a class="reference-link" href="#root/_help_KC1HB96bqqHX">Templates</a>&nbsp;which
provides similar capabilities, including default note's content.</p>
<h3>Examples</h3>
@@ -42,13 +42,13 @@
<li>2022-05-15: Backup delay</li>
</ul>
</li>
- <li>You can automatize the date assignment by assigning a label <code>#titleTemplate="${now.format('YYYY-MM-DD')}: "</code> to
+ <li>You can automatize the date assignment by assigning a label <code spellcheck="false">#titleTemplate="${now.format('YYYY-MM-DD')}: "</code> to
the parent note "Incidents". Whenever a new child note is created, the
title template is evaluated with the injected <a href="https://day.js.org/docs/en/display/format">now</a> object.</li>
</ul>
</li>
- <li>To use a parent's attribute in the title of new notes: <code>#titleTemplate="${parentNote.getLabelValue('authorName')}'s literary works"</code>
+ <li>To use a parent's attribute in the title of new notes: <code spellcheck="false">#titleTemplate="${parentNote.getLabelValue('authorName')}'s literary works"</code>
</li>
- <li>To mirror the parent's note title: <code>${parentNote.title}</code>
+ <li>To mirror the parent's note title: <code spellcheck="false">${parentNote.title}</code>
</li>
</ul>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/ETAPI (REST API).html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/ETAPI (REST API).html
index 3a3c2fdf84..59fc50e4cf 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/ETAPI (REST API).html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/ETAPI (REST API).html
@@ -13,22 +13,26 @@
<h2>Obtaining a token</h2>
<p>All operations with the REST API have to be authenticated using a token.
You can get this token either from Options -&gt; ETAPI or programmatically
- using the <code>/auth/login</code> REST call (see the <a href="https://github.com/TriliumNext/Trilium/blob/master/src/etapi/etapi.openapi.yaml">spec</a>).</p>
+ using the <code spellcheck="false">/auth/login</code> REST call (see the
+ <a
+ href="https://github.com/TriliumNext/Trilium/blob/master/src/etapi/etapi.openapi.yaml">spec</a>).</p>
<h2>Authentication</h2>
-<h3>Via the <code>Authorization</code> header</h3><pre><code class="language-text-x-trilium-auto">GET https://myserver.com/etapi/app-info
+<h3>Via the <code spellcheck="false">Authorization</code> header</h3><pre><code class="language-text-x-trilium-auto">GET https://myserver.com/etapi/app-info
Authorization: ETAPITOKEN</code></pre>
-<p>where <code>ETAPITOKEN</code> is the token obtained in the previous step.</p>
+<p>where <code spellcheck="false">ETAPITOKEN</code> is the token obtained in
+ the previous step.</p>
<p>For compatibility with various tools, it's also possible to specify the
- value of the <code>Authorization</code> header in the format <code>Bearer ETAPITOKEN</code> (since
- 0.93.0).</p>
+ value of the <code spellcheck="false">Authorization</code> header in the
+ format <code spellcheck="false">Bearer ETAPITOKEN</code> (since 0.93.0).</p>
<h3>Basic authentication</h3>
<p>Since v0.56 you can also use basic auth format:</p><pre><code class="language-text-x-trilium-auto">GET https://myserver.com/etapi/app-info
Authorization: Basic BATOKEN</code></pre>
<ul>
- <li>Where <code>BATOKEN = BASE64(username + ':' + password)</code> - this is
- a standard Basic Auth serialization</li>
- <li>Where <code>username</code> is "etapi"</li>
- <li>And <code>password</code> is the generated ETAPI token described above.</li>
+ <li>Where <code spellcheck="false">BATOKEN = BASE64(username + ':' + password)</code> -
+ this is a standard Basic Auth serialization</li>
+ <li>Where <code spellcheck="false">username</code> is "etapi"</li>
+ <li>And <code spellcheck="false">password</code> is the generated ETAPI token
+ described above.</li>
</ul>
<p>Basic Auth is meant to be used with tools which support only basic auth.</p>
<h2>Interaction using Bash scripts</h2>
@@ -44,13 +48,13 @@ NOTE_ID="i6ra4ZshJhgN"
curl "$SERVER/etapi/notes/$NOTE_ID/content" -H "Authorization: $TOKEN" </code></pre>
<p>Make sure to replace the values of:</p>
<ul>
- <li><code>TOKEN</code> with your ETAPI token.</li>
- <li><code>SERVER</code> with the correct protocol, host name and port to your
- Trilium instance.</li>
- <li><code>NOTE_ID</code> with an existing note ID to download.</li>
+ <li><code spellcheck="false">TOKEN</code> with your ETAPI token.</li>
+ <li><code spellcheck="false">SERVER</code> with the correct protocol, host
+ name and port to your Trilium instance.</li>
+ <li><code spellcheck="false">NOTE_ID</code> with an existing note ID to download.</li>
</ul>
<p>As another example, to obtain a .zip export of a note and place it in
- a directory called <code>out</code>, simply replace the last statement in
- the script with:</p><pre><code class="language-text-x-trilium-auto">curl -H "Authorization: $TOKEN" \
+ a directory called <code spellcheck="false">out</code>, simply replace the
+ last statement in the script with:</p><pre><code class="language-text-x-trilium-auto">curl -H "Authorization: $TOKEN" \
-X GET "$SERVER/etapi/notes/$NOTE_ID/export" \
--output "out/$NOTE_ID.zip"</code></pre>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Metrics.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Metrics.html
index 1530da264c..40bb97ef71 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Metrics.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Metrics.html
@@ -2,9 +2,9 @@
Trilium instance, designed for external monitoring systems like Prometheus.</p>
<h2><strong>Endpoint</strong></h2>
<ul>
- <li><strong>URL</strong>: <code>/etapi/metrics</code>
+ <li><strong>URL</strong>: <code spellcheck="false">/etapi/metrics</code>
</li>
- <li><strong>Method</strong>: <code>GET</code>
+ <li><strong>Method</strong>: <code spellcheck="false">GET</code>
</li>
<li><strong>Authentication</strong>: ETAPI token required</li>
<li><strong>Default Format</strong>: Prometheus text format</li>
@@ -34,39 +34,50 @@ trilium_notes_total 1234 1701432000
<h2><strong>Available Metrics</strong></h2>
<h3><strong>Instance Information</strong></h3>
<ul>
- <li><code>trilium_info</code> - Version and build information with labels</li>
+ <li><code spellcheck="false">trilium_info</code> - Version and build information
+ with labels</li>
</ul>
<h3><strong>Database Metrics</strong></h3>
<ul>
- <li><code>trilium_notes_total</code> - Total notes (including deleted)</li>
- <li><code>trilium_notes_deleted</code> - Number of deleted notes</li>
- <li><code>trilium_notes_active</code> - Number of active notes</li>
- <li><code>trilium_notes_protected</code> - Number of protected notes</li>
- <li><code>trilium_attachments_total</code> - Total attachments</li>
- <li><code>trilium_attachments_active</code> - Active attachments</li>
- <li><code>trilium_revisions_total</code> - Total note revisions</li>
- <li><code>trilium_branches_total</code> - Active branches</li>
- <li><code>trilium_attributes_total</code> - Active attributes</li>
- <li><code>trilium_blobs_total</code> - Total blob records</li>
- <li><code>trilium_etapi_tokens_total</code> - Active ETAPI tokens</li>
- <li><code>trilium_embeddings_total</code> - Note embeddings (if available)</li>
+ <li><code spellcheck="false">trilium_notes_total</code> - Total notes (including
+ deleted)</li>
+ <li><code spellcheck="false">trilium_notes_deleted</code> - Number of deleted
+ notes</li>
+ <li><code spellcheck="false">trilium_notes_active</code> - Number of active
+ notes</li>
+ <li><code spellcheck="false">trilium_notes_protected</code> - Number of protected
+ notes</li>
+ <li><code spellcheck="false">trilium_attachments_total</code> - Total attachments</li>
+ <li><code spellcheck="false">trilium_attachments_active</code> - Active attachments</li>
+ <li><code spellcheck="false">trilium_revisions_total</code> - Total note revisions</li>
+ <li><code spellcheck="false">trilium_branches_total</code> - Active branches</li>
+ <li><code spellcheck="false">trilium_attributes_total</code> - Active attributes</li>
+ <li><code spellcheck="false">trilium_blobs_total</code> - Total blob records</li>
+ <li><code spellcheck="false">trilium_etapi_tokens_total</code> - Active ETAPI
+ tokens</li>
+ <li><code spellcheck="false">trilium_embeddings_total</code> - Note embeddings
+ (if available)</li>
</ul>
<h3><strong>Categorized Metrics</strong></h3>
<ul>
- <li><code>trilium_notes_by_type{type="text|code|image|file"}</code> - Notes
- by type</li>
- <li><code>trilium_attachments_by_type{mime_type="..."}</code> - Attachments
- by MIME type</li>
+ <li><code spellcheck="false">trilium_notes_by_type{type="text|code|image|file"}</code> -
+ Notes by type</li>
+ <li><code spellcheck="false">trilium_attachments_by_type{mime_type="..."}</code> -
+ Attachments by MIME type</li>
</ul>
<h3><strong>Statistics</strong></h3>
<ul>
- <li><code>trilium_database_size_bytes</code> - Database size in bytes</li>
- <li><code>trilium_oldest_note_timestamp</code> - Timestamp of oldest note</li>
- <li><code>trilium_newest_note_timestamp</code> - Timestamp of newest note</li>
- <li><code>trilium_last_modified_timestamp</code> - Last modification timestamp</li>
+ <li><code spellcheck="false">trilium_database_size_bytes</code> - Database
+ size in bytes</li>
+ <li><code spellcheck="false">trilium_oldest_note_timestamp</code> - Timestamp
+ of oldest note</li>
+ <li><code spellcheck="false">trilium_newest_note_timestamp</code> - Timestamp
+ of newest note</li>
+ <li><code spellcheck="false">trilium_last_modified_timestamp</code> - Last
+ modification timestamp</li>
</ul>
<h2><strong>Prometheus Configuration</strong></h2>
-<p>Add to your <code>prometheus.yml</code>:</p><pre><code class="language-text-x-trilium-auto">scrape_configs:
+<p>Add to your <code spellcheck="false">prometheus.yml</code>:</p><pre><code class="language-text-x-trilium-auto">scrape_configs:
- job_name: 'trilium'
static_configs:
- targets: ['localhost:8080']
@@ -76,9 +87,9 @@ trilium_notes_total 1234 1701432000
</code></pre>
<h2><strong>Error Responses</strong></h2>
<ul>
- <li><code>400</code> - Invalid format parameter</li>
- <li><code>401</code> - Missing or invalid ETAPI token</li>
- <li><code>500</code> - Internal server error</li>
+ <li><code spellcheck="false">400</code> - Invalid format parameter</li>
+ <li><code spellcheck="false">401</code> - Missing or invalid ETAPI token</li>
+ <li><code spellcheck="false">500</code> - Internal server error</li>
</ul>
<h2><strong>Grafana Dashboard</strong></h2>
<figure class="image">
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Nightly release.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Nightly release.html
index d3cdc2008c..b2bf30c816 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Nightly release.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Nightly release.html
@@ -9,8 +9,8 @@
feel free to report them either via a ticket or via the Matrix.</p>
<h2>Downloading the nightly release manually</h2>
<p>Go to <a href="https://github.com/TriliumNext/Trilium/releases/tag/nightly">github.com/TriliumNext/Trilium/releases/tag/nightly</a> and
- look for the artifacts starting with <code>TriliumNotes-main</code>. Choose
- the appropriate one for your platform (e.g. <code>windows-x64.zip</code>).</p>
+ look for the artifacts starting with <code spellcheck="false">TriliumNotes-main</code>.
+ Choose the appropriate one for your platform (e.g. <code spellcheck="false">windows-x64.zip</code>).</p>
<p>Depending on your use case, you can either test the portable version or
even use the installer.</p>
<aside class="admonition note">
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Read-only database.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Read-only database.html
index 6ab1833f57..e8894a1f4c 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Read-only database.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Read-only database.html
@@ -27,15 +27,16 @@
<ul>
<li>However, the database is still read-only, so all modifications will be
reset if the server is restarted.</li>
- <li>Whenever this occurs, <code>ERROR: read-only DB ignored</code> will be shown
- in the logs.</li>
+ <li>Whenever this occurs, <code spellcheck="false">ERROR: read-only DB ignored</code> will
+ be shown in the logs.</li>
</ul>
</li>
</ul>
<h2>Setting a database as read-only</h2>
<p>First, make sure the database is initialized (e.g. the first set up is
complete). Then modify the <a href="#root/_help_Gzjqa934BdH4">config.ini</a> by
- looking for the <code>[General]</code> section and adding a new <code>readOnly</code> field:</p><pre><code class="language-text-x-trilium-auto">[General]
+ looking for the <code spellcheck="false">[General]</code> section and adding
+ a new <code spellcheck="false">readOnly</code> field:</p><pre><code class="language-text-x-trilium-auto">[General]
readOnly=true</code></pre>
<p>If your server is already running, restart it to apply the changes.</p>
-<p>Similarly, to disable read-only remove the line or set it to <code>false</code>.</p>
\ No newline at end of file
+<p>Similarly, to disable read-only remove the line or set it to <code spellcheck="false">false</code>.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Safe mode.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Safe mode.html
index 87c50d2b78..8c630b5b4c 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Safe mode.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Safe mode.html
@@ -1,12 +1,19 @@
-<p>Safe mode is triggered by setting the <code>TRILIUM_SAFE_MODE</code> environment
- variable to a truthy value, usually <code>1</code>.</p>
-<p>In each artifact there is a <code>trilium-safe-mode.sh</code> (or <code>.bat</code>)
- script to enable it.</p>
+<p>Safe mode is triggered by setting the <code spellcheck="false">TRILIUM_SAFE_MODE</code> environment
+ variable to a truthy value, usually <code spellcheck="false">1</code>.</p>
+<p>In each artifact there is a <code spellcheck="false">trilium-safe-mode.sh</code> (or
+ <code
+ spellcheck="false">.bat</code>) script to enable it.</p>
<p>What it does:</p>
<ul>
- <li>Disables <code>customWidget</code> launcher types in <code>app/widgets/containers/launcher.js</code>.</li>
- <li>Disables the running of <code>mobileStartup</code> or <code>frontendStartup</code> scripts.</li>
+ <li>Disables <code spellcheck="false">customWidget</code> launcher types in
+ <code
+ spellcheck="false">app/widgets/containers/launcher.js</code>.</li>
+ <li>Disables the running of <code spellcheck="false">mobileStartup</code> or
+ <code
+ spellcheck="false">frontendStartup</code>scripts.</li>
<li>Displays the root note instead of the previously saved session.</li>
- <li>Disables the running of <code>backendStartup</code>, <code>hourly</code>, <code>daily</code> scripts
- and checks for the hidden subtree.</li>
+ <li>Disables the running of <code spellcheck="false">backendStartup</code>,
+ <code
+ spellcheck="false">hourly</code>, <code spellcheck="false">daily</code> scripts and checks
+ for the hidden subtree.</li>
</ul>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing.html
index af9f19b693..34371a7dd7 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing.html
@@ -182,7 +182,7 @@ class="image">
<h2>Sharing a note</h2>
<ol>
<li>
- <p><strong>Enable Sharing</strong>: To share a note, toggle the <code>Shared</code> switch
+ <p><strong>Enable Sharing</strong>: To share a note, toggle the <code spellcheck="false">Shared</code> switch
within the note's interface. Once sharing is enabled, an URL will appear,
which you can click to access the shared note.</p>
<p>
@@ -193,7 +193,7 @@ class="image">
<li>
<p><strong>Access the Shared Note</strong>: The link provided will open the
note in your browser. If your server is not configured with a public IP,
- the URL will refer to <code>localhost (127.0.0.1)</code>.</p>
+ the URL will refer to <code spellcheck="false">localhost (127.0.0.1)</code>.</p>
</li>
</ol>
<h2>Sharing a note subtree</h2>
@@ -222,9 +222,11 @@ class="image">
such as Nginx or Apache to serve static content.</li>
</ul>
<h3>Password protection</h3>
- <p>To protect shared notes with a username and password, you can use the <code>#shareCredentials</code> attribute.
- Add this label to the note with the format <code>#shareCredentials="username:password"</code>.
- To protect an entire subtree, make sure the label is <a href="#root/_help_bwZpz2ajCEwO">inheritable</a>.</p>
+ <p>To protect shared notes with a username and password, you can use the
+ <code
+ spellcheck="false">#shareCredentials</code>attribute. Add this label to the note with the
+ format <code spellcheck="false">#shareCredentials="username:password"</code>.
+ To protect an entire subtree, make sure the label is <a href="#root/_help_bwZpz2ajCEwO">inheritable</a>.</p>
<h2>Advanced sharing options</h2>
<h3>Customizing the appearance of shared notes</h3>
<p>The default design should be a good starting point, but you can customize
@@ -232,46 +234,52 @@ class="image">
<ul>
<li><strong>Custom CSS</strong>: Link a CSS&nbsp;<a class="reference-link"
href="#root/_help_6f9hih2hXXZk">Code</a>&nbsp;note to the shared page by adding
- a <code>~shareCss</code> relation to the note. If you want this style to
- apply to the entire subtree, make the label inheritable. You can hide the
- CSS code note from the tree navigation by adding the <code>#shareHiddenFromTree</code> label.</li>
+ a <code spellcheck="false">~shareCss</code> relation to the note. If you
+ want this style to apply to the entire subtree, make the label inheritable.
+ You can hide the CSS code note from the tree navigation by adding the
+ <code
+ spellcheck="false">#shareHiddenFromTree</code>label.</li>
<li><strong>Omitting Default CSS</strong>: For extensive styling changes,
- use the <code>#shareOmitDefaultCss</code> label to avoid conflicts with Trilium's
- <a
- href="#root/_help_Wy267RK4M69c">default stylesheet</a>.</li>
+ use the <code spellcheck="false">#shareOmitDefaultCss</code> label to avoid
+ conflicts with Trilium's <a href="#root/_help_Wy267RK4M69c">default stylesheet</a>.</li>
</ul>
<h3>Adding JavaScript</h3>
- <p>You can inject custom JavaScript into the shared note using the <code>~shareJs</code> relation.
+ <p>You can inject custom JavaScript into the shared note using the <code spellcheck="false">~shareJs</code> relation.
This allows you to access note attributes or traverse the note tree using
- the <code>fetchNote()</code> API, which retrieves note data based on its
- ID.</p>
+ the <code spellcheck="false">fetchNote()</code> API, which retrieves note
+ data based on its ID.</p>
<h3>Adding custom HTML</h3>
<p>You can inject custom HTML snippets into specific locations of the shared
- page using the <code>~shareHtml</code> relation. The HTML note should contain
- the raw HTML content you want to inject, and you can control where it appears
- by adding the <code>#shareHtmlLocation</code> label to the HTML snippet note
- itself.</p>
- <p>The <code>#shareHtmlLocation</code> label accepts values in the format <code>location:position</code>:</p>
+ page using the <code spellcheck="false">~shareHtml</code> relation. The HTML
+ note should contain the raw HTML content you want to inject, and you can
+ control where it appears by adding the <code spellcheck="false">#shareHtmlLocation</code> label
+ to the HTML snippet note itself.</p>
+ <p>The <code spellcheck="false">#shareHtmlLocation</code> label accepts values
+ in the format <code spellcheck="false">location:position</code>:</p>
<ul>
- <li><strong>Locations</strong>: <code>head</code>, <code>body</code>, <code>content</code>
+ <li><strong>Locations</strong>: <code spellcheck="false">head</code>,
+ <code
+ spellcheck="false">body</code>, <code spellcheck="false">content</code>
</li>
- <li><strong>Positions</strong>: <code>start</code>, <code>end</code>
+ <li><strong>Positions</strong>: <code spellcheck="false">start</code>,
+ <code
+ spellcheck="false">end</code>
</li>
</ul>
<p>For example:</p>
<ul>
- <li><code>#shareHtmlLocation=head:start</code> - Injects HTML at the beginning
- of the <code>&lt;head&gt;</code> section</li>
- <li><code>#shareHtmlLocation=head:end</code> - Injects HTML at the end of the <code>&lt;head&gt;</code> section
- (default)</li>
- <li><code>#shareHtmlLocation=body:start</code> - Injects HTML at the beginning
- of the <code>&lt;body&gt;</code> section</li>
- <li><code>#shareHtmlLocation=content:start</code> - Injects HTML at the beginning
- of the content area</li>
- <li><code>#shareHtmlLocation=content:end</code> - Injects HTML at the end of
- the content area</li>
+ <li><code spellcheck="false">#shareHtmlLocation=head:start</code> - Injects
+ HTML at the beginning of the <code spellcheck="false">&lt;head&gt;</code> section</li>
+ <li><code spellcheck="false">#shareHtmlLocation=head:end</code> - Injects HTML
+ at the end of the <code spellcheck="false">&lt;head&gt;</code> section (default)</li>
+ <li><code spellcheck="false">#shareHtmlLocation=body:start</code> - Injects
+ HTML at the beginning of the <code spellcheck="false">&lt;body&gt;</code> section</li>
+ <li><code spellcheck="false">#shareHtmlLocation=content:start</code> - Injects
+ HTML at the beginning of the content area</li>
+ <li><code spellcheck="false">#shareHtmlLocation=content:end</code> - Injects
+ HTML at the end of the content area</li>
</ul>
- <p>If no location is specified, the HTML will be injected at <code>content:end</code> by
+ <p>If no location is specified, the HTML will be injected at <code spellcheck="false">content:end</code> by
default.</p>
<p>Example:</p><pre><code class="language-application-javascript-env-backend">const currentNote = await fetchNote();
const parentNote = await fetchNote(currentNote.parentNoteIds[0]);
@@ -280,42 +288,47 @@ for (const attr of parentNote.attributes) {
console.log(attr.type, attr.name, attr.value);
}</code></pre>
<h3>Creating human-readable URL aliases</h3>
- <p>Shared notes typically have URLs like <code>http://domain.tld/share/knvU8aJy4dJ7</code>,
+ <p>Shared notes typically have URLs like <code spellcheck="false">http://domain.tld/share/knvU8aJy4dJ7</code>,
where the last part is the note's ID. You can make these URLs more user-friendly
- by adding the <code>#shareAlias</code> label to individual notes (e.g., <code>#shareAlias=highlighting</code>).
- This will change the URL to <code>http://domain.tld/share/highlighting</code>.</p>
+ by adding the <code spellcheck="false">#shareAlias</code> label to individual
+ notes (e.g., <code spellcheck="false">#shareAlias=highlighting</code>).
+ This will change the URL to <code spellcheck="false">http://domain.tld/share/highlighting</code>.</p>
<p><strong>Important</strong>:</p>
<ol>
<li>Ensure that aliases are unique.</li>
- <li>Using slashes (<code>/</code>) within aliases to create subpaths is not
- supported.</li>
+ <li>Using slashes (<code spellcheck="false">/</code>) within aliases to create
+ subpaths is not supported.</li>
</ol>
<aside class="admonition tip">
<ul>
<li>To easily identify pages that don't have a share alias, run a&nbsp;
<a
- class="reference-link" href="#root/_help_eIg8jdvaoNNd">Search</a>&nbsp;with <code>#!shareAlias</code>.</li>
+ class="reference-link" href="#root/_help_eIg8jdvaoNNd">Search</a>&nbsp;with <code spellcheck="false">#!shareAlias</code>.</li>
<li>To be able to enter the share alias faster, consider using&nbsp;<a class="reference-link"
- href="#root/_help_OFXdgB2nNk1F">Promoted Attributes</a>&nbsp;(for example <code>#label:shareAlias(inheritable)="promoted,alias=Slug,single,text"</code>).</li>
+ href="#root/_help_OFXdgB2nNk1F">Promoted Attributes</a>&nbsp;(for example
+ <code
+ spellcheck="false">#label:shareAlias(inheritable)="promoted,alias=Slug,single,text"</code>).</li>
</ul>
</aside>
<h3>Setting a custom favicon</h3>
- <p>To customize the favicon for your shared pages, create a relation <code>~shareFavicon</code> pointing
- to a file note containing the favicon (e.g., in <code>.ico</code> format).</p>
+ <p>To customize the favicon for your shared pages, create a relation
+ <code
+ spellcheck="false">~shareFavicon</code>pointing to a file note containing the favicon (e.g.,
+ in <code spellcheck="false">.ico</code> format).</p>
<h3>Sharing a note as the root</h3>
<p>You can designate a specific note or folder as the root of your shared
- content by adding the <code>#shareRoot</code> label. This note will be linked
- when visiting <code>[http://domain.tld/share](http://domain/share)</code>,
+ content by adding the <code spellcheck="false">#shareRoot</code> label. This
+ note will be linked when visiting <code spellcheck="false">[http://domain.tld/share](http://domain/share)</code>,
making it easier to use Trilium as a fully-fledged website.</p>
<aside class="admonition tip">
- <p>Consider combining this with the <code>#shareIndex</code> label, which will
- display a list of all shared notes.</p>
+ <p>Consider combining this with the <code spellcheck="false">#shareIndex</code> label,
+ which will display a list of all shared notes.</p>
</aside>
<h3>Displaying an index of shared notes</h3>
<p>When accessing a share, the sub-notes will be displayed in a tree on the
left. But since multiple note trees can be shared, it might be useful to
display a list of all the different share trees.</p>
- <p>To do so, create a shared text note and apply the <code>shareIndex</code> label.
+ <p>To do so, create a shared text note and apply the <code spellcheck="false">shareIndex</code> label.
When viewed, the list of shared roots will be displayed at the bottom of
the note.</p>
<h2>Attribute reference</h2>
@@ -419,23 +432,27 @@ for (const attr of parentNote.attributes) {
</thead>
<tbody>
<tr>
- <td><code>~shareLogo</code>
+ <td><code spellcheck="false">~shareLogo</code>
</td>
<td>Relation set to an image to use as logo. The image must be part of the
share tree (it can be hidden if needed).</td>
</tr>
<tr>
- <td><code>#shareLogoWidth</code>
+ <td><code spellcheck="false">#shareLogoWidth</code>
</td>
- <td>The width (in pixels, without unit) to set for the logo. Default is <code>53</code>.</td>
+ <td>The width (in pixels, without unit) to set for the logo. Default is
+ <code
+ spellcheck="false">53</code>.</td>
</tr>
<tr>
- <td><code>#shareLogoHeight</code>
+ <td><code spellcheck="false">#shareLogoHeight</code>
</td>
- <td>The height (in pixels, without unit) to set for the logo. Default is <code>40</code>.</td>
+ <td>The height (in pixels, without unit) to set for the logo. Default is
+ <code
+ spellcheck="false">40</code>.</td>
</tr>
<tr>
- <td><code>#shareRootLink</code>
+ <td><code spellcheck="false">#shareRootLink</code>
</td>
<td>URL to navigate to when the logo is pressed.</td>
</tr>
@@ -452,27 +469,27 @@ for (const attr of parentNote.attributes) {
</thead>
<tbody>
<tr>
- <td><code>#shareOpenGraphColor</code>
+ <td><code spellcheck="false">#shareOpenGraphColor</code>
</td>
- <td>This adjusts the <code>theme-color</code> meta-property.</td>
+ <td>This adjusts the <code spellcheck="false">theme-color</code> meta-property.</td>
</tr>
<tr>
- <td><code>#shareOpenGraphURL</code>
+ <td><code spellcheck="false">#shareOpenGraphURL</code>
</td>
- <td>This adjusts the <code>og:url</code> and <code>twitter:url</code> meta-properties.</td>
+ <td>This adjusts the <code spellcheck="false">og:url</code> and <code spellcheck="false">twitter:url</code> meta-properties.</td>
</tr>
<tr>
- <td><code>#shareOpenGraphDomain</code>
+ <td><code spellcheck="false">#shareOpenGraphDomain</code>
</td>
- <td>Adjusts the <code>twitter:domain</code> meta-property.</td>
+ <td>Adjusts the <code spellcheck="false">twitter:domain</code> meta-property.</td>
</tr>
<tr>
- <td><code>#shareOpenGraphImage</code>
- <br><code>~shareOpenGraphImage</code>
+ <td><code spellcheck="false">#shareOpenGraphImage</code>
+ <br><code spellcheck="false">~shareOpenGraphImage</code>
</td>
<td>Can be either a label, case in which the value is passed on as-is, or
it can be a relation to an image&nbsp;<a class="reference-link" href="#root/_help_W8vYD3Q1zjCR">File</a>.
- This controls the <code>og:image</code> meta-property.</td>
+ This controls the <code spellcheck="false">og:image</code> meta-property.</td>
</tr>
</tbody>
</table>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Exporting static HTML for web .html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Exporting static HTML for web .html
index f36ee6be74..15ff2cabae 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Exporting static HTML for web .html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Exporting static HTML for web .html
@@ -25,10 +25,10 @@
exporting to static HTML files comes with a few subtle differences:</p>
<ul>
<li>The URL structure is different. Where in normal sharing it's something
- along the way of <code>example.com/share/noteid</code>, the notes follow
- an hierarchical structure, such as <code>docs.triliumnotes.org/user-guide/concepts/navigation/tree-concepts</code>.</li>
- <li>The <code>favicon.ico</code> is not handled automatically, it needs to be
- manually added on the server after the export is generated.</li>
+ along the way of <code spellcheck="false">example.com/share/noteid</code>,
+ the notes follow an hierarchical structure, such as <code spellcheck="false">docs.triliumnotes.org/user-guide/concepts/navigation/tree-concepts</code>.</li>
+ <li>The <code spellcheck="false">favicon.ico</code> is not handled automatically,
+ it needs to be manually added on the server after the export is generated.</li>
<li>The “Last updated” for notes is not available.</li>
<li>The search functionality works slightly different since the normal one
requires an active API to work. In the static export, search still works
@@ -36,8 +36,8 @@
</ul>
<h2>Differences from normal .zip export</h2>
<ul>
- <li>The name of the files/URLs will prefer <code>shareAlias</code> to allow
- for clean URLs.</li>
+ <li>The name of the files/URLs will prefer <code spellcheck="false">shareAlias</code> to
+ allow for clean URLs.</li>
<li>The export requires a functional web server as the pages will not render
properly if accessed locally via a web browser due to the use of module
scripts.</li>
@@ -54,12 +54,12 @@
<h2>Testing locally</h2>
<p>As mentioned previously, the exported static pages require a website to
function. In order to test locally, a web server needs to be used.</p>
-<p>One example is to use the Node.js-based <a href="https://www.npmjs.com/package/http-server"><code>http-server</code></a> which
+<p>One example is to use the Node.js-based <a href="https://www.npmjs.com/package/http-server"><code spellcheck="false">http-server</code></a> which
can be installed via:</p><pre><code class="language-text-x-trilium-auto">npm i -g http-server</code></pre>
<p>Once installed simply:</p>
<ol>
<li>Extract the exported .zip file.</li>
- <li>Inside the extracted directory, run <code>http-server</code>.</li>
+ <li>Inside the extracted directory, run <code spellcheck="false">http-server</code>.</li>
<li>Access the indicated address (e.g. <a href="http://localhost:8080">http://localhost:8080</a>).</li>
</ol>
<h2>Automation</h2>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Reverse proxy configuration.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Reverse proxy configuration.html
index 5f1bafa0c8..9f1675e8fa 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Reverse proxy configuration.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Reverse proxy configuration.html
@@ -6,7 +6,7 @@
reverse_proxy /share http://localhost:8080/share
}</code></pre>
<p>This is for newer versions where the share functionality is isolated,
- for older versions it's required to also include <code>/assets</code>.<sup><a href="#fn2b8mg20aol8">[1]</a></sup>
+ for older versions it's required to also include <code spellcheck="false">/assets</code>.<sup><a href="#fn2b8mg20aol8">[1]</a></sup>
</p>
<ol>
<li>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Serving directly the content o.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Serving directly the content o.html
index f6ff0389a7..bcc7bc7e9f 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Serving directly the content o.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Serving directly the content o.html
@@ -24,12 +24,12 @@
</table>
<h2>By adding an attribute to the note</h2>
-<p>Simply add the <code>#shareRaw</code> attribute and the note will always
- be rendered <em>raw</em> when accessed from the share URL.</p>
+<p>Simply add the <code spellcheck="false">#shareRaw</code> attribute and the
+ note will always be rendered <em>raw</em> when accessed from the share URL.</p>
<h2>By altering the URL</h2>
-<p>Append <code>?raw</code> to the URL to display a note in its raw format
- regardless of whether the <code>#shareRaw</code> attribute is added on the
- note.</p>
+<p>Append <code spellcheck="false">?raw</code> to the URL to display a note
+ in its raw format regardless of whether the <code spellcheck="false">#shareRaw</code> attribute
+ is added on the note.</p>
<p>
<img src="Serving directly the conte.png">
</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used/CKEditor.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used/CKEditor.html
index b61a8e052d..080484470b 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used/CKEditor.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used/CKEditor.html
@@ -22,7 +22,7 @@
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
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 (<code>&lt;kbd&gt;</code>) 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 spellcheck="false">&lt;kbd&gt;</code>) to CKEditor 5.</a>
</li>
<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>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Templates.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Templates.html
index 1eb044617d..e81a0d5bc5 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Templates.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Templates.html
@@ -4,9 +4,9 @@
<ol>
<li><strong>Attribute Inheritance</strong>: All attributes from the template
note are <a href="#root/_help_bwZpz2ajCEwO">inherited</a> by the instance notes.
- Even attributes with <code>#isInheritable=false</code> are inherited by the
- instance notes, although only inheritable attributes are further inherited
- by the children of the instance notes.</li>
+ Even attributes with <code spellcheck="false">#isInheritable=false</code> are
+ inherited by the instance notes, although only inheritable attributes are
+ further inherited by the children of the instance notes.</li>
<li><strong>Content Duplication</strong>: The content of the template note
is copied to the instance note, provided the instance note is empty at
the time of template assignment.</li>
@@ -35,33 +35,38 @@
<img src="Templates_template-create-.png"
alt="show child note templates">
</p>
-<p>For the template to appear in the menu, the template note must have the <code>#template</code> label.
- Do not confuse this with the <code>~template</code> relation, which links
- the instance note to the template note. If you use <a href="#root/_help_9sRHySam5fXb">workspaces</a>,
- you can also mark templates with <code>#workspaceTemplate</code> to display
- them only in the workspace.</p>
+<p>For the template to appear in the menu, the template note must have the
+ <code
+ spellcheck="false">#template</code>label. Do not confuse this with the <code spellcheck="false">~template</code> relation,
+ which links the instance note to the template note. If you use <a href="#root/_help_9sRHySam5fXb">workspaces</a>,
+ you can also mark templates with <code spellcheck="false">#workspaceTemplate</code> to
+ display them only in the workspace.</p>
<p>Templates can also be added or changed after note creation by creating
- a <code>~template</code> relation pointing to the desired template note.&nbsp;</p>
-<p>To specify a template for child notes, you can use a <code>~child:template</code> relation
+ a <code spellcheck="false">~template</code> relation pointing to the desired
+ template note.&nbsp;</p>
+<p>To specify a template for child notes, you can use a <code spellcheck="false">~child:template</code> relation
pointing to the appropriate template note. There is no limit to the depth
- of the hierarchy — you can use <code>~child:child:template</code>, <code>~child:child:child:template</code>,
- and so on.</p>
+ of the hierarchy — you can use <code spellcheck="false">~child:child:template</code>,
+ <code
+ spellcheck="false">~child:child:child:template</code>, and so on.</p>
<aside class="admonition important">
<p>Changing the template hierarchy after the parent note is created will
not retroactively apply to newly created child notes.
- <br>For example, if you initially use <code>~child:template</code> and later
- switch to <code>~child:child:template</code>, it will not automatically
- apply the new template to the grandchild notes. Only the structure present
- at the time of note creation is considered.</p>
+ <br>For example, if you initially use <code spellcheck="false">~child:template</code> and
+ later switch to <code spellcheck="false">~child:child:template</code>, it
+ will not automatically apply the new template to the grandchild notes.
+ Only the structure present at the time of note creation is considered.</p>
</aside>
<h2>Additional Notes</h2>
-<p>From a visual perspective, templates can define <code>#iconClass</code> and <code>#cssClass</code> attributes,
- allowing all instance notes (e.g., books) to display a specific icon and
- CSS style.</p>
+<p>From a visual perspective, templates can define <code spellcheck="false">#iconClass</code> and
+ <code
+ spellcheck="false">#cssClass</code>attributes, allowing all instance notes (e.g., books)
+ to display a specific icon and CSS style.</p>
<p>Explore the concept further in the <a href="#root/_help_wX4HbRucYSDD">demo notes</a>,
including examples like the <a href="#root/_help_iRwzGnHPzonm">Relation Map</a>,
<a
href="#root/_help_xYjQUYhpbUEW">Task Manager</a>, and <a href="#root/_help_l0tKav7yLHGF">Day Notes</a>.</p>
<p>Additionally, see <a href="#root/_help_47ZrP6FNuoG8">default note title</a> for
creating title templates. Note templates and title templates can be combined
- by creating a <code>#titleTemplate</code> for a template note.</p>
\ No newline at end of file
+ by creating a <code spellcheck="false">#titleTemplate</code> for a template
+ note.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export.html
index 7bbfb1ab3d..a96b442c5a 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export.html
@@ -3,7 +3,9 @@
<li>HTML:
<ul>
<li>This is the main format used by Trilium, where standard tags are used
- to represent basic formatting and layout (e.g. <code>&lt;strong&gt;</code>, <code>&lt;table&gt;</code>, <code>&lt;pre&gt;</code>).</li>
+ to represent basic formatting and layout (e.g. <code spellcheck="false">&lt;strong&gt;</code>,
+ <code
+ spellcheck="false">&lt;table&gt;</code>, <code spellcheck="false">&lt;pre&gt;</code>).</li>
<li>Note that HTML is not a standardized format so some more specific features
such as admonitions or&nbsp;<a class="reference-link" href="#root/_help_hrZ1D00cLbal">Internal (reference) links</a>&nbsp;might
not be supported by other applications.</li>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Markdown/Supported syntax.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Markdown/Supported syntax.html
index 23cce355aa..8d34406ffb 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Markdown/Supported syntax.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Markdown/Supported syntax.html
@@ -13,7 +13,9 @@
<p>Trilium internal links (that mirror a note's title and display its icon)
are embedded as HTML in order to preserve the information on import.</p>
<h2>Math equations</h2>
-<p>Both inline and display equations are supported, using the <code>$</code> and <code>$$</code> syntaxes.</p>
+<p>Both inline and display equations are supported, using the <code spellcheck="false">$</code> and
+ <code
+ spellcheck="false">$$</code>syntaxes.</p>
<h2>Admonitions</h2>
<p>The Markdown syntax for admonitions as supported by Trilium is the one
that GitHub uses, which is as follows:</p><pre><code class="language-text-x-trilium-auto">&gt; [!NOTE]
@@ -28,14 +30,17 @@
&gt; [!CAUTION]
&gt; This is a caution.</code></pre>
<p>There are currently no plans of supporting alternative admonition syntaxes
- such as <code>!!! note</code>.</p>
+ such as <code spellcheck="false">!!! note</code>.</p>
<h2>Wikilinks</h2>
<p>Basic support for wikilinks has been added in v0.96.0:</p>
<ul>
- <li><code>[[foo/bar]]</code> will look for the <code>bar.md</code> file in the <code>foo</code> directory
- and turn it into an internal link.</li>
- <li><code>![[foo/baz.png]]</code> will look for the <code>baz.png</code> file
- in the <code>foo</code> directory and turn it into an image.</li>
+ <li><code spellcheck="false">[[foo/bar]]</code> will look for the <code spellcheck="false">bar.md</code> file
+ in the <code spellcheck="false">foo</code> directory and turn it into an
+ internal link.</li>
+ <li><code spellcheck="false">![[foo/baz.png]]</code> will look for the
+ <code
+ spellcheck="false">baz.png</code>file in the <code spellcheck="false">foo</code> directory
+ and turn it into an image.</li>
</ul>
<p>This feature is import-only, which means that it will turn wikilinks into
Trilium-compatible syntax, but it will not export Trilium Notes into Markdown
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/OneNote.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/OneNote.html
index 429a2cb671..4dd694e0c4 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/OneNote.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/OneNote.html
@@ -38,7 +38,8 @@
<p>If the Onenote header (that is at the top of each Onenote page) is not
desired, you can use the following regex to remove them in a text editor
like VsCode:</p>
- <p>Find (using regex): <code>.&lt;div.*&gt;&lt;h1</code> Replace with: <code>&lt;h1</code>
+ <p>Find (using regex): <code spellcheck="false">.&lt;div.*&gt;&lt;h1</code> Replace
+ with: <code spellcheck="false">&lt;h1</code>
</p>
</li>
</ul>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts.html
index 322b6d808a..01149b123c 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts.html
@@ -2,9 +2,9 @@
some of these may work only in certain contexts (e.g. in tree pane or note
editor).</p>
<p>It is also possible to configure most keyboard shortcuts in Options -&gt;
- Keyboard shortcuts. Using <code>global:</code> prefix, you can assign a shortcut
- which will work even without Trilium being in focus (requires app restart
- to take effect).</p>
+ Keyboard shortcuts. Using <code spellcheck="false">global:</code> prefix,
+ you can assign a shortcut which will work even without Trilium being in
+ focus (requires app restart to take effect).</p>
<h2>Tree</h2>
<p>See the corresponding section:&nbsp;<a class="reference-link" href="#root/_help_DvdZhoQZY9Yd">Keyboard shortcuts</a>
</p>
@@ -20,7 +20,7 @@
<li><kbd>Alt</kbd> + <kbd>C</kbd> – collapse whole note tree</li>
<li><kbd>Alt</kbd> + <kbd>-</kbd> (alt with minus sign) – collapse subtree (if
some subtree takes too much space on tree pane you can collapse it)</li>
- <li>you can define a <a href="#root/_help_zEY4DaJG4YT5">label</a> <code>#keyboardShortcut</code> with
+ <li>you can define a <a href="#root/_help_zEY4DaJG4YT5">label</a> <code spellcheck="false">#keyboardShortcut</code> with
e.g. value <kbd>Ctrl</kbd> + <kbd>I</kbd> . Pressing this keyboard combination
will then bring you to the note on which it is defined. Note that Trilium
must be reloaded/restarted (<kbd>Ctrl</kbd> + <kbd>R</kbd> ) for changes to
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Bookmarks.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Bookmarks.html
index 494dbaf2b8..3693756271 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Bookmarks.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Bookmarks.html
@@ -8,5 +8,5 @@
<p>
<img src="Bookmarks_bookmark-folder.png">
</p>
-<p>To do this, you need to add a <code>#bookmarkFolder</code> label to the
- note.</p>
\ No newline at end of file
+<p>To do this, you need to add a <code spellcheck="false">#bookmarkFolder</code> label
+ to the note.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Jump to.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Jump to.html
index 6cb1b8ed8d..fd4bceacee 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Jump to.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Jump to.html
@@ -28,9 +28,9 @@
<h2>Recent notes</h2>
<p>Jump to note also has the ability to show the list of recently viewed
/ edited notes and quickly jump to it.</p>
-<p>To access this functionality, click on <code>Jump to</code> button on the
- top. By default, (when nothing is entered into autocomplete), this dialog
- will show the list of recent notes.</p>
+<p>To access this functionality, click on <code spellcheck="false">Jump to</code> button
+ on the top. By default, (when nothing is entered into autocomplete), this
+ dialog will show the list of recent notes.</p>
<p>Alternatively you can click on the "time" icon on the right.</p>
<h2>Command Palette</h2>
<figure class="image image-style-align-center">
@@ -46,8 +46,8 @@
<ul>
<li>Press <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>J</kbd> to display the command
palette directly.</li>
- <li>If in the “Jump to” dialog, type <code>&gt;</code> in the search to switch
- to the command palette.</li>
+ <li>If in the “Jump to” dialog, type <code spellcheck="false">&gt;</code> in
+ the search to switch to the command palette.</li>
</ul>
<p>Interaction:</p>
<ul>
@@ -57,7 +57,8 @@
</ul>
<p>To exit the command palette:</p>
<ul>
- <li>Remove the <code>&gt;</code> in the search to go back to the note search.</li>
+ <li>Remove the <code spellcheck="false">&gt;</code> in the search to go back
+ to the note search.</li>
<li>Press <kbd>Esc</kbd> to dismiss the dialog entirely.</li>
</ul>
<h3>Options available</h3>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Note Navigation.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Note Navigation.html
index 7b999c53b3..620702e83f 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Note Navigation.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Note Navigation.html
@@ -9,8 +9,10 @@
<img src="Note Navigation_image.png">
</p>
<h2>Jump to note</h2>
-<p>This is useful to quickly find and view arbitrary notes - click on <code>Jump to</code> button
- on the top or press <kbd>Ctrl</kbd> + <kbd>J</kbd> . Then type part of the
- note name and autocomplete will help you pick the desired note.</p>
+<p>This is useful to quickly find and view arbitrary notes - click on
+ <code
+ spellcheck="false">Jump to</code>button on the top or press <kbd>Ctrl</kbd> + <kbd>J</kbd> .
+ Then type part of the note name and autocomplete will help you pick the
+ desired note.</p>
<p>See&nbsp;<a class="reference-link" href="#root/_help_F1r9QtzQLZqm">Jump to Note</a>&nbsp;for
more information.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Quick search.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Quick search.html
index 7f70624d7a..5bbc5dca95 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Quick search.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Quick search.html
@@ -52,9 +52,9 @@
</ol>
<h3>Keyboard Navigation</h3>
<ul>
- <li>Press <code>Enter</code> to open the first result</li>
+ <li>Press <code spellcheck="false">Enter</code> to open the first result</li>
<li>Use arrow keys to navigate through results</li>
- <li>Press <code>Escape</code> to close the quick search</li>
+ <li>Press <code spellcheck="false">Escape</code> to close the quick search</li>
</ul>
<h2>Using Quick Search</h2>
<ol>
@@ -66,23 +66,24 @@
<li><strong>Match locations</strong>: Bold text indicates where matches occur</li>
</ol>
<h2>Quick Search - Exact Match Operator</h2>
-<p>Quick Search now supports the exact match operator (<code>=</code>) at
- the beginning of your search query. This allows you to search for notes
+<p>Quick Search now supports the exact match operator (<code spellcheck="false">=</code>)
+ at the beginning of your search query. This allows you to search for notes
where the title or content exactly matches your search term, rather than
just containing it.</p>
<h3>Usage</h3>
<p>To use exact match in Quick Search:</p>
<ol>
- <li>Start your search query with the <code>=</code> operator</li>
- <li>Follow it immediately with your search term (no space after <code>=</code>)</li>
+ <li>Start your search query with the <code spellcheck="false">=</code> operator</li>
+ <li>Follow it immediately with your search term (no space after <code spellcheck="false">=</code>)</li>
</ol>
<h4>Examples</h4>
<ul>
- <li><code>=example</code> - Finds notes with title exactly "example" or content
- exactly "example"</li>
- <li><code>=Project Plan</code> - Finds notes with title exactly "Project Plan"
- or content exactly "Project Plan"</li>
- <li><code>='hello world'</code> - Use quotes for multi-word exact matches</li>
+ <li><code spellcheck="false">=example</code> - Finds notes with title exactly
+ "example" or content exactly "example"</li>
+ <li><code spellcheck="false">=Project Plan</code> - Finds notes with title
+ exactly "Project Plan" or content exactly "Project Plan"</li>
+ <li><code spellcheck="false">='hello world'</code> - Use quotes for multi-word
+ exact matches</li>
</ul>
<h4>Comparison with Regular Search</h4>
<table>
@@ -94,12 +95,12 @@
</thead>
<tbody>
<tr>
- <td><code>example</code>
+ <td><code spellcheck="false">example</code>
</td>
<td>Finds all notes containing "example" anywhere in title or content</td>
</tr>
<tr>
- <td><code>=example</code>
+ <td><code spellcheck="false">=example</code>
</td>
<td>Finds only notes where the title equals "example" or content equals "example"
exactly</td>
@@ -108,7 +109,7 @@
</table>
<h3>Technical Details</h3>
-<p>When you use the <code>=</code> operator:</p>
+<p>When you use the <code spellcheck="false">=</code> operator:</p>
<ul>
<li>The search performs an exact match on note titles</li>
<li>For note content, it looks for exact matches of the entire content</li>
@@ -117,11 +118,12 @@
</ul>
<h3>Limitations</h3>
<ul>
- <li>The <code>=</code> operator must be at the very beginning of the search
- query</li>
- <li>Spaces after <code>=</code> will treat it as a regular search</li>
- <li>Multiple <code>=</code> operators (like <code>==example</code>) are treated
- as regular text search</li>
+ <li>The <code spellcheck="false">=</code> operator must be at the very beginning
+ of the search query</li>
+ <li>Spaces after <code spellcheck="false">=</code> will treat it as a regular
+ search</li>
+ <li>Multiple <code spellcheck="false">=</code> operators (like <code spellcheck="false">==example</code>)
+ are treated as regular text search</li>
</ul>
<h3>Use Cases</h3>
<p>This feature is particularly useful when:</p>
@@ -134,8 +136,9 @@
<h3>Related Features</h3>
<ul>
<li>For more complex exact matching queries, use the full <a href="#root/_help_eIg8jdvaoNNd">Search</a> functionality</li>
- <li>For fuzzy matching (finding results despite typos), use the <code>~=</code> operator
+ <li>For fuzzy matching (finding results despite typos), use the <code spellcheck="false">~=</code> operator
in the full search</li>
- <li>For partial matches with wildcards, use operators like <code>*=*</code>, <code>=*</code>,
- or <code>*=</code> in the full search</li>
+ <li>For partial matches with wildcards, use operators like <code spellcheck="false">*=*</code>,
+ <code
+ spellcheck="false">=*</code>, or <code spellcheck="false">*=</code> in the full search</li>
</ul>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Search in note.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Search in note.html
index 06eb1130f2..34e680ab4b 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Search in note.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Search in note.html
@@ -40,9 +40,9 @@
<li>Options:
<ul>
<li><em>Case sensitive</em> – the search will distinguish upper case characters
- from lower case (e.g. searching for Hello will not match <code>hello</code>).</li>
+ from lower case (e.g. searching for Hello will not match <code spellcheck="false">hello</code>).</li>
<li><em>Match words</em> - the search will find only exact word matches (e.g.
- searching for <code>Java</code> will not match <code>JavaScript</code>).</li>
+ searching for <code spellcheck="false">Java</code> will not match <code spellcheck="false">JavaScript</code>).</li>
</ul>
</li>
</ul>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Search.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Search.html
index 0911a8b6cb..74b8abec8e 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Search.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Search.html
@@ -118,47 +118,51 @@
</ol>
<h3>Simple Note Search Examples</h3>
<ul>
- <li><code>rings tolkien</code>: Full-text search to find notes containing
- both "rings" and "tolkien".</li>
- <li><code>"The Lord of the Rings" Tolkien</code>: Full-text search where "The
- Lord of the Rings" must match exactly.</li>
- <li><code>note.content *=* rings OR note.content *=* tolkien</code>: Find
- notes containing "rings" or "tolkien" in their content.</li>
- <li><code>towers #book</code>: Combine full-text and attribute search to find
- notes containing "towers" and having the "book" label.</li>
- <li><code>towers #book or #author</code>: Search for notes containing "towers"
- and having either the "book" or "author" label.</li>
- <li><code>towers #!book</code>: Search for notes containing "towers" and not
- having the "book" label.</li>
- <li><code>#book #publicationYear = 1954</code>: Find notes with the "book"
- label and "publicationYear" set to 1954.</li>
- <li><code>#genre *=* fan</code>: Find notes with the "genre" label containing
- the substring "fan". Additional operators include <code>*=*</code> for "contains", <code>=*</code> for
- "starts with", <code>*=</code> for "ends with", and <code>!=</code> for "is
- not equal to".</li>
- <li><code>#book #publicationYear &gt;= 1950 #publicationYear &lt; 1960</code>:
+ <li><code spellcheck="false">rings tolkien</code>: Full-text search to find
+ notes containing both "rings" and "tolkien".</li>
+ <li><code spellcheck="false">"The Lord of the Rings" Tolkien</code>: Full-text
+ search where "The Lord of the Rings" must match exactly.</li>
+ <li><code spellcheck="false">note.content *=* rings OR note.content *=* tolkien</code>:
+ Find notes containing "rings" or "tolkien" in their content.</li>
+ <li><code spellcheck="false">towers #book</code>: Combine full-text and attribute
+ search to find notes containing "towers" and having the "book" label.</li>
+ <li><code spellcheck="false">towers #book or #author</code>: Search for notes
+ containing "towers" and having either the "book" or "author" label.</li>
+ <li><code spellcheck="false">towers #!book</code>: Search for notes containing
+ "towers" and not having the "book" label.</li>
+ <li><code spellcheck="false">#book #publicationYear = 1954</code>: Find notes
+ with the "book" label and "publicationYear" set to 1954.</li>
+ <li><code spellcheck="false">#genre *=* fan</code>: Find notes with the "genre"
+ label containing the substring "fan". Additional operators include
+ <code
+ spellcheck="false">*=*</code>for "contains", <code spellcheck="false">=*</code> for "starts
+ with", <code spellcheck="false">*=</code> for "ends with", and <code spellcheck="false">!=</code> for
+ "is not equal to".</li>
+ <li><code spellcheck="false">#book #publicationYear &gt;= 1950 #publicationYear &lt; 1960</code>:
Use numeric operators to find all books published in the 1950s.</li>
- <li><code>#dateNote &gt;= TODAY-30</code>: Find notes with the "dateNote"
- label within the last 30 days. Supported date values include NOW +- seconds,
- TODAY +- days, MONTH +- months, YEAR +- years.</li>
- <li><code>~author.title *=* Tolkien</code>: Find notes related to an author
- whose title contains "Tolkien".</li>
- <li><code>#publicationYear %= '19[0-9]{2}'</code>: Use the '%=' operator to
- match a regular expression (regex). This feature has been available since
- Trilium 0.52.</li>
- <li><code>note.content %= '\\d{2}:\\d{2} (PM|AM)'</code>: Find notes that
- mention a time. Backslashes in a regex must be escaped.</li>
+ <li><code spellcheck="false">#dateNote &gt;= TODAY-30</code>: Find notes with
+ the "dateNote" label within the last 30 days. Supported date values include
+ NOW +- seconds, TODAY +- days, MONTH +- months, YEAR +- years.</li>
+ <li><code spellcheck="false">~author.title *=* Tolkien</code>: Find notes
+ related to an author whose title contains "Tolkien".</li>
+ <li><code spellcheck="false">#publicationYear %= '19[0-9]{2}'</code>: Use
+ the '%=' operator to match a regular expression (regex). This feature has
+ been available since Trilium 0.52.</li>
+ <li><code spellcheck="false">note.content %= '\\d{2}:\\d{2} (PM|AM)'</code>:
+ Find notes that mention a time. Backslashes in a regex must be escaped.</li>
</ul>
<h3>Fuzzy Search</h3>
<p>Trilium supports fuzzy search operators that find results with typos or
spelling variations:</p>
<ul>
- <li><code>#title ~= trilim</code>: Fuzzy exact match - finds notes with titles
- like "Trilium" even if you typed "trilim" (with typo)</li>
- <li><code>#content ~* progra</code>: Fuzzy contains match - finds notes containing
- words like "program", "programmer", "programming" even with slight misspellings</li>
- <li><code>note.content ~* develpment</code>: Will find notes containing "development"
- despite the typo</li>
+ <li><code spellcheck="false">#title ~= trilim</code>: Fuzzy exact match -
+ finds notes with titles like "Trilium" even if you typed "trilim" (with
+ typo)</li>
+ <li><code spellcheck="false">#content ~* progra</code>: Fuzzy contains match
+ - finds notes containing words like "program", "programmer", "programming"
+ even with slight misspellings</li>
+ <li><code spellcheck="false">note.content ~* develpment</code>: Will find
+ notes containing "development" despite the typo</li>
</ul>
<p><strong>Important notes about fuzzy search:</strong>
</p>
@@ -171,8 +175,8 @@
</ul>
<h3>Advanced Use Cases</h3>
<ul>
- <li><code>~author.relations.son.title = 'Christopher Tolkien'</code>: Search
- for notes with an "author" relation to a note that has a "son" relation
+ <li><code spellcheck="false">~author.relations.son.title = 'Christopher Tolkien'</code>:
+ Search for notes with an "author" relation to a note that has a "son" relation
to "Christopher Tolkien". This can be modeled with the following note structure:
<ul>
<li>Books
@@ -197,30 +201,52 @@
</li>
</ul>
</li>
- <li><code>~author.title *= Tolkien OR (#publicationDate &gt;= 1954 AND #publicationDate &lt;= 1960)</code>:
+ <li><code spellcheck="false">~author.title *= Tolkien OR (#publicationDate &gt;= 1954 AND #publicationDate &lt;= 1960)</code>:
Use boolean expressions and parentheses to group expressions. Note that
expressions starting with a parenthesis need an "expression separator sign"
(# or ~) prepended.</li>
- <li><code>note.parents.title = 'Books'</code>: Find notes with a parent named
- "Books".</li>
- <li><code>note.parents.parents.title = 'Books'</code>: Find notes with a grandparent
- named "Books".</li>
- <li><code>note.ancestors.title = 'Books'</code>: Find notes with an ancestor
- named "Books".</li>
- <li><code>note.children.title = 'sub-note'</code>: Find notes with a child
- named "sub-note".</li>
+ <li><code spellcheck="false">note.parents.title = 'Books'</code>: Find notes
+ with a parent named "Books".</li>
+ <li><code spellcheck="false">note.parents.parents.title = 'Books'</code>:
+ Find notes with a grandparent named "Books".</li>
+ <li><code spellcheck="false">note.ancestors.title = 'Books'</code>: Find notes
+ with an ancestor named "Books".</li>
+ <li><code spellcheck="false">note.children.title = 'sub-note'</code>: Find
+ notes with a child named "sub-note".</li>
</ul>
<h3>Search with Note Properties</h3>
-<p>Notes have properties that can be used in searches, such as <code>noteId</code>, <code>dateModified</code>, <code>dateCreated</code>, <code>isProtected</code>, <code>type</code>, <code>title</code>, <code>text</code>, <code>content</code>, <code>rawContent</code>, <code>ownedLabelCount</code>, <code>labelCount</code>, <code>ownedRelationCount</code>, <code>relationCount</code>, <code>ownedRelationCountIncludingLinks</code>, <code>relationCountIncludingLinks</code>, <code>ownedAttributeCount</code>, <code>attributeCount</code>, <code>targetRelationCount</code>, <code>targetRelationCountIncludingLinks</code>, <code>parentCount</code>, <code>childrenCount</code>, <code>isArchived</code>, <code>contentSize</code>, <code>noteSize</code>,
- and <code>revisionCount</code>.</p>
-<p>These properties can be accessed via the <code>note.</code> prefix, e.g., <code>note.type = code AND note.mime = 'application/json'</code>.</p>
+<p>Notes have properties that can be used in searches, such as <code spellcheck="false">noteId</code>,
+ <code
+ spellcheck="false">dateModified</code>, <code spellcheck="false">dateCreated</code>,
+ <code
+ spellcheck="false">isProtected</code>, <code spellcheck="false">type</code>, <code spellcheck="false">title</code>,
+ <code
+ spellcheck="false">text</code>, <code spellcheck="false">content</code>, <code spellcheck="false">rawContent</code>,
+ <code
+ spellcheck="false">ownedLabelCount</code>, <code spellcheck="false">labelCount</code>,
+ <code
+ spellcheck="false">ownedRelationCount</code>, <code spellcheck="false">relationCount</code>,
+ <code
+ spellcheck="false">ownedRelationCountIncludingLinks</code>, <code spellcheck="false">relationCountIncludingLinks</code>,
+ <code
+ spellcheck="false">ownedAttributeCount</code>, <code spellcheck="false">attributeCount</code>,
+ <code
+ spellcheck="false">targetRelationCount</code>, <code spellcheck="false">targetRelationCountIncludingLinks</code>,
+ <code
+ spellcheck="false">parentCount</code>, <code spellcheck="false">childrenCount</code>,
+ <code
+ spellcheck="false">isArchived</code>, <code spellcheck="false">contentSize</code>, <code spellcheck="false">noteSize</code>,
+ and <code spellcheck="false">revisionCount</code>.</p>
+<p>These properties can be accessed via the <code spellcheck="false">note.</code> prefix,
+ e.g., <code spellcheck="false">note.type = code AND note.mime = 'application/json'</code>.</p>
<h3>Order by and Limit</h3><pre><code class="language-text-x-trilium-auto">#author=Tolkien orderBy #publicationDate desc, note.title limit 10</code></pre>
<p>This example will:</p>
<ol>
<li>Find notes with the author label "Tolkien".</li>
- <li>Order the results by <code>publicationDate</code> in descending order.</li>
- <li>Use <code>note.title</code> as a secondary ordering if publication dates
- are equal.</li>
+ <li>Order the results by <code spellcheck="false">publicationDate</code> in
+ descending order.</li>
+ <li>Use <code spellcheck="false">note.title</code> as a secondary ordering if
+ publication dates are equal.</li>
<li>Limit the results to the first 10 notes.</li>
</ol>
<h3>Negation</h3>
@@ -267,11 +293,11 @@
#author.title *=* Tolkien</code></pre>
<h3>Separating Full-Text and Attribute Parts</h3>
<p>Search syntax allows combining full-text search with attribute-based search.
- For example, <code>tolkien #book</code> contains:</p>
+ For example, <code spellcheck="false">tolkien #book</code> contains:</p>
<ol>
- <li>Full-text tokens - <code>tolkien</code>
+ <li>Full-text tokens - <code spellcheck="false">tolkien</code>
</li>
- <li>Attribute expressions - <code>#book</code>
+ <li>Attribute expressions - <code spellcheck="false">#book</code>
</li>
</ol>
<p>Trilium detects the separation between full text search and attribute/property
@@ -288,13 +314,13 @@
<p>Three types of quotes are supported: single, double, and backtick.</p>
<h3>Type Coercion</h3>
<p>Label values are technically strings but can be coerced for numeric comparisons:</p><pre><code class="language-text-x-trilium-auto">note.dateCreated =* '2019-05'</code></pre>
-<p>This finds notes created in May 2019. Numeric operators like <code>#publicationYear &gt;= 1960</code> convert
+<p>This finds notes created in May 2019. Numeric operators like <code spellcheck="false">#publicationYear &gt;= 1960</code> convert
string values to numbers for comparison.</p>
<h2>Auto-Trigger Search from URL</h2>
<p>You can open Trilium and automatically trigger a search by including the
search <a href="https://meyerweb.com/eric/tools/dencoder/">url encoded</a> string
in the URL:</p>
-<p><code>http://localhost:8080/#?searchString=abc</code>
+<p><code spellcheck="false">http://localhost:8080/#?searchString=abc</code>
</p>
<h2>Search Configuration</h2>
<h3>Parameters</h3>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Tree Concepts.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Tree Concepts.html
index b7d39b9e67..1f6c75cf2d 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Tree Concepts.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Tree Concepts.html
@@ -4,8 +4,9 @@
<p>A note is the central entity in TriliumNext. For more details, see <a href="#root/_help_BFs8mudNFgCS">Note</a>.</p>
<h2>Branch</h2>
<p>A branch describes the placement of a note within the note tree. Essentially,
- it is a tuple of <code>parentNoteId</code> and <code>noteId</code>, indicating
- that the given note is placed as a child under the specified parent note.</p>
+ it is a tuple of <code spellcheck="false">parentNoteId</code> and <code spellcheck="false">noteId</code>,
+ indicating that the given note is placed as a child under the specified
+ parent note.</p>
<p>Each note can have multiple branches, meaning any note can be placed in
multiple locations within the tree. This concept is referred to as "
<a
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces.html
index 6c17068e5f..0e1a70658e 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces.html
@@ -32,44 +32,44 @@
</thead>
<tbody>
<tr>
- <td><code>workspace</code>
+ <td><code spellcheck="false">workspace</code>
</td>
<td>Marks this note as a workspace, button to enter the workspace is controlled
by this</td>
</tr>
<tr>
- <td><code>workspaceIconClass</code>
+ <td><code spellcheck="false">workspaceIconClass</code>
</td>
<td>defines box icon CSS class which will be used in tab when hoisted to this
note</td>
</tr>
<tr>
- <td><code>workspaceTabBackgroundColor</code>
+ <td><code spellcheck="false">workspaceTabBackgroundColor</code>
</td>
<td>CSS color used in the note tab when hoisted to this note, use any CSS
color format, e.g. "lightblue" or "#ddd". See <a href="https://www.w3schools.com/cssref/css_colors.asp">https://www.w3schools.com/cssref/css_colors.asp</a>.</td>
</tr>
<tr>
- <td><code>workspaceCalendarRoot</code>
+ <td><code spellcheck="false">workspaceCalendarRoot</code>
</td>
<td>Marking a note with this label will define a new per-workspace calendar
for&nbsp;<a class="reference-link" href="#root/_help_l0tKav7yLHGF">Day Notes</a>.
If there's no such note, the global calendar will be used.</td>
</tr>
<tr>
- <td><code>workspaceTemplate</code>
+ <td><code spellcheck="false">workspaceTemplate</code>
</td>
<td>This note will appear in the selection of available template when creating
new note, but only when hoisted into a workspace containing this template</td>
</tr>
<tr>
- <td><code>workspaceSearchHome</code>
+ <td><code spellcheck="false">workspaceSearchHome</code>
</td>
<td>new search notes will be created as children of this note when hoisted
to some ancestor of this workspace note</td>
</tr>
<tr>
- <td><code>workspaceInbox</code>
+ <td><code spellcheck="false">workspaceInbox</code>
</td>
<td>default inbox location for new notes when hoisted to some ancestor of
this workspace note</td>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Archived Notes.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Archived Notes.html
index 21b42f2f0a..80216a350b 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Archived Notes.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Archived Notes.html
@@ -1,5 +1,6 @@
-<p>Archived notes are notes which have <code>archived</code> <a href="#root/_help_zEY4DaJG4YT5">attribute</a> -
- either directly or <a href="#root/_help_bwZpz2ajCEwO">inherited</a>.</p>
+<p>Archived notes are notes which have <code spellcheck="false">archived</code>
+ <a
+ href="#root/_help_zEY4DaJG4YT5">attribute</a>- either directly or <a href="#root/_help_bwZpz2ajCEwO">inherited</a>.</p>
<p>Such notes are then by default not shown in the autocomplete and in the
full text <a href="#root/_help_eIg8jdvaoNNd">search</a>.</p>
<p>This can be useful for notes which are no longer very useful but still
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Icons.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Icons.html
index 1b39f824bc..142e05f607 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Icons.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Icons.html
@@ -1,9 +1,9 @@
<p>Icons are useful for distinguishing notes. At the technical level, they
- are set by the <code>iconClass</code> attribute which adds a CSS class to
- the note. For example <code>#iconClass="bx bx-calendar"</code> will show
- a calendar instead of the default page or folder icon. Looking up and remembering
- the css class names is not necessary. While editing a note, click on the
- icon next to the title to bring up a chooser gallery:</p>
+ are set by the <code spellcheck="false">iconClass</code> attribute which
+ adds a CSS class to the note. For example <code spellcheck="false">#iconClass="bx bx-calendar"</code> will
+ show a calendar instead of the default page or folder icon. Looking up
+ and remembering the css class names is not necessary. While editing a note,
+ click on the icon next to the title to bring up a chooser gallery:</p>
<p>
<img src="Note Icons_note-icon-chang.png"
alt="change note icon">
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note List.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note List.html
index 8c190e1d9a..509a2a5b1c 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note List.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note List.html
@@ -6,12 +6,12 @@
of the note for easy navigation.</p>
<h2>Configuration</h2>
<ul>
- <li>To hide the note list for a particular note, simply apply the <code>hideChildrenOverview</code>
+ <li>To hide the note list for a particular note, simply apply the <code spellcheck="false">hideChildrenOverview</code>
<a
href="#root/_help_zEY4DaJG4YT5">label</a>.</li>
<li>For some view types, such as Grid view, only a subset of notes will be
displayed and pagination can be used to navigate through all of them for
- performance reasons. To adjust the number of notes per page, set <code>pageSize</code> to
+ performance reasons. To adjust the number of notes per page, set <code spellcheck="false">pageSize</code> to
the desired number.</li>
</ul>
<h2>View types</h2>
@@ -21,4 +21,4 @@
<p>Generally the view type can only be changed in a&nbsp;<a class="reference-link"
href="#root/_help_GTwFsgaA0lCt">Collections</a>&nbsp;note from the&nbsp;<a class="reference-link"
href="#root/_help_BlN9DFI679QC">Ribbon</a>, but it can also be changed manually
- on any type of note using the <code>#viewType</code> attribute.</p>
\ No newline at end of file
+ on any type of note using the <code spellcheck="false">#viewType</code> attribute.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Revisions.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Revisions.html
index 4f13200d0a..9b7d1ae1d2 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Revisions.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Revisions.html
@@ -4,15 +4,15 @@
<p>Time interval of taking note snapshot is configurable in the Options -&gt;
Other dialog. This provides a tradeoff between more revisions and more
data to store.</p>
-<p>To turn off note versioning for a particular note (or subtree), add <code>disableVersioning</code>
- <a
- href="#root/_help_zEY4DaJG4YT5">label</a>to the note.</p>
+<p>To turn off note versioning for a particular note (or subtree), add
+ <code
+ spellcheck="false">disableVersioning</code> <a href="#root/_help_zEY4DaJG4YT5">label</a>to the note.</p>
<h2>Note Revision Snapshots Limit</h2>
<p>The limit on the number of note snapshots can be configured in the Options
-&gt; Other dialog. The note revision snapshot number limit refers to the
maximum number of revisions that can be saved for each note. Where -1 means
no limit, 0 means delete all revisions. You can set the maximum revisions
- for a single note through the <code>versioningLimit=X</code> label.</p>
+ for a single note through the <code spellcheck="false">versioningLimit=X</code> label.</p>
<p>The note limit will not take effect immediately; it will only apply when
the note is modified.</p>
<p>You can click the <strong>Erase excess revision snapshots now</strong> button
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Printing & Exporting as PDF.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Printing & Exporting as PDF.html
index 1aa223cc58..129b83a8b8 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Printing & Exporting as PDF.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Printing & Exporting as PDF.html
@@ -53,7 +53,7 @@ class="admonition note">
the default application might seem incorrect (such as opening in GIMP).
This is because it uses Gnome's “Recommended applications” list.</p>
<p>To solve this, you can change the recommended application for PDFs via
- this command line. First, list the available applications via <code>gio mime application/pdf</code> and
+ this command line. First, list the available applications via <code spellcheck="false">gio mime application/pdf</code> and
then set the desired one. For example to use GNOME's Evince:</p><pre><code class="language-text-x-trilium-auto">gio mime application/pdf</code></pre>
<h3>Customizing exporting as PDF</h3>
<p>When exporting to PDF, there are no customizable settings such as page
@@ -61,10 +61,18 @@ class="admonition note">
href="#root/_help_zEY4DaJG4YT5">Attributes</a>&nbsp;to adjust some of the settings:</p>
<ul>
<li>To print in landscape mode instead of portrait (useful for big diagrams
- or slides), add <code>#printLandscape</code>.</li>
+ or slides), add <code spellcheck="false">#printLandscape</code>.</li>
<li>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,
- 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>.</li>
+ to adjust it to another page size via the <code spellcheck="false">#printPageSize</code> attribute,
+ with one of the following values: <code spellcheck="false">A0</code>,
+ <code
+ spellcheck="false">A1</code>, <code spellcheck="false">A2</code>, <code spellcheck="false">A3</code>,
+ <code
+ spellcheck="false">A4</code>, <code spellcheck="false">A5</code>, <code spellcheck="false">A6</code>,
+ <code
+ spellcheck="false">Legal</code>, <code spellcheck="false">Letter</code>, <code spellcheck="false">Tabloid</code>,
+ <code
+ spellcheck="false">Ledger</code>.</li>
</ul>
<aside class="admonition note">
<p>These options have no effect when used with the printing feature, since
@@ -131,7 +139,7 @@ class="admonition note">
<li>Tables that are too complex (especially if they have multiple columns)
might not fit properly, however tables with a large number of rows are
supported thanks to pagination.</li>
- <li>Consider printing in landscape mode, or using <code>#printLandscape</code> if
+ <li>Consider printing in landscape mode, or using <code spellcheck="false">#printLandscape</code> if
exporting to PDF.</li>
</ul>
</li>
@@ -140,7 +148,7 @@ class="admonition note">
</ul>
</li>
<li>Using&nbsp;<a class="reference-link" href="#root/_help_AlhDUqhENtH7">Custom app-wide CSS</a>&nbsp;for
- printing is no longer supported, instead a custom <code>printCss</code> relation
+ printing is no longer supported, instead a custom <code spellcheck="false">printCss</code> relation
needs to be used (see below).</li>
</ul>
<h2>Customizing the print CSS</h2>
@@ -151,8 +159,8 @@ class="admonition note">
<p>To do so:</p>
<ul>
<li>Create a CSS <a href="#root/_help_6f9hih2hXXZk">code note</a>.</li>
- <li>On the note being printed, apply the <code>~printCss</code> relation to
- point to the newly created CSS code note.</li>
+ <li>On the note being printed, apply the <code spellcheck="false">~printCss</code> relation
+ to point to the newly created CSS code note.</li>
<li>To apply the CSS to multiple notes, consider using <a href="#root/_help_bwZpz2ajCEwO">inheritable attributes</a> or&nbsp;
<a
class="reference-link" href="#root/_help_KC1HB96bqqHX">Templates</a>.</li>
@@ -164,19 +172,22 @@ class="admonition note">
}</code></pre>
<p>To remark:</p>
<ul>
- <li>Multiple CSS notes can be add by using multiple <code>~printCss</code> relations.</li>
- <li>If the note pointing to the <code>printCss</code> doesn't have the right
- note type or mime type, it will be ignored.</li>
+ <li>Multiple CSS notes can be add by using multiple <code spellcheck="false">~printCss</code> relations.</li>
+ <li>If the note pointing to the <code spellcheck="false">printCss</code> doesn't
+ have the right note type or mime type, it will be ignored.</li>
<li>If migrating from a previous version where&nbsp;<a class="reference-link"
- href="#root/_help_AlhDUqhENtH7">Custom app-wide CSS</a>, there's no need for <code>@media print {</code>  since
- the style-sheet is used only for printing.</li>
+ href="#root/_help_AlhDUqhENtH7">Custom app-wide CSS</a>, there's no need for
+ <code
+ spellcheck="false">@media print {</code> since the style-sheet is used only for printing.</li>
</ul>
<h2>Under the hood</h2>
<p>Both printing and exporting as PDF use the same mechanism: a note is rendered
individually in a separate webpage that is then sent to the browser or
the Electron application either for printing or exporting as PDF.</p>
<p>The webpage that renders a single note can actually be accessed in a web
- browser. For example <code>http://localhost:8080/#root/WWRGzqHUfRln/RRZsE9Al8AIZ?ntxId=0o4fzk</code> becomes <code>http://localhost:8080/?print#root/WWRGzqHUfRln/RRZsE9Al8AIZ</code>.</p>
+ browser. For example <code spellcheck="false">http://localhost:8080/#root/WWRGzqHUfRln/RRZsE9Al8AIZ?ntxId=0o4fzk</code> becomes
+ <code
+ spellcheck="false">http://localhost:8080/?print#root/WWRGzqHUfRln/RRZsE9Al8AIZ</code>.</p>
<p>Accessing the print note in a web browser allows for easy debugging to
understand why a particular note doesn't render well. The mechanism for
rendering is similar to the one used in&nbsp;<a class="reference-link"
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Read-Only Notes.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Read-Only Notes.html
index 5216611cbd..c1e5399a62 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Read-Only Notes.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Read-Only Notes.html
@@ -36,8 +36,9 @@
<p>Apart from using the ribbon as previously mentioned, it's also possible
to use <a href="#root/_help_zEY4DaJG4YT5">labels</a> to change the behavior:</p>
<ul>
- <li>To set as read-only, apply the <code>readOnly</code> label to the note.</li>
- <li>To disable automatic read-only (always editable), apply the <code>autoReadOnlyDisabled</code> label.</li>
+ <li>To set as read-only, apply the <code spellcheck="false">readOnly</code> label
+ to the note.</li>
+ <li>To disable automatic read-only (always editable), apply the <code spellcheck="false">autoReadOnlyDisabled</code> label.</li>
</ul>
<h2>Temporarily editing a read-only note</h2>
<p>When accessing a read-only note, it's possible to temporarily edit it
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Sorting Notes.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Sorting Notes.html
index 0ba164a49f..8c38e66f7b 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Sorting Notes.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Sorting Notes.html
@@ -14,35 +14,41 @@
<p>Child notes can be automatically sorted by attaching specific <a href="#root/_help_zEY4DaJG4YT5">labels</a> to
the parent note:</p>
<ul>
- <li><code>#sorted</code>: Enables sorting. Can optionally include the name
- of the note's property/label for sorting criteria (details below).</li>
- <li><code>#sortDirection</code>: By default, sorting is ascending. Set this
- to <code>desc</code> to sort in descending order.</li>
- <li><code>#sortFoldersFirst</code>: Notes with children will be sorted to
- the top.</li>
+ <li><code spellcheck="false">#sorted</code>: Enables sorting. Can optionally
+ include the name of the note's property/label for sorting criteria (details
+ below).</li>
+ <li><code spellcheck="false">#sortDirection</code>: By default, sorting is
+ ascending. Set this to <code spellcheck="false">desc</code> to sort in descending
+ order.</li>
+ <li><code spellcheck="false">#sortFoldersFirst</code>: Notes with children
+ will be sorted to the top.</li>
</ul>
<p>Sorting is done by comparing note properties or specific labels on child
notes. There are four sorting levels, with the first having the highest
priority. Lower priority levels are applied only if higher priority comparisons
result in equality.</p>
<ol>
- <li><strong>Top Label Sorting</strong>: Child notes with the <code>#top</code> label
+ <li><strong>Top Label Sorting</strong>: Child notes with the <code spellcheck="false">#top</code> label
will appear at the top of the folder.</li>
<li><strong>Bottom Label Sorting</strong>: (Introduced in Trilium 0.62) Child
- notes with the <code>#bottom</code> label will appear at the bottom of the
- folder.</li>
+ notes with the <code spellcheck="false">#bottom</code> label will appear
+ at the bottom of the folder.</li>
<li><strong>Property/Label-Based Sorting</strong>: Sorting is based on the
- parent note's <code>#sorted</code> label:
+ parent note's <code spellcheck="false">#sorted</code> label:
<ul>
- <li><strong>Default Sorting</strong>: If <code>#sorted</code> has no value,
- notes are sorted alphabetically.</li>
- <li><strong>Property Sorting</strong>: If <code>#sorted</code> is set to <code>title</code>, <code>dateModified</code>,
- or <code>dateCreated</code>, notes are sorted based on the specified property.</li>
- <li><strong>Label Sorting</strong>: If <code>#sorted</code> has any other value,
- this value is treated as the name of a child note's label, and sorting
- is based on the values of this label. For example, setting <code>#sorted=myOrder</code> on
- the parent note and using <code>#myOrder=001</code>, <code>#myOrder=002</code>,
- etc., on child notes.</li>
+ <li><strong>Default Sorting</strong>: If <code spellcheck="false">#sorted</code> has
+ no value, notes are sorted alphabetically.</li>
+ <li><strong>Property Sorting</strong>: If <code spellcheck="false">#sorted</code> is
+ set to <code spellcheck="false">title</code>, <code spellcheck="false">dateModified</code>,
+ or <code spellcheck="false">dateCreated</code>, notes are sorted based on
+ the specified property.</li>
+ <li><strong>Label Sorting</strong>: If <code spellcheck="false">#sorted</code> has
+ any other value, this value is treated as the name of a child note's label,
+ and sorting is based on the values of this label. For example, setting
+ <code
+ spellcheck="false">#sorted=myOrder</code>on the parent note and using <code spellcheck="false">#myOrder=001</code>,
+ <code
+ spellcheck="false">#myOrder=002</code>, etc., on child notes.</li>
</ul>
</li>
<li><strong>Alphabetical Sorting</strong>: Used as a last resort when other
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Themes.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Themes.html
index bba1f65627..fa699c6b17 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Themes.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Themes.html
@@ -11,9 +11,11 @@
appearance. To create a custom theme, follow these steps:</p>
<ol>
<li><strong>Create a CSS Code Note</strong>: Start by creating a new <a href="#root/_help_6f9hih2hXXZk">code note</a> with
- the <code>CSS</code> type.</li>
- <li><strong>Annotate with</strong> <code>#appTheme</code>: Add the <a href="#root/_help_zEY4DaJG4YT5">attribute</a> <code>#appTheme=my-theme-name</code> to
- your note, where <code>my-theme-name</code> is the name of your custom theme.</li>
+ the <code spellcheck="false">CSS</code> type.</li>
+ <li><strong>Annotate with</strong> <code spellcheck="false">#appTheme</code>:
+ Add the <a href="#root/_help_zEY4DaJG4YT5">attribute</a> <code spellcheck="false">#appTheme=my-theme-name</code> to
+ your note, where <code spellcheck="false">my-theme-name</code> is the name
+ of your custom theme.</li>
<li><strong>Define Your Styles</strong>: Write your custom CSS within the
note. Below is an example of a custom theme:</li>
</ol><pre><code class="language-text-x-trilium-auto">@font-face {
@@ -74,16 +76,18 @@ body .CodeMirror {
<ol>
<li>Go to "Menu" -&gt; "Options" -&gt; "Appearance."</li>
<li>In the theme selection dropdown, you should see your custom theme listed
- under the name you provided with the <code>#appTheme</code> <a href="#root/_help_zEY4DaJG4YT5">label</a>.</li>
+ under the name you provided with the <code spellcheck="false">#appTheme</code>
+ <a
+ href="#root/_help_zEY4DaJG4YT5">label</a>.</li>
<li>Select your custom theme to activate it.</li>
</ol>
<p>If you make changes to your theme, press <kbd>Ctrl</kbd> + <kbd>R</kbd> to
reload the frontend and apply your updates.</p>
<h3>Sharing and Importing Themes</h3>
-<p>Custom themes can be exported as <code>.tar</code> archives, which can be
- shared with other users. However, be cautious when importing themes from
- untrusted sources, as they may contain executable scripts that could pose
- security risks.</p>
+<p>Custom themes can be exported as <code spellcheck="false">.tar</code> archives,
+ which can be shared with other users. However, be cautious when importing
+ themes from untrusted sources, as they may contain executable scripts that
+ could pose security risks.</p>
<p>An example user theme, <em>Steel Blue</em>, is available in the demo document.</p>
<p>
<img src="Themes_steel-blue.png" alt="Steel Blue Theme">
@@ -97,16 +101,16 @@ body .CodeMirror {
<p>To use custom CSS:</p>
<ol>
<li><strong>Create a CSS Code Note</strong>: Create a new&nbsp;<a class="reference-link"
- href="#root/_help_6f9hih2hXXZk">Code</a>&nbsp;note with the <code>CSS</code> type.</li>
- <li><strong>Add the</strong> <code>appCss</code> <strong>Label</strong>: Annotate
- the note with the <code>#appCss</code> <a href="#root/_help_zEY4DaJG4YT5">label</a>.</li>
+ href="#root/_help_6f9hih2hXXZk">Code</a>&nbsp;note with the <code spellcheck="false">CSS</code> type.</li>
+ <li><strong>Add the</strong> <code spellcheck="false">appCss</code> <strong>Label</strong>:
+ Annotate the note with the <code spellcheck="false">#appCss</code> <a href="#root/_help_zEY4DaJG4YT5">label</a>.</li>
<li><strong>Write Your CSS</strong>: Add your custom CSS rules to the note.</li>
</ol>
<p>For example:</p><pre><code class="language-text-x-trilium-auto">/* Custom CSS to style specific elements */
.tree-item {
color: #ff6347; /* Change tree item color */
}</code></pre>
-<p>When Trilium's frontend starts, all notes labeled with <code>appCss</code> are
+<p>When Trilium's frontend starts, all notes labeled with <code spellcheck="false">appCss</code> are
automatically included in the style element of the HTML page.</p>
<p>After making changes, press <kbd>Ctrl</kbd> + <kbd>R</kbd> to reload the frontend
and apply your new styles.</p>
@@ -116,22 +120,23 @@ body .CodeMirror {
<h3>Styling Specific Notes in the Tree</h3>
<p>To apply specific styles to certain notes in the tree:</p>
<ul>
- <li><strong>Use the</strong> <code>cssClass</code> <strong>Attribute</strong>:
- Add the <code>cssClass</code> <a href="#root/_help_zEY4DaJG4YT5">attribute</a> to
+ <li><strong>Use the</strong> <code spellcheck="false">cssClass</code> <strong>Attribute</strong>:
+ Add the <code spellcheck="false">cssClass</code> <a href="#root/_help_zEY4DaJG4YT5">attribute</a> to
a note, and assign it a value representing the desired CSS class.</li>
- <li><strong>Define an</strong> <code>iconClass</code>: You can also define
- a custom icon for a note using the <code>iconClass</code> attribute, selecting
- from <a href="https://boxicons.com">Box Icons</a> or your own custom classes.</li>
+ <li><strong>Define an</strong> <code spellcheck="false">iconClass</code>: You
+ can also define a custom icon for a note using the <code spellcheck="false">iconClass</code> attribute,
+ selecting from <a href="https://boxicons.com">Box Icons</a> or your own custom
+ classes.</li>
</ul>
<p>For example, if you want to style notes of a specific type, such as notes
- containing PNG images, you can target them with classes like <code>type-image mime-image-png</code>.</p>
+ containing PNG images, you can target them with classes like <code spellcheck="false">type-image mime-image-png</code>.</p>
<h3>User-Provided Themes</h3>
<p>A gallery of user-created themes is available, showcasing the variety
of customizations that the Trilium community has developed. For more information,
check the&nbsp;<a class="reference-link" href="#root/_help_VbjZvtUek0Ln">Theme Gallery</a>.</p>
<h3>Asset Path Management</h3>
<p>When referencing built-in assets like images in your custom themes or
- CSS, you can avoid hardcoding version numbers by using the <code>vX</code> alias.
- For example, instead of specifying <code>/assets/v0.57.0-beta/images/icon-grey.png</code>,
- you can use <code>/assets/vX/images/icon-grey.png</code> to keep your theme
- compatible with future versions of Trilium.</p>
\ No newline at end of file
+ CSS, you can avoid hardcoding version numbers by using the <code spellcheck="false">vX</code> alias.
+ For example, instead of specifying <code spellcheck="false">/assets/v0.57.0-beta/images/icon-grey.png</code>,
+ you can use <code spellcheck="false">/assets/vX/images/icon-grey.png</code> to
+ keep your theme compatible with future versions of Trilium.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Themes/Icon Packs.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Themes/Icon Packs.html
index c9a2f2230c..371ca190b5 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Themes/Icon Packs.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Themes/Icon Packs.html
@@ -42,7 +42,7 @@ class="admonition note">
wrong with it.</p>
<ul>
<li>Try checking the&nbsp;<a class="reference-link" href="#root/_help_bnyigUA2UK7s">Backend (server) logs</a>&nbsp;for
- clues and make sure that the icon pack has the <code>#iconPack</code>
+ clues and make sure that the icon pack has the <code spellcheck="false">#iconPack</code>
<a
href="#root/_help_HI6GBBIduIgv">label</a>with a value assigned to it (a prefix).</li>
<li>Icon packs that are <a href="#root/_help_bwg0e8ewQMak">protected</a> are ignored.</li>
@@ -53,19 +53,21 @@ class="admonition note">
href="#root/_help_R9pX4DGra2Vt">Sharing</a>&nbsp;feature, where they will be
shown in the note tree. However, in order for an icon pack to be visible
to the share function, the icon pack note must also be shared.</p>
- <p>If you are using a custom share theme, make sure it supports the <code>iconPackCss</code>,
- otherwise icons will not show up. Check the original share template source
- code for reference.</p>
+ <p>If you are using a custom share theme, make sure it supports the
+ <code
+ spellcheck="false">iconPackCss</code>, otherwise icons will not show up. Check the original
+ share template source code for reference.</p>
<p>Custom icon packs will also be preserved when&nbsp;<a class="reference-link"
href="#root/_help_ycBFjKrrwE9p">Exporting static HTML for web publishing</a>.
In this case, there's no requirement to make the icon pack shared.</p>
<h2>What happens if I remove an icon pack</h2>
- <p>If an icon pack is removed or disabled (by removing or altering its <code>#iconPack</code> label),
- all the notes that use this icon pack will show in the&nbsp;<a class="reference-link"
- href="#root/_help_oPVyFC7WL2Lp">Note Tree</a>&nbsp;with no icon. This won't cause
- any issues apart from looking strange.</p>
+ <p>If an icon pack is removed or disabled (by removing or altering its
+ <code
+ spellcheck="false">#iconPack</code>label), all the notes that use this icon pack will show
+ in the&nbsp;<a class="reference-link" href="#root/_help_oPVyFC7WL2Lp">Note Tree</a>&nbsp;with
+ no icon. This won't cause any issues apart from looking strange.</p>
<p>The solution is to replace the icons with some else, try using&nbsp;
<a
class="reference-link" href="#root/_help_eIg8jdvaoNNd">Search</a>&nbsp;which supports bulk actions, to identify the notes with
the now deleted icon pack (by looking for the prefix) and changing or removing
- their <code>iconClass</code>.</p>
\ No newline at end of file
+ their <code spellcheck="false">iconClass</code>.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Launch Bar.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Launch Bar.html
index 89ff2ac4ea..444d04b05e 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Launch Bar.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Launch Bar.html
@@ -58,11 +58,13 @@
<p><strong>Note Launcher</strong>
<br>A note launcher will simply navigate to a specified note.</p>
<ol>
- <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&nbsp;
- <a
- href="#root/_help_OR8WJ7Iz9K4U">Note Hoisting</a>&nbsp;for more information.</li>
- <li>Optionally, set a <code>keyboardShortcut</code> to trigger the launcher.</li>
+ <li>Set the <code spellcheck="false">target</code> promoted attribute to the
+ note to navigate to.</li>
+ <li>Optionally, set <code spellcheck="false">hoistedNote</code> to hoist a particular
+ note. See&nbsp;<a href="#root/_help_OR8WJ7Iz9K4U">Note Hoisting</a>&nbsp;for
+ more information.</li>
+ <li>Optionally, set a <code spellcheck="false">keyboardShortcut</code> to trigger
+ the launcher.</li>
</ol>
</li>
<li>
@@ -71,8 +73,10 @@
<a
href="#root/_help_CdNpE2pqjmI6">Scripts</a>&nbsp;for more information.</p>
<ol>
- <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>Set <code spellcheck="false">script</code> to point to the desired script
+ to run.</li>
+ <li>Optionally, set a <code spellcheck="false">keyboardShortcut</code> to trigger
+ the launcher.</li>
</ol>
</li>
<li>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/New Layout.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/New Layout.html
index cd984ee8c0..8b4b1739d8 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/New Layout.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/New Layout.html
@@ -192,13 +192,13 @@ class="image">
<li>Some smaller ribbon tabs were converted to badges that appear near the
note title in the breadcrumb section:
<ul>
- <li>Original URL indicator for clipped web pages (<code>#pageUrl</code>).</li>
+ <li>Original URL indicator for clipped web pages (<code spellcheck="false">#pageUrl</code>).</li>
<li>SQL and script execute buttons.</li>
</ul>
</li>
</ul>
<aside class="admonition note">
- <p>The ribbon keyboard shortcuts (e.g. <code>toggleRibbonTabClassicEditor</code>)
+ <p>The ribbon keyboard shortcuts (e.g. <code spellcheck="false">toggleRibbonTabClassicEditor</code>)
have been repurposed to work on the new layout, where they will toggle
the appropriate panel.</p>
</aside>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree.html
index 058459da7e..99eed49fd0 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree.html
@@ -29,9 +29,10 @@
</ul>
<h2>Context Menu</h2>
<p>You can also move notes using the familiar cut and paste functions available
- in the context menu, or with the associated keyboard <a href="#root/_help_A9Oc6YKKc65v">shortcuts</a>: <code>CTRL-C</code> (
- <a
- href="#root/_help_IakOLONlIfGI">copy</a>), <kbd>Ctrl</kbd> + <kbd>X</kbd> (cut) and <kbd>Ctrl</kbd> + <kbd>V</kbd> (paste).</p>
+ in the context menu, or with the associated keyboard <a href="#root/_help_A9Oc6YKKc65v">shortcuts</a>:
+ <code
+ spellcheck="false">CTRL-C</code>( <a href="#root/_help_IakOLONlIfGI">copy</a>), <kbd>Ctrl</kbd> + <kbd>X</kbd> (cut)
+ and <kbd>Ctrl</kbd> + <kbd>V</kbd> (paste).</p>
<p>See&nbsp;<a class="reference-link" href="#root/_help_YtSN43OrfzaA">Note tree contextual menu</a>&nbsp;for
more information.</p>
<h2>Keyboard shortcuts</h2>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Note tree contextual menu.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Note tree contextual menu.html
index 250fb7e14f..93e56632b7 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Note tree contextual menu.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Note tree contextual menu.html
@@ -216,7 +216,7 @@
<li><strong>Copy note path to clipboard</strong>
<ul>
<li>Copies a URL fragment representing the full path to this branch for a
- note, such as <code>#root/Hb2E70L7HPuf/4sRFgMZhYFts/2IVuShedRJ3U/LJVMvKXOFv7n</code>.</li>
+ note, such as <code spellcheck="false">#root/Hb2E70L7HPuf/4sRFgMZhYFts/2IVuShedRJ3U/LJVMvKXOFv7n</code>.</li>
<li>The URL to manually create&nbsp;<a class="reference-link" href="#root/_help_QEAPj01N5f7w">Links</a>&nbsp;within
notes, or for note&nbsp;<a class="reference-link" href="#root/_help_wArbEsdSae6g">Navigation</a>.</li>
</ul>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar.html
index 88f2b3be88..4f12210786 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar.html
@@ -13,7 +13,7 @@
<p>Note that the sidebar is not displayed if it would otherwise be empty,
for example if there are too few headings and there are no highlights.</p>
<h2>Toggling the right sidebar</h2>
-<p>The sidebar can be hidden or shown by using the <code>toggleRightPane</code> keyboard
+<p>The sidebar can be hidden or shown by using the <code spellcheck="false">toggleRightPane</code> keyboard
shortcut, which is not assigned by default.</p>
<h2>Relation with splits</h2>
<p>When using&nbsp;<a class="reference-link" href="#root/_help_luNhaphA37EO">Split View</a>,
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Zen mode.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Zen mode.html
index 7d10cb7861..94aecbad7a 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Zen mode.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Zen mode.html
@@ -15,7 +15,7 @@
the “Zen Mode” option:</p>
<p>Aside from the global menu, it's also possible to activate this mode by
using a keyboard shortcut (which is <kbd>F9</kbd> since TriliumNext 0.92.5
- and <kbd>Alt</kbd>+<kbd>Z</kbd> for older versions). Look for <code>toggleZenMode</code> in
+ and <kbd>Alt</kbd>+<kbd>Z</kbd> for older versions). Look for <code spellcheck="false">toggleZenMode</code> in
the shortcut configuration.</p>
<p>Once Zen Mode is activated, all the UI elements of the application will
be hidden away, including the global menu. In that case, the Zen Mode can
@@ -37,9 +37,10 @@
11 with background effects off.</p>
<h2>Split windows and tabs</h2>
<p>Tabs are completely hidden, however it's still possible to use keyboard
- shortcuts such as <code>firstTab</code> (<kbd>Ctrl</kbd>+<kbd>1</kbd> by default), <code>secondTab</code> (<kbd>Ctrl</kbd>+<kbd>2</kbd> by
- default). There are also some newer shortcuts such as <code>activateNextTab</code> (<kbd>Ctrl</kbd>+<kbd>Tab</kbd>)
- or <code>activatePreviousTab</code> (<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Tab</kbd>)
+ shortcuts such as <code spellcheck="false">firstTab</code> (<kbd>Ctrl</kbd>+<kbd>1</kbd> by
+ default), <code spellcheck="false">secondTab</code> (<kbd>Ctrl</kbd>+<kbd>2</kbd> by
+ default). There are also some newer shortcuts such as <code spellcheck="false">activateNextTab</code> (<kbd>Ctrl</kbd>+<kbd>Tab</kbd>)
+ or <code spellcheck="false">activatePreviousTab</code> (<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Tab</kbd>)
that allow easy navigation, however make sure that they are configured
properly in the settings.</p>
<p>For the split view of notes, there are no keyboard shortcuts at the time
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Calendar.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Calendar.html
index a69329fce6..1a3474a594 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Calendar.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Calendar.html
@@ -61,7 +61,7 @@
<br>
<img src="Calendar_image.png">
</li>
- <li>Creating new notes from the calendar will respect the <code>~child:template</code> relation
+ <li>Creating new notes from the calendar will respect the <code spellcheck="false">~child:template</code> relation
if set on the Collection note.</li>
</ul>
<h2>Interacting with events</h2>
@@ -180,62 +180,68 @@
</thead>
<tbody>
<tr>
- <td><code>#startDate</code>
+ <td><code spellcheck="false">#startDate</code>
</td>
<td>The date the event starts, which will display it in the calendar. The
- format is <code>YYYY-MM-DD</code> (year, month and day separated by a minus
- sign).</td>
+ format is <code spellcheck="false">YYYY-MM-DD</code> (year, month and day
+ separated by a minus sign).</td>
</tr>
<tr>
- <td><code>#endDate</code>
+ <td><code spellcheck="false">#endDate</code>
</td>
- <td>Similar to <code>startDate</code>, mentions the end date if the event spans
- across multiple days. The date is inclusive, so the end day is also considered.
- The attribute can be missing for single-day events.</td>
+ <td>Similar to <code spellcheck="false">startDate</code>, mentions the end
+ date if the event spans across multiple days. The date is inclusive, so
+ the end day is also considered. The attribute can be missing for single-day
+ events.</td>
</tr>
<tr>
- <td><code>#startTime</code>
+ <td><code spellcheck="false">#startTime</code>
</td>
<td>The time the event starts at. If this value is missing, then the event
- is considered a full-day event. The format is <code>HH:MM</code> (hours in
- 24-hour format and minutes).</td>
+ is considered a full-day event. The format is <code spellcheck="false">HH:MM</code> (hours
+ in 24-hour format and minutes).</td>
</tr>
<tr>
- <td><code>#endTime</code>
+ <td><code spellcheck="false">#endTime</code>
</td>
- <td>Similar to <code>startTime</code>, it mentions the time at which the event
- ends (in relation with <code>endDate</code> if present, or <code>startDate</code>).</td>
+ <td>Similar to <code spellcheck="false">startTime</code>, it mentions the time
+ at which the event ends (in relation with <code spellcheck="false">endDate</code> if
+ present, or <code spellcheck="false">startDate</code>).</td>
</tr>
<tr>
- <td><code>#color</code>
+ <td><code spellcheck="false">#color</code>
</td>
- <td>Displays the event with a specified color (named such as <code>red</code>, <code>gray</code> or
- hex such as <code>#FF0000</code>). This will also change the color of the
- note in other places such as the note tree.</td>
+ <td>Displays the event with a specified color (named such as <code spellcheck="false">red</code>,
+ <code
+ spellcheck="false">gray</code>or hex such as <code spellcheck="false">#FF0000</code>). This
+ will also change the color of the note in other places such as the note
+ tree.</td>
</tr>
<tr>
- <td><code>#calendar:color</code>
+ <td><code spellcheck="false">#calendar:color</code>
</td>
- <td><strong>❌️ Removed since v0.100.0. Use</strong> <code>**#color**</code> <strong>instead.</strong>
+ <td><strong>❌️ Removed since v0.100.0. Use</strong> <code spellcheck="false">**#color**</code> <strong>instead.</strong>
<br>
- <br>Similar to <code>#color</code>, but applies the color only for the event
- in the calendar and not for other places such as the note tree.</td>
+ <br>Similar to <code spellcheck="false">#color</code>, but applies the color
+ only for the event in the calendar and not for other places such as the
+ note tree.</td>
</tr>
<tr>
- <td><code>#iconClass</code>
+ <td><code spellcheck="false">#iconClass</code>
</td>
<td>If present, the icon of the note will be displayed to the left of the
event title.</td>
</tr>
<tr>
- <td><code>#calendar:title</code>
+ <td><code spellcheck="false">#calendar:title</code>
</td>
<td>Changes the title of an event to point to an attribute of the note other
- than the title, can either a label or a relation (without the <code>#</code> or <code>~</code> symbol).
- See <em>Use-cases</em> for more information.</td>
+ than the title, can either a label or a relation (without the <code spellcheck="false">#</code> or
+ <code
+ spellcheck="false">~</code>symbol). See <em>Use-cases</em> for more information.</td>
</tr>
<tr>
- <td><code>#calendar:displayedAttributes</code>
+ <td><code spellcheck="false">#calendar:displayedAttributes</code>
</td>
<td>Allows displaying the value of one or more attributes in the calendar
like this:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
@@ -243,38 +249,40 @@
<br>
<img src="9_Calendar_image.png">&nbsp;&nbsp;&nbsp;
<br>
- <br><code>#weight="70" #Mood="Good" #calendar:displayedAttributes="weight,Mood"</code>&nbsp;&nbsp;&nbsp;
+ <br><code spellcheck="false">#weight="70" #Mood="Good" #calendar:displayedAttributes="weight,Mood"</code>&nbsp;&nbsp;&nbsp;
<br>
<br>It can also be used with relations, case in which it will display the
title of the target note:&nbsp;&nbsp;&nbsp;&nbsp;
<br>
- <br><code>~assignee=@My assignee #calendar:displayedAttributes="assignee"</code>
+ <br><code spellcheck="false">~assignee=@My assignee #calendar:displayedAttributes="assignee"</code>
</td>
</tr>
<tr>
- <td><code>#calendar:startDate</code>
+ <td><code spellcheck="false">#calendar:startDate</code>
</td>
- <td>Allows using a different label to represent the start date, other than <code>startDate</code> (e.g. <code>expiryDate</code>).
- The label name <strong>must not be</strong> prefixed with <code>#</code>.
- If the label is not defined for a note, the default will be used instead.</td>
+ <td>Allows using a different label to represent the start date, other than
+ <code
+ spellcheck="false">startDate</code>(e.g. <code spellcheck="false">expiryDate</code>). The
+ label name <strong>must not be</strong> prefixed with <code spellcheck="false">#</code>.
+ If the label is not defined for a note, the default will be used instead.</td>
</tr>
<tr>
- <td><code>#calendar:endDate</code>
+ <td><code spellcheck="false">#calendar:endDate</code>
</td>
- <td>Similar to <code>#calendar:startDate</code>, allows changing the attribute
- which is being used to read the end date.</td>
+ <td>Similar to <code spellcheck="false">#calendar:startDate</code>, allows
+ changing the attribute which is being used to read the end date.</td>
</tr>
<tr>
- <td><code>#calendar:startTime</code>
+ <td><code spellcheck="false">#calendar:startTime</code>
</td>
- <td>Similar to <code>#calendar:startDate</code>, allows changing the attribute
- which is being used to read the start time.</td>
+ <td>Similar to <code spellcheck="false">#calendar:startDate</code>, allows
+ changing the attribute which is being used to read the start time.</td>
</tr>
<tr>
- <td><code>#calendar:endTime</code>
+ <td><code spellcheck="false">#calendar:endTime</code>
</td>
- <td>Similar to <code>#calendar:startDate</code>, allows changing the attribute
- which is being used to read the end time.</td>
+ <td>Similar to <code spellcheck="false">#calendar:startDate</code>, allows
+ changing the attribute which is being used to read the end time.</td>
</tr>
</tbody>
</table>
@@ -284,7 +292,8 @@
<img src="11_Calendar_image.png">
</p>
<p>The calendar displays all the child notes of the Collection that have
- a <code>#startDate</code>. An <code>#endDate</code> can optionally be added.</p>
+ a <code spellcheck="false">#startDate</code>. An <code spellcheck="false">#endDate</code> can
+ optionally be added.</p>
<p>If editing the start date and end date from the note itself is desirable,
the following attributes can be added to the Collection note:</p><pre><code class="language-text-x-trilium-auto">#viewType=calendar #label:startDate(inheritable)="promoted,alias=Start Date,single,date"
#label:endDate(inheritable)="promoted,alias=End Date,single,date"
@@ -301,19 +310,19 @@
<p>It is possible to integrate the calendar view into the Journal with day
notes. In order to do so change the note type of the Journal note (calendar
root) to Collection and then select the Calendar View.</p>
-<p>Based on the <code>#calendarRoot</code> (or <code>#workspaceCalendarRoot</code>)
+<p>Based on the <code spellcheck="false">#calendarRoot</code> (or <code spellcheck="false">#workspaceCalendarRoot</code>)
attribute, the calendar will know that it's in a calendar and apply the
following:</p>
<ul>
- <li>The calendar events are now rendered based on their <code>dateNote</code> attribute
- rather than <code>startDate</code>.</li>
+ <li>The calendar events are now rendered based on their <code spellcheck="false">dateNote</code> attribute
+ rather than <code spellcheck="false">startDate</code>.</li>
<li>Interactive editing such as dragging over an empty era or resizing an
event is no longer possible.</li>
<li>Clicking on the empty space on a date will automatically open that day's
note or create it if it does not exist.</li>
<li>Direct children of a day note will be displayed on the calendar despite
- not having a <code>dateNote</code> attribute. Children of the child notes
- will not be displayed.</li>
+ not having a <code spellcheck="false">dateNote</code> attribute. Children
+ of the child notes will not be displayed.</li>
</ul>
<img src="8_Calendar_image.png" width="1217"
height="724">
@@ -322,11 +331,13 @@ height="724">
<p>By default, events are displayed on the calendar by their note title.
However, it is possible to configure a different attribute to be displayed
instead.</p>
-<p>To do so, assign <code>#calendar:title</code> to the child note (not the
- calendar/Collection note), with the value being <code>name</code> where <code>name</code> can
- be any label (make not to add the <code>#</code> prefix). The attribute can
- also come through inheritance such as a template attribute. If the note
- does not have the requested label, the title of the note will be used instead.</p>
+<p>To do so, assign <code spellcheck="false">#calendar:title</code> to the
+ child note (not the calendar/Collection note), with the value being
+ <code
+ spellcheck="false">name</code>where <code spellcheck="false">name</code> can be any label (make
+ not to add the <code spellcheck="false">#</code> prefix). The attribute can
+ also come through inheritance such as a template attribute. If the note
+ does not have the requested label, the title of the note will be used instead.</p>
<table>
<thead>
<tr>
@@ -350,9 +361,9 @@ height="724">
</table>
<h3>Using a relation attribute as event title</h3>
-<p>Similarly to using an attribute, use <code>#calendar:title</code> and set
- it to <code>name</code> where <code>name</code> is the name of the relation
- to use.</p>
+<p>Similarly to using an attribute, use <code spellcheck="false">#calendar:title</code> and
+ set it to <code spellcheck="false">name</code> where <code spellcheck="false">name</code> is
+ the name of the relation to use.</p>
<p>Moreover, if there are more relations of the same name, they will be displayed
as multiple events coming from the same note.</p>
<table>
@@ -373,9 +384,9 @@ height="724">
</tr>
</tbody>
</table>
-<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
- it. Note that it's not possible to use a relation here as well for safety
+<p>Note that it's even possible to have a <code spellcheck="false">#calendar:title</code> on
+ the 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
reasons (an accidental recursion &nbsp;of attributes could cause the application
to loop infinitely).</p>
<table>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Geo Map.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Geo Map.html
index e7e3c73f69..cfee0ce25f 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Geo Map.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Geo Map.html
@@ -136,7 +136,7 @@
the <em>Read-only</em> section for more information.</p>
</aside>
<h2>How the location of the markers is stored</h2>
-<p>The location of a marker is stored in the <code>#geolocation</code> attribute
+<p>The location of a marker is stored in the <code spellcheck="false">#geolocation</code> attribute
of the child notes:</p>
<img src="18_Geo Map_image.png"
width="1288" height="278">
@@ -185,7 +185,7 @@ width="1288" height="278">
<li>Open the location using an external application (if the operating system
supports it).</li>
<li>Open the note in a new tab, split or window.</li>
- <li>Remove the marker from the map, which will remove the <code>#geolocation</code> attribute
+ <li>Remove the marker from the map, which will remove the <code spellcheck="false">#geolocation</code> attribute
of the note. To add it back again, the coordinates have to be manually
added back in.</li>
</ol>
@@ -197,10 +197,11 @@ width="1288" height="278">
alt="image" width="523" height="295">
</figure>
<p>The markers will have the same icon as the note.</p>
-<p>It's possible to add a custom color to a marker by assigning them a <code>#color</code> attribute
- such as <code>#color=green</code>.</p>
+<p>It's possible to add a custom color to a marker by assigning them a
+ <code
+ spellcheck="false">#color</code>attribute such as <code spellcheck="false">#color=green</code>.</p>
<h2>Adding the coordinates manually</h2>
-<p>In a nutshell, create a child note and set the <code>#geolocation</code> attribute
+<p>In a nutshell, create a child note and set the <code spellcheck="false">#geolocation</code> attribute
to the coordinates.</p>
<p>The value of the attribute is made up of the latitude and longitude separated
by a comma.</p>
@@ -228,8 +229,10 @@ width="1288" height="278">
<br>Simply click on the first item displaying the coordinates and they will
be copied to clipboard.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
- <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>
+ <br>Then paste the value inside the text box into the <code spellcheck="false">#geolocation</code> attribute
+ of a child note of the map (don't forget to surround the value with a
+ <code
+ spellcheck="false">"</code>character).</td>
</tr>
<tr>
<td>2</td>
@@ -249,8 +252,8 @@ width="1288" height="278">
width="1074" height="276">
</figure>
</td>
- <td>And then go to Owned Attributes and type <code>#geolocation="</code>, then
- paste from the clipboard as-is and then add the ending <code>"</code> character.
+ <td>And then go to Owned Attributes and type <code spellcheck="false">#geolocation="</code>,
+ then paste from the clipboard as-is and then add the ending <code spellcheck="false">"</code> character.
Press Enter to confirm and the map should now be updated to contain the
new note.</td>
</tr>
@@ -294,7 +297,7 @@ width="1288" height="278">
<img class="image_resized" style="aspect-ratio:640/276;width:100%;" src="5_Geo Map_image.png"
width="640" height="276">
</td>
- <td>Simply paste the value inside the text box into the <code>#geolocation</code> attribute
+ <td>Simply paste the value inside the text box into the <code spellcheck="false">#geolocation</code> attribute
of a child note of the map and then it should be displayed on the map.</td>
</tr>
</tbody>
@@ -331,7 +334,7 @@ width="1288" height="278">
</figure>
</td>
<td>In order for the file to be recognized as a GPS track, it needs to show
- up as <code>application/gpx+xml</code> in the <em>File type</em> field.</td>
+ up as <code spellcheck="false">application/gpx+xml</code> in the <em>File type</em> field.</td>
</tr>
<tr>
<td>3</td>
@@ -350,8 +353,8 @@ width="1288" height="278">
<aside class="admonition note">
<p>The starting point of the track will be displayed as a marker, with the
name of the note underneath. The start marker will also respect the icon
- and the <code>color</code> of the note. The end marker is displayed with
- a distinct icon.</p>
+ and the <code spellcheck="false">color</code> of the note. The end marker
+ is displayed with a distinct icon.</p>
<p>If the GPX contains waypoints, they will also be displayed. If they have
a name, it is displayed when hovering over it with the mouse.</p>
</aside>
@@ -370,7 +373,7 @@ width="1288" height="278">
<h3>Map Style</h3>
<p>The styling of the map can be adjusted in the <em>Collection Properties</em> tab
in the&nbsp;<a class="reference-link" href="#root/_help_BlN9DFI679QC">Ribbon</a>&nbsp;or
- manually via the <code>#map:style</code> attribute.</p>
+ manually via the <code spellcheck="false">#map:style</code> attribute.</p>
<p>The geo map comes with two different types of styles:</p>
<ul>
<li>Raster styles
@@ -398,8 +401,8 @@ width="1288" height="278">
</aside>
<h3>Scale</h3>
<p>Activating this option via the&nbsp;<a class="reference-link" href="#root/_help_BlN9DFI679QC">Ribbon</a>&nbsp;or
- manually via <code>#map:scale</code> will display an indicator in the bottom-left
- of the scale of the map.</p>
+ manually via <code spellcheck="false">#map:scale</code> will display an indicator
+ in the bottom-left of the scale of the map.</p>
<h2>Troubleshooting</h2>
<figure class="image image-style-align-right image_resized" style="width:34.06%;">
<img style="aspect-ratio:678/499;" src="13_Geo Map_image.png"
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Kanban Board.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Kanban Board.html
index 30acffb59c..5a20f9985d 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Kanban Board.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Kanban Board.html
@@ -7,8 +7,8 @@
adjusted.</p>
<h2>How it works</h2>
<p>When first creating a collection of <em>Board</em> type, a few subnotes
- will be created, each having a <code>#status</code> label set. The board
- then groups each note by the value of the status attribute.</p>
+ will be created, each having a <code spellcheck="false">#status</code> label
+ set. The board then groups each note by the value of the status attribute.</p>
<p>Notes are displayed recursively, so even the child notes of the child
notes will be displayed. However, unlike the&nbsp;<a class="reference-link"
href="#root/_help_2FvYrpmOXm29">Table</a>, the notes are not displayed in a hierarchy.</p>
@@ -40,7 +40,7 @@
<li>Enter the name of the note and press <kbd>Enter</kbd> or click away. To
dismiss the creation of a new note, simply press <kbd>Escape</kbd> or leave
the name empty.</li>
- <li>Once created, the new note will have an attribute (<code>status</code> label
+ <li>Once created, the new note will have an attribute (<code spellcheck="false">status</code> label
by default) set to the name of the column.</li>
</ul>
</li>
@@ -126,15 +126,16 @@
<li>Relation attributes are also supported as well, showing a link with the
target note title and icon.</li>
<li>Currently, it's not possible to adjust which promoted attributes are displayed,
- since all promoted attributes will be displayed (except the <code>board:groupBy</code> one).
+ since all promoted attributes will be displayed (except the <code spellcheck="false">board:groupBy</code> one).
There are plans to improve upon this being able to hide promoted attributes
individually.</li>
</ul>
<h3>Grouping by another label</h3>
-<p>By default, the label used to group the notes is <code>#status</code>.
- It is possible to use a different label if needed by defining a label named <code>#board:groupBy</code> with
- the value being the attribute to use (with or without <code>#</code> attribute
- prefix).</p>
+<p>By default, the label used to group the notes is <code spellcheck="false">#status</code>.
+ It is possible to use a different label if needed by defining a label named
+ <code
+ spellcheck="false">#board:groupBy</code>with the value being the attribute to use (with or
+ without <code spellcheck="false">#</code> attribute prefix).</p>
<h3>Grouping by relations</h3>
<figure class="image image-style-align-right">
<img style="aspect-ratio:535/245;" src="1_Kanban Board_image.png"
@@ -164,11 +165,14 @@
<p>First, create a Kanban board from scratch and not a template:</p>
</li>
<li>
- <p>Assign <code>#viewType=board #hidePromotedAttributes</code> to emulate the
- default template.</p>
+ <p>Assign <code spellcheck="false">#viewType=board #hidePromotedAttributes</code> to
+ emulate the default template.</p>
</li>
<li>
- <p>Set <code>#board:groupBy</code> to the name of a relation to group by, <strong>including the</strong> <code>~</code> <strong>prefix</strong> (e.g. <code>~status</code>).</p>
+ <p>Set <code spellcheck="false">#board:groupBy</code> to the name of a relation
+ to group by, <strong>including the</strong> <code spellcheck="false">~</code> <strong>prefix</strong> (e.g.
+ <code
+ spellcheck="false">~status</code>).</p>
</li>
<li>
<p>Optionally, use&nbsp;<a class="reference-link" href="#root/_help_OFXdgB2nNk1F">Promoted Attributes</a>&nbsp;for
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/List View.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/List View.html
index 034f3c653e..82d074b11f 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/List View.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/List View.html
@@ -45,7 +45,8 @@
<p>By design, the UI provides only a handful of levels of depth for expanding
notes (direct children, 2-5, all levels). It's also possible to specify
any desired depth by manually setting the <a href="#root/_help_HI6GBBIduIgv">corresponding label</a>.
- For example: <code>#expanded=100</code> to expand up to 100 levels of depth.</p>
+ For example: <code spellcheck="false">#expanded=100</code> to expand up to
+ 100 levels of depth.</p>
</aside>
<aside class="admonition note">
<p>From a performance standpoint, the List collection is efficient since
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Presentation.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Presentation.html
index 50ce146f08..1f3cd63dc3 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Presentation.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Presentation.html
@@ -93,11 +93,12 @@
<ul>
<li>It's possible to adjust the background color of a slide by using the
<a
- href="#root/_help_OFXdgB2nNk1F">predefined promoted attribute</a>for the color or manually setting <code>#slide:background</code> to
- a hex color.</li>
+ href="#root/_help_OFXdgB2nNk1F">predefined promoted attribute</a>for the color or manually setting
+ <code
+ spellcheck="false">#slide:background</code>to a hex color.</li>
<li>More complex backgrounds can be achieved via gradients. There's no UI
- for it; it has to be set via <code>#slide:background</code> to a CSS gradient
- definition such as: <code>linear-gradient(to bottom, #283b95, #17b2c3)</code>.</li>
+ for it; it has to be set via <code spellcheck="false">#slide:background</code> to
+ a CSS gradient definition such as: <code spellcheck="false">linear-gradient(to bottom, #283b95, #17b2c3)</code>.</li>
</ul>
<h2>Tips and tricks</h2>
<ul>
@@ -115,7 +116,7 @@
<p>Consider using a transparent background for&nbsp;<a class="reference-link"
href="#root/_help_grjYqerjn243">Canvas</a>, if the slides have a custom background
(go to the hamburger menu in the Canvas, press the button select a custom
- color and write <code>transparent</code>).</p>
+ color and write <code spellcheck="false">transparent</code>).</p>
</li>
<li>
<p>For&nbsp;<a class="reference-link" href="#root/_help_s1aBHPd79XYj">Mermaid Diagrams</a>,
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Table.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Table.html
index 1edc7c10a0..deea344639 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Table.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Table.html
@@ -20,12 +20,12 @@
show up in the child notes, but it's not a requirement.</li>
</ul>
</li>
- <li>If there are multiple attribute definitions with the same <code>name</code>,
+ <li>If there are multiple attribute definitions with the same <code spellcheck="false">name</code>,
only one will be displayed.</li>
</ul>
<p>There are also a few predefined columns:</p>
<ul>
- <li>The current item number, identified by the <code>#</code> symbol.
+ <li>The current item number, identified by the <code spellcheck="false">#</code> symbol.
<ul>
<li>This simply counts the note and is affected by sorting.</li>
</ul>
@@ -138,7 +138,8 @@
href="#root/_help_oPVyFC7WL2Lp">Note Tree</a>.</p>
<p>Reordering does have some limitations:</p>
<ul>
- <li>If the parent note has <code>#sorted</code>, reordering will be disabled.</li>
+ <li>If the parent note has <code spellcheck="false">#sorted</code>, reordering
+ will be disabled.</li>
<li>If using nested tables, then reordering will also be disabled.</li>
<li>Currently, it's possible to reorder notes even if column sorting is used,
but the result might be inconsistent.</li>
@@ -161,7 +162,8 @@
<li>To re-enable unlimited nesting, remove the number and press Enter.</li>
</ul>
</li>
- <li>Manually set <code>maxNestingDepth</code> to the desired value.</li>
+ <li>Manually set <code spellcheck="false">maxNestingDepth</code> to the desired
+ value.</li>
</ul>
<p>Limitations:</p>
<ul>
@@ -177,7 +179,7 @@
</ul>
<h2>Use in search</h2>
<p>The table view can be used in a&nbsp;<a class="reference-link" href="#root/_help_m523cpzocqaD">Saved Search</a>&nbsp;by
- adding the <code>#viewType=table</code> attribute.</p>
+ adding the <code spellcheck="false">#viewType=table</code> attribute.</p>
<p>Unlike when used in a Collection, saved searches are not limited to the
sub-hierarchy of a note and allows for advanced queries thanks to the power
of the&nbsp;<a class="reference-link" href="#root/_help_eIg8jdvaoNNd">Search</a>.</p>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/FAQ.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/FAQ.html
index a6584ede66..dcba276660 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/FAQ.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/FAQ.html
@@ -25,14 +25,14 @@
<p>Common request is to allow multiple users collaborate, share notes etc.
So far I'm resisting this because of these reasons:</p>
<ul>
- <li data-list-item-id="e43d78c1f5b229189a5900c5ad1ad21d0">it's a huge feature, or rather a Pandora's box of collaboration features
+ <li>it's a huge feature, or rather a Pandora's box of collaboration features
like user management, permissions, conflict resolution, real-time editing
of a note by multiple people etc. This would be a huge amount of work.
Trilium Notes is project made mostly by one person in free time and that's
unlikely to change in the future.</li>
- <li data-list-item-id="e8531a103221f9c2ae39866f1c1cb4b8b">given its size it would probably pivot the attention away from my main
+ <li>given its size it would probably pivot the attention away from my main
focus which is a personal note-taking</li>
- <li data-list-item-id="e9bb4f196b1b7ac0f0dfa7965927fdc4f">the assumption that only single person has access to the app simplifies
+ <li>the assumption that only single person has access to the app simplifies
many things, or just outright makes them possible. In multi-user app, our
<a
href="#root/_help_CdNpE2pqjmI6">scripting</a>support would be a XSS security hole, while with the single
@@ -47,7 +47,7 @@
href="#root/_help_tAassRL4RSQL">data directory</a>in the <code spellcheck="false">TRILIUM_DATA_DIR</code> environment
variable and separate port on <code spellcheck="false">TRILIUM_PORT</code> environment
variable. How to do that depends on the platform, in Unix-based systems
- you can achieve that by running command such as this:</p><pre><code class="language-text-x-sh">TRILIUM_DATA_DIR=/home/me/path/to/data/dir TRILIUM_PORT=12345 trilium </code></pre>
+ you can achieve that by running command such as this:</p><pre><code class="language-text-x-trilium-auto">TRILIUM_DATA_DIR=/home/me/path/to/data/dir TRILIUM_PORT=12345 trilium </code></pre>
<p>You can save this command into a <code spellcheck="false">.sh</code> script
file or make an alias. Do this similarly for a second instance with different
data directory and port.</p>
@@ -56,7 +56,7 @@
<p>These general purpose sync apps are not suitable to sync database files
which are open and being worked on by another application. The result is
that they will corrupt the database file, resulting in data loss and this
- message in the Trilium logs:</p><pre><code class="language-text-plain">SqliteError: database disk image is malformed</code></pre>
+ message in the Trilium logs:</p><pre><code class="language-text-x-trilium-auto">SqliteError: database disk image is malformed</code></pre>
<p>The only supported way to sync Trilium's data across the network is to
use a <a href="#root/_help_cbkrhQjrkKrh">sync/web server</a>.</p>
<h2>Why database instead of flat files?</h2>
@@ -69,23 +69,21 @@
with probably more problems.</p>
<p>More detailed answer:</p>
<ul>
- <li data-list-item-id="ea3cf8a951b321053b3def23e65b1a612"><a href="#root/_help_IakOLONlIfGI">clones</a> are what you might call "hard directory
+ <li><a href="#root/_help_IakOLONlIfGI">clones</a> are what you might call "hard directory
link" in filesystem lingo, but this concept is not implemented in any filesystem</li>
- <li
- data-list-item-id="eb0fcfc88860786c2b886fcc93ad1b738">filesystems make a distinction between directory and file while there's
+ <li>filesystems make a distinction between directory and file while there's
intentionally no such difference in Trilium</li>
- <li data-list-item-id="ec97e7cc69164f29f8d7919ef791a1631">files are stored in no particular order and user can't change this</li>
- <li
- data-list-item-id="e01ea1889d242bd2fadbeca1b1c315fcb">Trilium allows storing note <a href="#root/_help_zEY4DaJG4YT5">attributes</a> which
- could be represented in extended user attributes but their support differs
- greatly among different filesystems / operating systems</li>
- <li data-list-item-id="e0f4f8ea6d6f0e01fdeacdd900c8b6831">Trilium makes links / relations between different notes which can be quickly
- retrieved / navigated (e.g. for <a href="#root/_help_BCkXAVs63Ttv">note map</a>).
- There's no such support in file systems which means these would have to
- be stored in some kind of side-car files (mini-databases).</li>
- <li data-list-item-id="e9288104330d48d5fadc0f051febec972">Filesystems are generally not transactional. While this is not completely
- required for a note-taking application, having transactions make it way
- easier to keep notes and their metadata in predictable and consistent state.</li>
+ <li>files are stored in no particular order and user can't change this</li>
+ <li>Trilium allows storing note <a href="#root/_help_zEY4DaJG4YT5">attributes</a> which
+ could be represented in extended user attributes but their support differs
+ greatly among different filesystems / operating systems</li>
+ <li>Trilium makes links / relations between different notes which can be quickly
+ retrieved / navigated (e.g. for <a href="#root/_help_BCkXAVs63Ttv">note map</a>).
+ There's no such support in file systems which means these would have to
+ be stored in some kind of side-car files (mini-databases).</li>
+ <li>Filesystems are generally not transactional. While this is not completely
+ required for a note-taking application, having transactions make it way
+ easier to keep notes and their metadata in predictable and consistent state.</li>
</ul>
<h2>Search-related Questions</h2>
<h3>Why does search sometimes find results with typos?</h3>
@@ -99,9 +97,9 @@
<h3>How can I search for notes when I'm not sure of the exact spelling?</h3>
<p>Use the fuzzy search operators:</p>
<ul>
- <li data-list-item-id="e86fd90b78ff844273439cc79a7225854"><code spellcheck="false">#title ~= "projct"</code> - finds notes with titles
+ <li><code spellcheck="false">#title ~= "projct"</code> - finds notes with titles
like "project" despite the typo</li>
- <li data-list-item-id="e1c157f6b78a6e67d1d5c8ddfd75fa462"><code spellcheck="false">note.content ~* "algoritm"</code> - finds content
+ <li><code spellcheck="false">note.content ~* "algoritm"</code> - finds content
containing "algorithm" or similar words</li>
</ul>
<h3>Why do some search results appear before others with lower scores?</h3>
@@ -111,9 +109,9 @@
factors.</p>
<h3>How can I make my searches faster?</h3>
<ol>
- <li data-list-item-id="e175aefc215fa8f275ce736bac67d0669">Use the "Fast search" option to search only titles and attributes (not
+ <li>Use the "Fast search" option to search only titles and attributes (not
content)</li>
- <li data-list-item-id="eb22ee033ebaa78eb9b42268bd482a47d">Limit search scope using the "Ancestor" field</li>
- <li data-list-item-id="ef92336bcda198825a3a5b60aee2b7afe">Set a result limit to prevent loading too many results</li>
- <li data-list-item-id="e464f8a3aa32d3cb76e4cdf26b16cc797">For large databases, consider archiving old notes to reduce search scope</li>
+ <li>Limit search scope using the "Ancestor" field</li>
+ <li>Set a result limit to prevent loading too many results</li>
+ <li>For large databases, consider archiving old notes to reduce search scope</li>
</ol>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Backup.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Backup.html
index de085dcc8c..c4677663ce 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Backup.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Backup.html
@@ -9,7 +9,8 @@
</ul>
<p>So in total you'll have at most 4 backups from different points in time
which should protect you from various problems. These backups are stored
- by default in <code>backup</code> directory placed in the <a href="#root/_help_tAassRL4RSQL">data directory</a>.</p>
+ by default in <code spellcheck="false">backup</code> directory placed in
+ the <a href="#root/_help_tAassRL4RSQL">data directory</a>.</p>
<p>This is only very basic backup solution, and you're encouraged to add
some better backup solution - e.g. backing up the&nbsp;<a class="reference-link"
href="#root/_help_wX4HbRucYSDD">Database</a>&nbsp;to cloud / different computer
@@ -24,18 +25,22 @@
way is to open "About Trilium Notes" from "Menu" in upper left corner and
looking at "data directory"
<ul>
- <li>I'll refer to <code>~/trilium-data</code> as data directory from now on</li>
+ <li>I'll refer to <code spellcheck="false">~/trilium-data</code> as data directory
+ from now on</li>
</ul>
</li>
- <li>find <code>~/trilium-data/backup/backup-weekly.db</code> - this is the&nbsp;
- <a
- class="reference-link" href="#root/_help_wX4HbRucYSDD">Database</a>&nbsp;backup</li>
+ <li>find <code spellcheck="false">~/trilium-data/backup/backup-weekly.db</code> -
+ this is the&nbsp;<a class="reference-link" href="#root/_help_wX4HbRucYSDD">Database</a>&nbsp;backup</li>
<li>at this point stop/kill Trilium</li>
- <li>delete <code>~/trilium-data/document.db</code>, <code>~/trilium-data/document.db-wal</code> and <code>~/trilium-data/document.db-shm</code> (latter
- two files are auto generated)</li>
- <li>copy and rename this <code>~/trilium-data/backup/backup-weekly.db</code> to <code>~/trilium-data/document.db</code>
+ <li>delete <code spellcheck="false">~/trilium-data/document.db</code>,
+ <code
+ spellcheck="false">~/trilium-data/document.db-wal</code>and <code spellcheck="false">~/trilium-data/document.db-shm</code> (latter
+ two files are auto generated)</li>
+ <li>copy and rename this <code spellcheck="false">~/trilium-data/backup/backup-weekly.db</code> to
+ <code
+ spellcheck="false">~/trilium-data/document.db</code>
</li>
- <li>make sure that the file is writable, e.g. with <code>chmod 600 document.db</code>
+ <li>make sure that the file is writable, e.g. with <code spellcheck="false">chmod 600 document.db</code>
</li>
<li>start Trilium again</li>
</ul>
@@ -43,11 +48,13 @@
of the sync cluster, otherwise older version (restored backup) of the document
will be detected and synced to the newer version.</p>
<h2>Disabling backup</h2>
-<p>Although this is not recommended, it is possible to disable backup in <code>config.ini</code> in
- the <a href="#root/_help_tAassRL4RSQL">data directory</a>:</p><pre><code class="language-text-x-trilium-auto">[General]
+<p>Although this is not recommended, it is possible to disable backup in
+ <code
+ spellcheck="false">config.ini</code>in the <a href="#root/_help_tAassRL4RSQL">data directory</a>:</p><pre><code class="language-text-x-trilium-auto">[General]
... some other configs
# set to true to disable backups (e.g. because of limited space on server)
noBackup=true</code></pre>
<p>You can also review the <a href="#root/_help_Gzjqa934BdH4">configuration</a> file
- to provide all <code>config.ini</code> values as environment variables instead.</p>
+ to provide all <code spellcheck="false">config.ini</code> values as environment
+ variables instead.</p>
<p>See <a href="https://github.com/TriliumNext/Trilium/blob/master/config-sample.ini">sample config</a>.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Data directory.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Data directory.html
index 9f2de88530..fbd042717a 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Data directory.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Data directory.html
@@ -1,12 +1,12 @@
<p>Data directory contains:</p>
<ul>
- <li><code>document.db</code> - <a href="#root/_help_wX4HbRucYSDD">database</a>
+ <li><code spellcheck="false">document.db</code> - <a href="#root/_help_wX4HbRucYSDD">database</a>
</li>
- <li><code>config.ini</code> - instance level settings like port on which the
- Trilium application runs</li>
- <li><code>backup</code> - contains automatically <a href="#root/_help_ODY7qQn5m2FT">backup</a> of
+ <li><code spellcheck="false">config.ini</code> - instance level settings like
+ port on which the Trilium application runs</li>
+ <li><code spellcheck="false">backup</code> - contains automatically <a href="#root/_help_ODY7qQn5m2FT">backup</a> of
documents</li>
- <li><code>log</code> - contains application log files</li>
+ <li><code spellcheck="false">log</code> - contains application log files</li>
</ul>
<h2>Location of the data directory</h2>
<p>Easy way how to find out which data directory Trilium uses is to look
@@ -15,12 +15,14 @@
<img src="Data directory_image.png">
</p>
<p>Here's how the location is decided:</p>
-<p>Data directory is normally named <code>trilium-data</code> and it is stored
- in:</p>
+<p>Data directory is normally named <code spellcheck="false">trilium-data</code> and
+ it is stored in:</p>
<ul>
- <li><code>/home/[user]/.local/share</code> for Linux</li>
- <li><code>C:\Users\[user]\AppData\Roaming</code> for Windows Vista and up</li>
- <li><code>/Users/[user]/Library/Application Support</code> for Mac OS</li>
+ <li><code spellcheck="false">/home/[user]/.local/share</code> for Linux</li>
+ <li><code spellcheck="false">C:\Users\[user]\AppData\Roaming</code> for Windows
+ Vista and up</li>
+ <li><code spellcheck="false">/Users/[user]/Library/Application Support</code> for
+ Mac OS</li>
<li>user's home is a fallback if some of the paths above don't exist</li>
<li>user's home is also a default setup for [[docker|Docker server installation]]</li>
</ul>
@@ -28,7 +30,7 @@
- it contains everything you need.</p>
<h3>Changing the location of data directory</h3>
<p>If you want to use some other location for the data directory than the
- default one, you may change it via <code>TRILIUM_DATA_DIR</code> environment
+ default one, you may change it via <code spellcheck="false">TRILIUM_DATA_DIR</code> environment
variable to some other location:</p>
<h3>Windows</h3>
<ol>
@@ -37,16 +39,17 @@
<li>Press the “Environment Variables…” button in the bottom-right of the newly
opened screen.</li>
<li>On the top section ("User variables for [user]"), press the “New…” button.</li>
- <li>In the <em>Variable name</em> field insert <code>TRILIUM_DATA_DIR</code>.</li>
+ <li>In the <em>Variable name</em> field insert <code spellcheck="false">TRILIUM_DATA_DIR</code>.</li>
<li>Press the <em>Browse Directory…</em> button and select the new directory
where to store the database.</li>
<li>Close all the windows by pressing the <em>OK</em> button for each of them.</li>
</ol>
<h4>Linux</h4><pre><code class="language-text-x-trilium-auto">export TRILIUM_DATA_DIR=/home/myuser/data/my-trilium-data</code></pre>
<h4>Mac OS X</h4>
-<p>You need to create a <code>.plist</code> file under <code>~/Library/LaunchAgents</code> to
- load it properly each login.</p>
-<p>To load it manually, you need to use <code>launchctl setenv TRILIUM_DATA_DIR &lt;yourpath&gt;</code>
+<p>You need to create a <code spellcheck="false">.plist</code> file under
+ <code
+ spellcheck="false">~/Library/LaunchAgents</code>to load it properly each login.</p>
+<p>To load it manually, you need to use <code spellcheck="false">launchctl setenv TRILIUM_DATA_DIR &lt;yourpath&gt;</code>
</p>
<p>Here is a pre-defined template, where you just need to add your path to:</p><pre><code class="language-text-x-trilium-auto"> Label
set.trilium.env
@@ -63,7 +66,8 @@
the Trilium Notes with this environment variable. This then allows for
different setup styles like two <a href="#root/_help_wX4HbRucYSDD">database</a> instances
or "portable" installation.</p>
-<p>To do this in Unix-based systems simply run <code>trilium</code> like this:</p><pre><code class="language-text-x-trilium-auto">TRILIUM_DATA_DIR=/home/myuser/data/my-trilium-data trilium</code></pre>
+<p>To do this in Unix-based systems simply run <code spellcheck="false">trilium</code> like
+ this:</p><pre><code class="language-text-x-trilium-auto">TRILIUM_DATA_DIR=/home/myuser/data/my-trilium-data trilium</code></pre>
<p>You can then save the above command as a shell script on your path for
convenience.</p>
<h2>Fine-grained directory/path location</h2>
@@ -79,49 +83,49 @@
</thead>
<tbody>
<tr>
- <td><code>TRILIUM_DOCUMENT_PATH</code>
+ <td><code spellcheck="false">TRILIUM_DOCUMENT_PATH</code>
</td>
- <td><code>${TRILIUM_DATA_DIR}/document.db</code>
+ <td><code spellcheck="false">${TRILIUM_DATA_DIR}/document.db</code>
</td>
<td>Path to the&nbsp;<a class="reference-link" href="#root/_help_wX4HbRucYSDD">Database</a>&nbsp;(storing
all notes and metadata).</td>
</tr>
<tr>
- <td><code>TRILIUM_BACKUP_DIR</code>
+ <td><code spellcheck="false">TRILIUM_BACKUP_DIR</code>
</td>
- <td><code>${TRILIUM_DATA_DIR}/backup</code>
+ <td><code spellcheck="false">${TRILIUM_DATA_DIR}/backup</code>
</td>
<td>Directory where automated&nbsp;<a class="reference-link" href="#root/_help_ODY7qQn5m2FT">Backup</a>&nbsp;databases
are stored.</td>
</tr>
<tr>
- <td><code>TRILIUM_LOG_DIR</code>
+ <td><code spellcheck="false">TRILIUM_LOG_DIR</code>
</td>
- <td><code>${TRILIUM_DATA_DIR}/log</code>
+ <td><code spellcheck="false">${TRILIUM_DATA_DIR}/log</code>
</td>
<td>Directory where daily&nbsp;<a class="reference-link" href="#root/_help_bnyigUA2UK7s">Backend (server) logs</a>&nbsp;are
stored.</td>
</tr>
<tr>
- <td><code>TRILIUM_TMP_DIR</code>
+ <td><code spellcheck="false">TRILIUM_TMP_DIR</code>
</td>
- <td><code>${TRILIUM_DATA_DIR}/tmp</code>
+ <td><code spellcheck="false">${TRILIUM_DATA_DIR}/tmp</code>
</td>
<td>Directory where temporary files are stored (for example when opening in
an external app).</td>
</tr>
<tr>
- <td><code>TRILIUM_ANONYMIZED_DB_DIR</code>
+ <td><code spellcheck="false">TRILIUM_ANONYMIZED_DB_DIR</code>
</td>
- <td><code>${TRILIUM_DATA_DIR}/anonymized-db</code>
+ <td><code spellcheck="false">${TRILIUM_DATA_DIR}/anonymized-db</code>
</td>
<td>Directory where a&nbsp;<a class="reference-link" href="#root/_help_x59R8J8KV5Bp">Anonymized Database</a>&nbsp;is
stored.</td>
</tr>
<tr>
- <td><code>TRILIUM_CONFIG_INI_PATH</code>
+ <td><code spellcheck="false">TRILIUM_CONFIG_INI_PATH</code>
</td>
- <td><code>${TRILIUM_DATA_DIR}/config.ini</code>
+ <td><code spellcheck="false">${TRILIUM_DATA_DIR}/config.ini</code>
</td>
<td>Path to&nbsp;<a class="reference-link" href="#root/_help_Gzjqa934BdH4">Configuration (config.ini or environment variables)</a>&nbsp;file.</td>
</tr>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation.html
index 5adf8dbe18..40d7ddd89c 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation.html
@@ -5,26 +5,28 @@
GitHub.</li>
<li><strong>Extract the Package</strong>: Unzip the downloaded package to
a location of your choice.</li>
- <li><strong>Run the Application</strong>: Launch Trilium by executing the <code>trilium</code> executable
- found within the unzipped folder.</li>
+ <li><strong>Run the Application</strong>: Launch Trilium by executing the
+ <code
+ spellcheck="false">trilium</code>executable found within the unzipped folder.</li>
</ol>
<h2>Startup Scripts</h2>
<p>Trilium offers various startup scripts to customize your experience:</p>
<ul>
- <li><code>trilium-no-cert-check</code>: Starts Trilium without validating
- <a
- href="#root/_help_l2VkvOwUNfZj">TLS certificates</a>, useful if connecting to a server with a self-signed
- certificate.
- <ul>
- <li>Alternatively, set the <code>NODE_TLS_REJECT_UNAUTHORIZED=0</code> environment
- variable before starting Trilium.</li>
- </ul>
+ <li><code spellcheck="false">trilium-no-cert-check</code>: Starts Trilium
+ without validating <a href="#root/_help_l2VkvOwUNfZj">TLS certificates</a>, useful
+ if connecting to a server with a self-signed certificate.
+ <ul>
+ <li>Alternatively, set the <code spellcheck="false">NODE_TLS_REJECT_UNAUTHORIZED=0</code> environment
+ variable before starting Trilium.</li>
+ </ul>
</li>
- <li><code>trilium-portable</code>: Launches Trilium in portable mode, where
- the <a href="#root/_help_tAassRL4RSQL">data directory</a> is created within the
- application's directory, making it easy to move the entire setup.</li>
- <li><code>trilium-safe-mode</code>: Boots Trilium in "safe mode," disabling
- any startup scripts that might cause the application to crash.</li>
+ <li><code spellcheck="false">trilium-portable</code>: Launches Trilium in
+ portable mode, where the <a href="#root/_help_tAassRL4RSQL">data directory</a> is
+ created within the application's directory, making it easy to move the
+ entire setup.</li>
+ <li><code spellcheck="false">trilium-safe-mode</code>: Boots Trilium in "safe
+ mode," disabling any startup scripts that might cause the application to
+ crash.</li>
</ul>
<h2>Synchronization</h2>
<p>For Trilium desktop users who wish to synchronize their data with a server
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation/Nix flake.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation/Nix flake.html
index 6436cfbe85..5d72c46e82 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation/Nix flake.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation/Nix flake.html
@@ -5,15 +5,17 @@
About 3-4 gigabytes of additional storage space, for build artifacts.</p>
<h2>Run directly</h2>
<p>Using <a href="https://nix.dev/manual/nix/stable/command-ref/new-cli/nix3-run.html">nix run</a>,
- the desktop app can be started as: <code>nix run github:TriliumNext/Trilium/v0.95.0</code>
+ the desktop app can be started as: <code spellcheck="false">nix run github:TriliumNext/Trilium/v0.95.0</code>
</p>
-<p>Running the server requires explicitly specifying the desired package: <code>nix run github:TriliumNext/Trilium/v0.95.0#server</code>
+<p>Running the server requires explicitly specifying the desired package:
+ <code
+ spellcheck="false">nix run github:TriliumNext/Trilium/v0.95.0#server</code>
</p>
-<p>Instead of a version (<code>v0.95.0</code> above), you can also specify
- a commit hash (or a branch name). This makes it easy to test development
- builds.</p>
+<p>Instead of a version (<code spellcheck="false">v0.95.0</code> above), you
+ can also specify a commit hash (or a branch name). This makes it easy to
+ test development builds.</p>
<h2>Install on NixOS</h2>
-<p>Add to your <code>flake.nix</code>:</p><pre><code class="language-text-x-trilium-auto">{
+<p>Add to your <code spellcheck="false">flake.nix</code>:</p><pre><code class="language-text-x-trilium-auto">{
inputs = {
nixpkgs.url = # ...;
trilium-notes = {
@@ -46,7 +48,7 @@
};
}
</code></pre>
-<p>Add to your <code>configuration.nix</code>:</p><pre><code class="language-text-x-trilium-auto">{
+<p>Add to your <code spellcheck="false">configuration.nix</code>:</p><pre><code class="language-text-x-trilium-auto">{
# ...
trilium-notes,
...
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation/System Requirements.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation/System Requirements.html
index 6b3d6a591a..dccd6c556f 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation/System Requirements.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation/System Requirements.html
@@ -9,7 +9,7 @@
<li>Linux:
<ul>
<li>Most modern distributions are supported, including NixOS.</li>
- <li>ARM is supported in <code>aarch64</code> (no ARM v7 support).</li>
+ <li>ARM is supported in <code spellcheck="false">aarch64</code> (no ARM v7 support).</li>
</ul>
</li>
<li>macOS
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation/Using the desktop application .html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation/Using the desktop application .html
index 225d1183a8..66d4c23810 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation/Using the desktop application .html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation/Using the desktop application .html
@@ -15,8 +15,8 @@ class="admonition note">
href="#root/_help_x3i7MxGccDuM">Global menu</a>&nbsp;and select “Switch to the
mobile version”.</p>
<h2>Allowing the port externally on Windows with Windows Defender Firewall</h2>
- <p>First, find out the IP of your desktop server by running <code>ipconfig</code> in
- your local terminal. Then try accessing <code>http://&lt;ip&gt;:37840/login</code> on
+ <p>First, find out the IP of your desktop server by running <code spellcheck="false">ipconfig</code> in
+ your local terminal. Then try accessing <code spellcheck="false">http://&lt;ip&gt;:37840/login</code> on
another device. If it doesn't work, then most likely the port is blocked
by your operating system's firewall.</p>
<p>If you use Windows Defender Firewall:</p>
@@ -26,8 +26,8 @@ class="admonition note">
<li>Go to “Inbound Rules” on the left tree, and select “New Rule” in the “Actions”
sidebar on the right.</li>
<li>Select “Port” and press “Next”.</li>
- <li>Type in <code>37840</code> in the “Specific local ports” section and then
- press “Next”.</li>
+ <li>Type in <code spellcheck="false">37840</code> in the “Specific local ports”
+ section and then press “Next”.</li>
<li>Leave “Allow the connection” checked and press “Next”.</li>
<li>Configure the networks to apply to (check all if unsure) and then press
“Next”.</li>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Mobile Frontend.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Mobile Frontend.html
index 5d994dac2c..6ec57676f5 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Mobile Frontend.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Mobile Frontend.html
@@ -10,7 +10,7 @@
<p>If you are running Trilium without a dedicated <a href="#root/_help_WOcw2SLH6tbX">server installation</a>,
you can still test the mobile application using the desktop application.
For more information, see&nbsp;<a class="reference-link" href="#root/_help_nRqcgfTb97uV">Using the desktop application as a server</a>.
- To access it go to <code>http://&lt;ip&gt;:37840/login?mobile</code> .</p>
+ To access it go to <code spellcheck="false">http://&lt;ip&gt;:37840/login?mobile</code> .</p>
<h2>Limitations</h2>
<p>Mobile frontend provides only some of the features of the full desktop
frontend:</p>
@@ -25,9 +25,11 @@
</ul>
<h2>Forcing mobile/desktop frontend</h2>
<p>Trilium decides automatically whether to use mobile or desktop frontend.
- If this is not appropriate, you can use <code>?mobile</code> or <code>?desktop</code> query
- param on <strong>login</strong> page (Note: you might need to log out).</p>
+ If this is not appropriate, you can use <code spellcheck="false">?mobile</code> or
+ <code
+ spellcheck="false">?desktop</code>query param on <strong>login</strong> page (Note: you might
+ need to log out).</p>
<h2>Scripting</h2>
<p>You can alter the behavior with <a href="#root/_help_CdNpE2pqjmI6">scripts</a> just
like for normal frontend. For script notes to be executed, they need to
- have labeled <code>#run=mobileStartup</code>.</p>
\ No newline at end of file
+ have labeled <code spellcheck="false">#run=mobileStartup</code>.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation.html
index dfaa68a0d2..7b3a54250e 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation.html
@@ -26,33 +26,36 @@
<h2>Configuration</h2>
<p>After setting up your server installation, you may want to configure settings
such as the port or enable <a href="#root/_help_l2VkvOwUNfZj">TLS</a>. Configuration
- is managed via the Trilium <code>config.ini</code> file, which is located
- in the <a href="#root/_help_tAassRL4RSQL">data directory</a> by default. To begin
- customizing your setup, copy the provided <code>config-sample.ini</code> file
- with default values to <code>config.ini</code>.</p>
+ is managed via the Trilium <code spellcheck="false">config.ini</code> file,
+ which is located in the <a href="#root/_help_tAassRL4RSQL">data directory</a> by
+ default. To begin customizing your setup, copy the provided <code spellcheck="false">config-sample.ini</code> file
+ with default values to <code spellcheck="false">config.ini</code>.</p>
<p>You can also review the <a href="#root/_help_Gzjqa934BdH4">configuration</a> file
- to provide all <code>config.ini</code> values as environment variables instead.</p>
+ to provide all <code spellcheck="false">config.ini</code> values as environment
+ variables instead.</p>
<h3>Config Location</h3>
-<p>By default, <code>config.ini</code>, the <a href="#root/_help_wX4HbRucYSDD">database</a>,
+<p>By default, <code spellcheck="false">config.ini</code>, the <a href="#root/_help_wX4HbRucYSDD">database</a>,
and other important Trilium data files are stored in the <a href="#root/_help_tAassRL4RSQL">data directory</a>.
- If you prefer a different location, you can change it by setting the <code>TRILIUM_DATA_DIR</code> environment
- variable:</p><pre><code class="language-text-x-trilium-auto">export TRILIUM_DATA_DIR=/home/myuser/data/my-trilium-data</code></pre>
+ If you prefer a different location, you can change it by setting the
+ <code
+ spellcheck="false">TRILIUM_DATA_DIR</code>environment variable:</p><pre><code class="language-text-x-trilium-auto">export TRILIUM_DATA_DIR=/home/myuser/data/my-trilium-data</code></pre>
<h3>Disabling / Modifying the Upload Limit</h3>
<p>If you're running into the 250MB limit imposed on the server by default,
- and you'd like to increase the upload limit, you can set the <code>TRILIUM_NO_UPLOAD_LIMIT</code> environment
- variable to <code>true</code> to disable it completely:</p><pre><code class="language-text-x-trilium-auto">export TRILIUM_NO_UPLOAD_LIMIT=true </code></pre>
+ and you'd like to increase the upload limit, you can set the <code spellcheck="false">TRILIUM_NO_UPLOAD_LIMIT</code> environment
+ variable to <code spellcheck="false">true</code> to disable it completely:</p><pre><code class="language-text-x-trilium-auto">export TRILIUM_NO_UPLOAD_LIMIT=true </code></pre>
<p>Or, if you'd simply like to <em>increase</em> the upload limit size to something
- beyond 250MB, you can set the <code>MAX_ALLOWED_FILE_SIZE_MB</code> environment
- variable to something larger than the integer <code>250</code> (e.g. <code>450</code> in
- the following example):</p><pre><code class="language-text-x-trilium-auto">export MAX_ALLOWED_FILE_SIZE_MB=450</code></pre>
+ beyond 250MB, you can set the <code spellcheck="false">MAX_ALLOWED_FILE_SIZE_MB</code> environment
+ variable to something larger than the integer <code spellcheck="false">250</code> (e.g.
+ <code
+ spellcheck="false">450</code>in the following example):</p><pre><code class="language-text-x-trilium-auto">export MAX_ALLOWED_FILE_SIZE_MB=450</code></pre>
<h3>Disabling Authentication</h3>
<p>See&nbsp;<a class="reference-link" href="#root/_help_0hzsNCP31IAB">Authentication</a>.</p>
<h2>Reverse Proxy Setup</h2>
<p>To configure a reverse proxy for Trilium, you can use either <strong>nginx</strong> or <strong>Apache</strong>.
You can also check out the documentation stored in the Reverse proxy folder.</p>
<h3>nginx</h3>
-<p>Add the following configuration to your <code>nginx</code> setup to proxy
- requests to Trilium:</p><pre><code class="language-text-x-trilium-auto">location /trilium/ {
+<p>Add the following configuration to your <code spellcheck="false">nginx</code> setup
+ to proxy requests to Trilium:</p><pre><code class="language-text-x-trilium-auto">location /trilium/ {
proxy_pass http://127.0.0.1:8080/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
@@ -60,7 +63,7 @@
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}</code></pre>
-<p>To avoid limiting the size of payloads, include this in the <code>server {}</code> block:</p><pre><code class="language-text-x-trilium-auto"># Set to 0 for unlimited. Default is 1M.
+<p>To avoid limiting the size of payloads, include this in the <code spellcheck="false">server {}</code> block:</p><pre><code class="language-text-x-trilium-auto"># Set to 0 for unlimited. Default is 1M.
client_max_body_size 0;</code></pre>
<h3>Apache</h3>
<p>For an Apache setup, refer to the <a href="#root/_help_fDLvzOx29Pfg">Apache proxy setup</a> guide.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Manually.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Manually.html
index fbc6913c23..d61946a18c 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Manually.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Manually.html
@@ -20,7 +20,9 @@
<h2>Installation</h2>
<h3>Download</h3>
<p>You can either download source code zip/tar from <a href="https://github.com/TriliumNext/Trilium/releases/latest">https://github.com/TriliumNext/Trilium/releases/latest</a>.</p>
-<p>For the latest version including betas, clone Git repository <strong>from</strong> <code>main</code> <strong>branch</strong> with:</p><pre><code class="language-text-x-trilium-auto">git clone -b main https://github.com/triliumnext/trilium.git</code></pre>
+<p>For the latest version including betas, clone Git repository <strong>from</strong>
+ <code
+ spellcheck="false">main</code> <strong>branch</strong> with:</p><pre><code class="language-text-x-trilium-auto">git clone -b main https://github.com/triliumnext/trilium.git</code></pre>
<h2>Installation</h2><pre><code class="language-text-x-trilium-auto">cd trilium
# download all node dependencies
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Multiple server instances.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Multiple server instances.html
index 91a0d2241a..40be44230c 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Multiple server instances.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Multiple server instances.html
@@ -9,7 +9,7 @@
class="reference-link" href="#root/_help_J1Bb6lVlwU5T">Manually</a>, if starting the server manually just specify a different
port and data directory per instance:</p><pre><code class="language-text-x-trilium-auto">TRILIUM_NETWORK_PORT=8080 TRILIUM_DATA_DIR=/path/to/your/data-dir-A /opt/trilium/trilium.sh</code></pre>
<p>For a second instance:</p><pre><code class="language-text-x-trilium-auto">TRILIUM_NETWORK_PORT=8081 TRILIUM_DATA_DIR=/path/to/your/data-dir-B /opt/trilium/trilium.sh</code></pre>
- <p>If using <code>systemd</code>, then set the <a href="https://serverfault.com/questions/413397/how-to-set-environment-variable-in-systemd-service">environment variables in the service configuration</a>.</p>
+ <p>If using <code spellcheck="false">systemd</code>, then set the <a href="https://serverfault.com/questions/413397/how-to-set-environment-variable-in-systemd-service">environment variables in the service configuration</a>.</p>
</li>
<li>
<p>For&nbsp;<a class="reference-link" href="#root/_help_rWX5eY045zbE">Using Docker</a>,
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/On NixOS.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/On NixOS.html
index b965f62fc6..4955dda602 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/On NixOS.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/On NixOS.html
@@ -2,7 +2,7 @@
<h2>Requirements</h2>
<p><a href="https://nixos.org/">NixOS</a> installation.</p>
<h2>Configuration</h2>
-<p>Add this to your <code>configuration.nix</code>:</p><pre><code class="language-text-x-trilium-auto">services.trilium-server.enable = true;
+<p>Add this to your <code spellcheck="false">configuration.nix</code>:</p><pre><code class="language-text-x-trilium-auto">services.trilium-server.enable = true;
# default data directory: /var/lib/trilium
#services.trilium-server.dataDir = "/var/lib/trilium-sync-server";
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Packaged version for Linux.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Packaged version for Linux.html
index 726c89f2cd..b0ca40607d 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Packaged version for Linux.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Packaged version for Linux.html
@@ -3,14 +3,15 @@
<h2>Steps</h2>
<ul>
<li>SSH into your server</li>
- <li>use <code>wget</code> (or <code>curl</code>) to download latest <code>TriliumNotes-Server-[VERSION]-linux-x64.tar.xz</code> (copy
+ <li>use <code spellcheck="false">wget</code> (or <code spellcheck="false">curl</code>)
+ to download latest <code spellcheck="false">TriliumNotes-Server-[VERSION]-linux-x64.tar.xz</code> (copy
link from <a href="https://github.com/TriliumNext/Trilium/releases">release page</a>,
- notice <code>-Server</code> suffix) on your server.</li>
- <li>unpack the archive, e.g. using <code>tar -xf -d TriliumNotes-Server-[VERSION]-linux-x64.tar.xz</code>
+ notice <code spellcheck="false">-Server</code> suffix) on your server.</li>
+ <li>unpack the archive, e.g. using <code spellcheck="false">tar -xf -d TriliumNotes-Server-[VERSION]-linux-x64.tar.xz</code>
</li>
- <li><code>cd trilium-linux-x64-server</code>
+ <li><code spellcheck="false">cd trilium-linux-x64-server</code>
</li>
- <li><code>./trilium.sh</code>
+ <li><code spellcheck="false">./trilium.sh</code>
</li>
<li>you can open the browser and open http://[your-server-hostname]:8080 and
you should see Trilium initialization page</li>
@@ -18,9 +19,10 @@
<p>The problem with above steps is that once you close the SSH connection,
the Trilium process is terminated. To avoid that, you have two options:</p>
<ul>
- <li>Kill it (with e.g. <kbd>Ctrl</kbd> + <kbd>C</kbd>) and run again like this: <code>nohup ./trilium.sh &amp;</code>.
- (nohup keeps the process running in the background, <code>&amp;</code> runs
- it in the background)</li>
+ <li>Kill it (with e.g. <kbd>Ctrl</kbd> + <kbd>C</kbd>) and run again like this:
+ <code
+ spellcheck="false">nohup ./trilium.sh &amp;</code>. (nohup keeps the process running in the
+ background, <code spellcheck="false">&amp;</code> runs it in the background)</li>
<li>Configure systemd to automatically run Trilium in the background on every
boot</li>
</ul>
@@ -62,7 +64,7 @@ WantedBy=multi-user.target</code></pre>
<h2>Simple Autoupdate for Server</h2>
<p>Run as the same User Trilium runs</p>
<p>if you run as root please remove 'sudo' from the commands</p>
-<p>requires "jq" <code>apt install jq</code>
+<p>requires "jq" <code spellcheck="false">apt install jq</code>
</p>
<p>It will stop the service above, overwrite everything (i expect no config.ini),
and start service It also creates a version file in the Trilium directory
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Using Docker.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Using Docker.html
index 3d149b561e..016662b751 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Using Docker.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Using Docker.html
@@ -11,22 +11,25 @@
<aside class="admonition warning">
<p>If you're using a SMB/CIFS share or folder as your Trilium data directory,
<a
- href="https://github.com/TriliumNext/Notes/issues/415#issuecomment-2344824400">you'll need</a>to add the mount options of <code>nobrl</code> and <code>noperm</code> when
- mounting your SMB share.</p>
+ href="https://github.com/TriliumNext/Notes/issues/415#issuecomment-2344824400">you'll need</a>to add the mount options of <code spellcheck="false">nobrl</code> and
+ <code
+ spellcheck="false">noperm</code>when mounting your SMB share.</p>
</aside>
<h2>Running with Docker Compose</h2>
<h3>Grab the latest docker-compose.yml:</h3><pre><code class="language-text-x-trilium-auto">wget https://raw.githubusercontent.com/TriliumNext/Trilium/master/docker-compose.yml</code></pre>
-<p>Optionally, edit the <code>docker-compose.yml</code> file to configure the
- container settings prior to starting it. Unless configured otherwise, the
- data directory will be <code>~/trilium-data</code> and the container will
- be accessible at port 8080.</p>
+<p>Optionally, edit the <code spellcheck="false">docker-compose.yml</code> file
+ to configure the container settings prior to starting it. Unless configured
+ otherwise, the data directory will be <code spellcheck="false">~/trilium-data</code> and
+ the container will be accessible at port 8080.</p>
<h3>Start the container:</h3>
<p>Run the following command to start the container in the background:</p><pre><code class="language-text-x-trilium-auto">docker compose up -d</code></pre>
<h2>Running without Docker Compose / Further Configuration</h2>
<h3>Pulling the Docker Image</h3>
-<p>To pull the image, use the following command, replacing <code>[VERSION]</code> with
- the desired version or tag, such as <code>v0.91.6</code> or just <code>latest</code>.
- (See published tag names at <a href="https://hub.docker.com/r/triliumnext/trilium/tags">https://hub.docker.com/r/triliumnext/trilium/tags</a>.):</p><pre><code class="language-text-x-trilium-auto">docker pull triliumnext/trilium:v0.91.6</code></pre>
+<p>To pull the image, use the following command, replacing <code spellcheck="false">[VERSION]</code> with
+ the desired version or tag, such as <code spellcheck="false">v0.91.6</code> or
+ just <code spellcheck="false">latest</code>. (See published tag names at
+ <a
+ href="https://hub.docker.com/r/triliumnext/trilium/tags">https://hub.docker.com/r/triliumnext/trilium/tags</a>.):</p><pre><code class="language-text-x-trilium-auto">docker pull triliumnext/trilium:v0.91.6</code></pre>
<p><strong>Warning:</strong> Avoid using the "latest" tag, as it may automatically
upgrade your instance to a new minor version, potentially disrupting sync
setups or causing other issues.</p>
@@ -39,26 +42,27 @@
setup is suitable for testing or when using a proxy server like Nginx or
Apache.</p><pre><code class="language-text-x-trilium-auto">sudo docker run -t -i -p 127.0.0.1:8080:8080 -v ~/trilium-data:/home/node/trilium-data triliumnext/trilium:[VERSION]</code></pre>
<ol>
- <li>Verify the container is running using <code>docker ps</code>.</li>
- <li>Access Trilium via a web browser at <code>127.0.0.1:8080</code>.</li>
+ <li>Verify the container is running using <code spellcheck="false">docker ps</code>.</li>
+ <li>Access Trilium via a web browser at <code spellcheck="false">127.0.0.1:8080</code>.</li>
</ol>
<h4>Local Network Access</h4>
<p>To make the container accessible only on your local network, first create
a new Docker network:</p><pre><code class="language-text-x-trilium-auto">docker network create -d macvlan -o parent=eth0 --subnet 192.168.2.0/24 --gateway 192.168.2.254 --ip-range 192.168.2.252/27 mynet</code></pre>
<p>Then, run the container with the network settings:</p><pre><code class="language-text-x-trilium-auto">docker run --net=mynet -d -p 127.0.0.1:8080:8080 -v ~/trilium-data:/home/node/trilium-data triliumnext/trilium:-latest</code></pre>
<p>To set a different user ID (UID) and group ID (GID) for the saved data,
- use the <code>USER_UID</code> and <code>USER_GID</code> environment variables:</p><pre><code class="language-text-x-trilium-auto">docker run --net=mynet -d -p 127.0.0.1:8080:8080 -e "USER_UID=1001" -e "USER_GID=1001" -v ~/trilium-data:/home/node/trilium-data triliumnext/trilium:-latest</code></pre>
-<p>Find the local IP address using <code>docker inspect [container_name]</code> and
+ use the <code spellcheck="false">USER_UID</code> and <code spellcheck="false">USER_GID</code> environment
+ variables:</p><pre><code class="language-text-x-trilium-auto">docker run --net=mynet -d -p 127.0.0.1:8080:8080 -e "USER_UID=1001" -e "USER_GID=1001" -v ~/trilium-data:/home/node/trilium-data triliumnext/trilium:-latest</code></pre>
+<p>Find the local IP address using <code spellcheck="false">docker inspect [container_name]</code> and
access the service from devices on the local network.</p><pre><code class="language-text-x-trilium-auto">docker ps
docker inspect [container_name]</code></pre>
<h4>Global Access</h4>
<p>To allow access from any IP address, run the container as follows:</p><pre><code class="language-text-x-trilium-auto">docker run -d -p 0.0.0.0:8080:8080 -v ~/trilium-data:/home/node/trilium-data triliumnext/trilium:[VERSION]</code></pre>
-<p>Stop the container with <code>docker stop &lt;CONTAINER ID&gt;</code>,
- where the container ID is obtained from <code>docker ps</code>.</p>
+<p>Stop the container with <code spellcheck="false">docker stop &lt;CONTAINER ID&gt;</code>,
+ where the container ID is obtained from <code spellcheck="false">docker ps</code>.</p>
<h3>Custom Data Directory</h3>
<p>For a custom data directory, use:</p><pre><code class="language-text-x-trilium-auto">-v ~/YourOwnDirectory:/home/node/trilium-data triliumnext/trilium:[VERSION]</code></pre>
<p>If you want to run your instance in a non-default way, please use the
- volume switch as follows: <code>-v ~/YourOwnDirectory:/home/node/trilium-data triliumnext/trilium:&lt;VERSION&gt;</code>.
+ volume switch as follows: <code spellcheck="false">-v ~/YourOwnDirectory:/home/node/trilium-data triliumnext/trilium:&lt;VERSION&gt;</code>.
It is important to be aware of how Docker works for volumes, with the first
path being your own and the second the one to virtually bind to. <a href="https://docs.docker.com/storage/volumes/">https://docs.docker.com/storage/volumes/</a> The
path before the colon is the host directory, and the path after the colon
@@ -71,21 +75,24 @@ docker inspect [container_name]</code></pre>
</li>
</ol>
<h3>Note on --user Directive</h3>
-<p>The <code>--user</code> directive is unsupported. Instead, use the <code>USER_UID</code> and <code>USER_GID</code> environment
+<p>The <code spellcheck="false">--user</code> directive is unsupported. Instead,
+ use the <code spellcheck="false">USER_UID</code> and <code spellcheck="false">USER_GID</code> environment
variables to set the appropriate user and group IDs.</p>
<h3>Note on timezones</h3>
<p>If you are having timezone issues and you are not using docker-compose,
- you may need to add a <code>TZ</code> environment variable with the <a href="https://en.wikipedia.org/wiki/List_of_tz_database_time_zones">TZ identifier</a> of
+ you may need to add a <code spellcheck="false">TZ</code> environment variable
+ with the <a href="https://en.wikipedia.org/wiki/List_of_tz_database_time_zones">TZ identifier</a> of
your local timezone.</p>
<h2>Rootless Docker Image</h2>
<aside class="admonition note">
- <p>Please keep in mind that the data directory is at <code>/home/trilium/trilium-data</code> instead
- of the typical <code>/home/node/trilium-data</code>. This is because a new
- user is created and used to run Trilium within the rootless containers.</p>
+ <p>Please keep in mind that the data directory is at <code spellcheck="false">/home/trilium/trilium-data</code> instead
+ of the typical <code spellcheck="false">/home/node/trilium-data</code>.
+ This is because a new user is created and used to run Trilium within the
+ rootless containers.</p>
</aside>
<p>If you would prefer to run Trilium without having to run the Docker container
- as <code>root</code>, you can use either of the provided Debian (default)
- and Alpine-based images with the <code>rootless</code> tag.&nbsp;</p>
+ as <code spellcheck="false">root</code>, you can use either of the provided
+ Debian (default) and Alpine-based images with the <code spellcheck="false">rootless</code> tag.&nbsp;</p>
<p><em><strong>If you're unsure, stick to the “rootful” Docker image referenced above.</strong></em>
</p>
<p>Below are some commands to pull the rootless images:</p><pre><code class="language-text-x-trilium-auto"># For Debian-based image
@@ -101,10 +108,11 @@ docker pull triliumnext/trilium:rootless-alpine</code></pre>
<h3>How It Works</h3>
<p>The rootless Trilium image:</p>
<ol>
- <li>Creates a non-root user (<code>trilium</code>) during build time</li>
+ <li>Creates a non-root user (<code spellcheck="false">trilium</code>) during
+ build time</li>
<li>Configures the application to run as this non-root user</li>
- <li>Allows runtime customization of the user's UID/GID via Docker's <code>--user</code> flag</li>
- <li>Does not require a separate Docker <code>entrypoint</code> script</li>
+ <li>Allows runtime customization of the user's UID/GID via Docker's <code spellcheck="false">--user</code> flag</li>
+ <li>Does not require a separate Docker <code spellcheck="false">entrypoint</code> script</li>
</ol>
<h3>Usage</h3>
<h4><strong>Using docker-compose (Recommended)</strong></h4><pre><code class="language-text-x-trilium-auto"># Run with default UID/GID (1000:1000)
@@ -127,12 +135,12 @@ docker run -d --name trilium -p 8080:8080 --user $(id -u):$(id -g) -v ~/trilium-
</code></pre>
<h3>Environment Variables</h3>
<ul>
- <li><code>TRILIUM_UID</code>: UID to use for the container process (passed
- to Docker's <code>--user</code> flag)</li>
- <li><code>TRILIUM_GID</code>: GID to use for the container process (passed
- to Docker's <code>--user</code> flag)</li>
- <li><code>TRILIUM_DATA_DIR</code>: Path to the data directory inside the container
- (default: <code>/home/node/trilium-data</code>)</li>
+ <li><code spellcheck="false">TRILIUM_UID</code>: UID to use for the container
+ process (passed to Docker's <code spellcheck="false">--user</code> flag)</li>
+ <li><code spellcheck="false">TRILIUM_GID</code>: GID to use for the container
+ process (passed to Docker's <code spellcheck="false">--user</code> flag)</li>
+ <li><code spellcheck="false">TRILIUM_DATA_DIR</code>: Path to the data directory
+ inside the container (default: <code spellcheck="false">/home/node/trilium-data</code>)</li>
</ul>
<p>For a complete list of configuration environment variables (network settings,
authentication, sync, etc.), see&nbsp;<a class="reference-link" href="#root/_help_Gzjqa934BdH4">Configuration (config.ini or environment variables)</a>.</p>
@@ -141,8 +149,9 @@ docker run -d --name trilium -p 8080:8080 --user $(id -u):$(id -g) -v ~/trilium-
<ol>
<li>The host directory has appropriate permissions for the UID/GID you're
using</li>
- <li>You're setting both <code>TRILIUM_UID</code> and <code>TRILIUM_GID</code> to
- match the owner of the host directory</li>
+ <li>You're setting both <code spellcheck="false">TRILIUM_UID</code> and
+ <code
+ spellcheck="false">TRILIUM_GID</code>to match the owner of the host directory</li>
</ol><pre><code class="language-text-x-trilium-auto"># For example, if your data directory is owned by UID 1001 and GID 1001:
TRILIUM_UID=1001 TRILIUM_GID=1001 docker-compose -f docker-compose.rootless.yml up -d
</code></pre>
@@ -151,7 +160,7 @@ TRILIUM_UID=1001 TRILIUM_GID=1001 docker-compose -f docker-compose.rootless.yml
<li>The container starts with a specific UID/GID which can be customized at
runtime</li>
<li>Unlike the traditional setup, this approach does not use a separate entrypoint
- script with <code>usermod</code>/<code>groupmod</code> commands</li>
+ script with <code spellcheck="false">usermod</code>/<code spellcheck="false">groupmod</code> commands</li>
<li>The container cannot modify its own UID/GID at runtime, which is a security
feature of rootless containers</li>
</ul>
@@ -161,7 +170,7 @@ TRILIUM_UID=1001 TRILIUM_GID=1001 docker-compose -f docker-compose.rootless.yml
<li><strong>Debian-based</strong> (default): Uses the Debian Bullseye Slim
base image
<ul>
- <li>Dockerfile: <code>apps/server/Dockerfile.rootless</code>
+ <li>Dockerfile: <code spellcheck="false">apps/server/Dockerfile.rootless</code>
</li>
<li>Recommended for most users</li>
</ul>
@@ -169,7 +178,7 @@ TRILIUM_UID=1001 TRILIUM_GID=1001 docker-compose -f docker-compose.rootless.yml
<li><strong>Alpine-based</strong>: Uses the Alpine base image for smaller
size
<ul>
- <li>Dockerfile: <code>apps/server/Dockerfile.alpine.rootless</code>
+ <li>Dockerfile: <code spellcheck="false">apps/server/Dockerfile.alpine.rootless</code>
</li>
<li>Smaller image size, but may have compatibility issues with some systems</li>
</ul>
@@ -186,7 +195,10 @@ docker build --build-arg USER=myuser --build-arg UID=1001 --build-arg GID=1001 \
</code></pre>
<p>Available build arguments:</p>
<ul>
- <li><code>USER</code>: Username for the non-root user (default: trilium)</li>
- <li><code>UID</code>: User ID for the non-root user (default: 1000)</li>
- <li><code>GID</code>: Group ID for the non-root user (default: 1000)</li>
+ <li><code spellcheck="false">USER</code>: Username for the non-root user (default:
+ trilium)</li>
+ <li><code spellcheck="false">UID</code>: User ID for the non-root user (default:
+ 1000)</li>
+ <li><code spellcheck="false">GID</code>: Group ID for the non-root user (default:
+ 1000)</li>
</ul>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Using Kubernetes.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Using Kubernetes.html
index 0fb29eb7ed..efcae48860 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Using Kubernetes.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Using Kubernetes.html
@@ -5,17 +5,18 @@
<h2>Root privileges</h2>
<aside class="admonition note">
<p>The Trilium container at this time needs to be run with root privileges.
- It will swap to UID and GID <code>1000:1000</code> to run the <code>node</code> process
- after execution though, so the main process doesn't run with root privileges.</p>
+ It will swap to UID and GID <code spellcheck="false">1000:1000</code> to
+ run the <code spellcheck="false">node</code> process after execution though,
+ so the main process doesn't run with root privileges.</p>
</aside>
<p>The Trilium docker container needs to be run with root privileges. The
node process inside the container will be started with reduced privileges
(uid:gid 1000:1000) after some initialization logic. Please make sure that
you don't use a security context (PodSecurityContext) which changes the
user ID. To use a different uid:gid for file storage and the application,
- please use the <code>USER_UID</code> &amp; <code>USER_GID</code> environment
+ please use the <code spellcheck="false">USER_UID</code> &amp; <code spellcheck="false">USER_GID</code> environment
variables.</p>
-<p>The docker image will also fix the permissions of <code>/home/node</code> so
+<p>The docker image will also fix the permissions of <code spellcheck="false">/home/node</code> so
you don't have to use an init container.</p>
<h2>Helm Charts</h2>
<p><a href="https://github.com/TriliumNext/helm-charts">Official Helm chart</a> from
@@ -27,7 +28,7 @@
<p>Below is an example of how</p><pre><code class="language-text-x-trilium-auto">helm repo add trilium https://triliumnext.github.io/helm-charts
"trilium" has been added to your repositories</code></pre>
<h2>How to install a chart</h2>
-<p>After reviewing the <a href="https://github.com/TriliumNext/helm-charts/blob/main/charts/trilium/values.yaml"><code>values.yaml</code></a> from
+<p>After reviewing the <a href="https://github.com/TriliumNext/helm-charts/blob/main/charts/trilium/values.yaml"><code spellcheck="false">values.yaml</code></a> from
the Helm chart, modifying as required and then creating your own:</p><pre><code class="language-text-x-trilium-auto">helm install --create-namespace --namespace trilium trilium trilium/trilium -f values.yaml</code></pre>
<p>For more information on using Helm, please refer to the Helm documentation,
or create a Discussion in the TriliumNext GitHub Organization.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Apache using Docker.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Apache using Docker.html
index a3a9db1676..58f5f67550 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Apache using Docker.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Apache using Docker.html
@@ -1,4 +1,4 @@
-<p>This tutorial assumes that you have created a DNS A record for <code>trilium.yourdomain.com</code> that
+<p>This tutorial assumes that you have created a DNS A record for <code spellcheck="false">trilium.yourdomain.com</code> that
you want to use for your Trilium server.</p>
<h2>Docker setup</h2>
<p>Download docker image and create container</p><pre><code class="language-text-x-trilium-auto"> docker pull triliumnext/trilium:[VERSION]
@@ -17,7 +17,7 @@
(typically /etc/letsencrypt/live/...)</p>
</li>
<li>
- <p>Create a new virtual host file for apache (you may want to use <code>apachectl -S</code> to
+ <p>Create a new virtual host file for apache (you may want to use <code spellcheck="false">apachectl -S</code> to
determine the server root location, mine is /etc/apache2)</p><pre><code class="language-text-x-trilium-auto"> sudo nano /etc/apache2/sites-available/trilium.yourdomain.com.conf</code></pre>
<p>Paste (and customize) the following text into the configuration file</p><pre><code class="language-text-x-trilium-auto">
ServerName http://trilium.yourdomain.com
@@ -39,11 +39,11 @@
</code></pre>
</li>
<li>
- <p>Enable the virtual host with <code>sudo a2ensite trilium.yourdomain.com.conf</code>
+ <p>Enable the virtual host with <code spellcheck="false">sudo a2ensite trilium.yourdomain.com.conf</code>
</p>
</li>
<li>
- <p>Reload apache2 with <code>sudo systemctl reload apache2</code>
+ <p>Reload apache2 with <code spellcheck="false">sudo systemctl reload apache2</code>
</p>
</li>
</ol>
@@ -54,7 +54,7 @@
<p>Create and enable a systemd service to start the docker container on boot</p>
<ol>
<li>
- <p>Create a new empty file called <code>/lib/systemd/system/trilium.service</code> with
+ <p>Create a new empty file called <code spellcheck="false">/lib/systemd/system/trilium.service</code> with
the contents</p><pre><code class="language-text-x-trilium-auto"> [Unit]
Description=Trilium Server
Requires=docker.service
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Nginx.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Nginx.html
index 3ea96af027..c8a4cee60d 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Nginx.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Nginx.html
@@ -55,9 +55,11 @@ server {
block like so:</p>
<ul>
<li>update the location with your desired path (make sure to not leave a trailing
- slash "/", if your <code>proxy_pass</code> does not end on a slash as well)</li>
- <li>add the <code>proxy_cookie_path</code> directive with the same path: this
- allows you to stay logged in at multiple instances at the same time.</li>
+ slash "/", if your <code spellcheck="false">proxy_pass</code> does not end
+ on a slash as well)</li>
+ <li>add the <code spellcheck="false">proxy_cookie_path</code> directive with
+ the same path: this allows you to stay logged in at multiple instances
+ at the same time.</li>
</ul><pre><code class="language-text-x-trilium-auto"> location /trilium/instance-one {
rewrite /trilium/instance-one/(.*) /$1 break;
proxy_set_header Host $host;
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Traefik.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Traefik.html
index 8132e7672b..b2aea2650c 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Traefik.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Traefik.html
@@ -4,7 +4,7 @@
<h2>Breaking change in Traefik 3.6.4</h2>
<p>Traefik 3.6.4 introduced a <a href="https://doc.traefik.io/traefik/migrate/v3/#encoded-characters-in-request-path">breaking change</a> regarding
how percent-encoded characters are handled in URLs. More specifically some
- URLs used by Trilium (such as <code>search/%23workspace%20%23!template</code>)
+ URLs used by Trilium (such as <code spellcheck="false">search/%23workspace%20%23!template</code>)
are automatically rejected by Traefik, resulting in HTTP 400 errors.</p>
<p>To solve this, the Traefik <a href="https://doc.traefik.io/traefik/getting-started/configuration-overview/#the-install-configuration"><strong>static</strong> configuration</a> must
be modified in order to allow those characters:</p><pre><code class="language-text-x-yaml">entryPoints:
@@ -36,7 +36,7 @@
<h3>Setup needed environment variables</h3>
<p>After setting up a reverse proxy, make sure to configure the&nbsp;<a class="reference-link"
href="#root/_help_LLzSMXACKhUs">Trusted proxy</a>.</p>
-<h3>Example <code>docker-compose.yaml</code></h3><pre><code class="language-text-x-yaml">services:
+<h3>Example <code spellcheck="false">docker-compose.yaml</code></h3><pre><code class="language-text-x-yaml">services:
trilium:
image: triliumnext/trilium
container_name: trilium
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Trusted proxy.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Trusted proxy.html
index e477571ac7..d18e9fadcb 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Trusted proxy.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Trusted proxy.html
@@ -5,7 +5,7 @@
<p>To do so, simply modify&nbsp;<a class="reference-link" href="#root/_help_Gzjqa934BdH4">Configuration (config.ini or environment variables)</a>&nbsp;and
set:</p><pre><code class="language-text-x-trilium-auto">[Network]
trustedReverseProxy=true</code></pre>
-<p>This will use the left-most IP in the <code>X-Forwarded-For</code> header.
- Alternatively, instead of <code>true</code> use the IP address of the reverse
- proxy or Express.js shortcuts such as:</p><pre><code class="language-text-x-trilium-auto">loopback(127.0.0.1/8, ::1/128), linklocal(169.254.0.0/16, fe80::/10), uniquelocal(10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, fc00::/7)</code></pre>
+<p>This will use the left-most IP in the <code spellcheck="false">X-Forwarded-For</code> header.
+ Alternatively, instead of <code spellcheck="false">true</code> use the IP
+ address of the reverse proxy or Express.js shortcuts such as:</p><pre><code class="language-text-x-trilium-auto">loopback(127.0.0.1/8, ::1/128), linklocal(169.254.0.0/16, fe80::/10), uniquelocal(10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, fc00::/7)</code></pre>
<p>For more information, consult <a href="https://expressjs.com/en/guide/behind-proxies.html">Express behind proxies</a>.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/Authentication.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/Authentication.html
index b8d074e7d8..4c7331c82a 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/Authentication.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/Authentication.html
@@ -1,7 +1,7 @@
<h2>Disabling authentication</h2>
-<p>If you are running Trilium on <code>localhost</code> only or if authentication
- is handled by another component, you can disable Trilium’s authentication
- by adding the following to <code>config.ini</code>:</p><pre><code class="language-text-x-trilium-auto">[General]
+<p>If you are running Trilium on <code spellcheck="false">localhost</code> only
+ or if authentication is handled by another component, you can disable Trilium’s
+ authentication by adding the following to <code spellcheck="false">config.ini</code>:</p><pre><code class="language-text-x-trilium-auto">[General]
noAuthentication=true</code></pre>
<p>Disabling authentication will bypass even the&nbsp;<a class="reference-link"
href="#root/_help_7DAiwaf8Z7Rz">Multi-Factor Authentication</a>&nbsp;since v0.94.1.</p>
@@ -10,9 +10,9 @@ noAuthentication=true</code></pre>
about the login into a cookie on the browser, but also as a session on
the server.</p>
<p>If “Remember me” is checked, then the login will expire in 21 days. This
- period can be adjusted by modifying the <code>Session.cookieMaxAge</code> value
- in <code>config.ini</code>. For example, to have the session expire in one
- day:</p><pre><code class="language-text-x-trilium-auto">[Session]
+ period can be adjusted by modifying the <code spellcheck="false">Session.cookieMaxAge</code> value
+ in <code spellcheck="false">config.ini</code>. For example, to have the
+ session expire in one day:</p><pre><code class="language-text-x-trilium-auto">[Session]
cookieMaxAge=86400</code></pre>
<p>When “Remember me” is unchecked, the behavior is different. At client/browser
level the authentication does not have any expiration date, but it will
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/HTTPS (TLS).html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/HTTPS (TLS).html
index 895aab2c75..296149a010 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/HTTPS (TLS).html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/HTTPS (TLS).html
@@ -18,8 +18,8 @@ class="admonition tip">
to the additional complexity of importing the certificate into all machines
connecting to the server.</li>
</ul>
- <h2>Modifying <code>config.ini</code></h2>
- <p>Once you have your certificate, modify the <code>config.ini</code> file
+ <h2>Modifying <code spellcheck="false">config.ini</code></h2>
+ <p>Once you have your certificate, modify the <code spellcheck="false">config.ini</code> file
in the <a href="#root/_help_tAassRL4RSQL">data directory</a> to configure Trilium
to use it:</p><pre><code class="language-text-x-trilium-auto">[Network]
port=8080
@@ -30,23 +30,24 @@ https=true
certPath=/[username]/.acme.sh/[hostname]/fullchain.cer
keyPath=/[username]/.acme.sh/[hostname]/example.com.key</code></pre>
<p>You can also review the <a href="#root/_help_Gzjqa934BdH4">configuration</a> file
- to provide all <code>config.ini</code> values as environment variables instead.
- For example, you can configure TLS using environment variables:</p><pre><code class="language-text-x-trilium-auto">export TRILIUM_NETWORK_HTTPS=true
+ to provide all <code spellcheck="false">config.ini</code> values as environment
+ variables instead. For example, you can configure TLS using environment
+ variables:</p><pre><code class="language-text-x-trilium-auto">export TRILIUM_NETWORK_HTTPS=true
export TRILIUM_NETWORK_CERTPATH=/path/to/cert.pem
export TRILIUM_NETWORK_KEYPATH=/path/to/key.pem</code></pre>
<p>The above example shows how this is set up in an environment where the
certificate was generated using Let's Encrypt's ACME utility. Your paths
may differ. For Docker installations, ensure these paths are within a volume
- or another directory accessible by the Docker container, such as <code>/home/node/trilium-data/[DIR IN DATA DIRECTORY]</code>.</p>
- <p>After configuring <code>config.ini</code>, restart Trilium and access the
- hostname using "https".</p>
+ or another directory accessible by the Docker container, such as <code spellcheck="false">/home/node/trilium-data/[DIR IN DATA DIRECTORY]</code>.</p>
+ <p>After configuring <code spellcheck="false">config.ini</code>, restart Trilium
+ and access the hostname using "https".</p>
<h2>Self-Signed Certificate</h2>
<p>If you opt to use a self-signed certificate for your server instance,
note that the desktop instance will not trust it by default.</p>
<p>To bypass this, disable certificate validation by setting the following
environment variable (for Linux):</p><pre><code class="language-text-x-trilium-auto">export NODE_TLS_REJECT_UNAUTHORIZED=0
trilium</code></pre>
- <p>Trilium provides scripts to start in this mode, such as <code>trilium-no-cert-check.bat</code> for
+ <p>Trilium provides scripts to start in this mode, such as <code spellcheck="false">trilium-no-cert-check.bat</code> for
Windows.</p>
<p><strong>Warning</strong>: Disabling TLS certificate validation is insecure.
Proceed only if you fully understand the implications.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/Multi-Factor Authentication.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/Multi-Factor Authentication.html
index 6650d0a4f7..4ba1a51cb1 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/Multi-Factor Authentication.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/Multi-Factor Authentication.html
@@ -43,23 +43,31 @@ class="admonition warning">
<h3>OpenID</h3>
<p>In order to setup OpenID, you will need to setup a authentication provider.
This requires a bit of extra setup. Follow <a href="https://developers.google.com/identity/openid-connect/openid-connect">these instructions</a> to
- setup an OpenID service through google. The Redirect URL of Trilium is <code>https://&lt;your-trilium-domain&gt;/callback</code>.</p>
+ setup an OpenID service through google. The Redirect URL of Trilium is
+ <code
+ spellcheck="false">https://&lt;your-trilium-domain&gt;/callback</code>.</p>
<ol>
- <li>Set the <code>oauthBaseUrl</code>, <code>oauthClientId</code> and <code>oauthClientSecret</code> in
- the <code>config.ini</code> file (check&nbsp;<a class="reference-link" href="#root/_help_Gzjqa934BdH4">Configuration (config.ini or environment variables)</a>&nbsp;for
- more information).
- <ol>
- <li>You can also setup through environment variables:
- <ul>
- <li>Standard: <code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHBASEURL</code>, <code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHCLIENTID</code>, <code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHCLIENTSECRET</code>
- </li>
- <li>Legacy (still supported): <code>TRILIUM_OAUTH_BASE_URL</code>, <code>TRILIUM_OAUTH_CLIENT_ID</code>, <code>TRILIUM_OAUTH_CLIENT_SECRET</code>
- </li>
- </ul>
- </li>
- <li><code>oauthBaseUrl</code> should be the link of your Trilium instance server,
- for example, <code>https://&lt;your-trilium-domain&gt;</code>.</li>
- </ol>
+ <li>Set the <code spellcheck="false">oauthBaseUrl</code>, <code spellcheck="false">oauthClientId</code> and
+ <code
+ spellcheck="false">oauthClientSecret</code>in the <code spellcheck="false">config.ini</code> file
+ (check&nbsp;<a class="reference-link" href="#root/_help_Gzjqa934BdH4">Configuration (config.ini or environment variables)</a>&nbsp;for
+ more information).
+ <ol>
+ <li>You can also setup through environment variables:
+ <ul>
+ <li>Standard: <code spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHBASEURL</code>,
+ <code
+ spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHCLIENTID</code>, <code spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHCLIENTSECRET</code>
+ </li>
+ <li>Legacy (still supported): <code spellcheck="false">TRILIUM_OAUTH_BASE_URL</code>,
+ <code
+ spellcheck="false">TRILIUM_OAUTH_CLIENT_ID</code>, <code spellcheck="false">TRILIUM_OAUTH_CLIENT_SECRET</code>
+ </li>
+ </ul>
+ </li>
+ <li><code spellcheck="false">oauthBaseUrl</code> should be the link of your
+ Trilium instance server, for example, <code spellcheck="false">https://&lt;your-trilium-domain&gt;</code>.</li>
+ </ol>
</li>
<li>Restart the server</li>
<li>Go to "Menu" -&gt; "Options" -&gt; "MFA"</li>
@@ -69,17 +77,23 @@ class="admonition warning">
</ol>
<aside class="admonition note">
<p>The default OAuth issuer is Google. To use other services such as Authentik
- or Auth0, you can configure the settings via <code>oauthIssuerBaseUrl</code>, <code>oauthIssuerName</code>,
- and <code>oauthIssuerIcon</code> in the <code>config.ini</code> file. Alternatively,
- these values can be set using environment variables:</p>
+ or Auth0, you can configure the settings via <code spellcheck="false">oauthIssuerBaseUrl</code>,
+ <code
+ spellcheck="false">oauthIssuerName</code>, and <code spellcheck="false">oauthIssuerIcon</code> in
+ the <code spellcheck="false">config.ini</code> file. Alternatively, these
+ values can be set using environment variables:</p>
<ul>
- <li>Standard: <code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHISSUERBASEURL</code>, <code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHISSUERNAME</code>, <code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHISSUERICON</code>
+ <li>Standard: <code spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHISSUERBASEURL</code>,
+ <code
+ spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHISSUERNAME</code>, <code spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHISSUERICON</code>
</li>
- <li>Legacy (still supported): <code>TRILIUM_OAUTH_ISSUER_BASE_URL</code>, <code>TRILIUM_OAUTH_ISSUER_NAME</code>, <code>TRILIUM_OAUTH_ISSUER_ICON</code>
+ <li>Legacy (still supported): <code spellcheck="false">TRILIUM_OAUTH_ISSUER_BASE_URL</code>,
+ <code
+ spellcheck="false">TRILIUM_OAUTH_ISSUER_NAME</code>, <code spellcheck="false">TRILIUM_OAUTH_ISSUER_ICON</code>
</li>
</ul>
- <p><code>oauthIssuerName</code> and <code>oauthIssuerIcon</code> are required
- for displaying correct issuer information at the Login page.</p>
+ <p><code spellcheck="false">oauthIssuerName</code> and <code spellcheck="false">oauthIssuerIcon</code> are
+ required for displaying correct issuer information at the Login page.</p>
</aside>
<h4>Authentik</h4>
<p>If you don’t already have a running Authentik instance, please follow
@@ -88,14 +102,14 @@ class="admonition warning">
<ol>
<li>In the Authentik admin dashboard, create a new OAuth2 application by following
<a
- href="https://docs.goauthentik.io/docs/add-secure-apps/providers/oauth2/create-oauth2-provider">these steps</a>. Make sure to set the Redirect URL to: <code>https://&lt;your-trilium-domain&gt;/callback</code>.</li>
+ href="https://docs.goauthentik.io/docs/add-secure-apps/providers/oauth2/create-oauth2-provider">these steps</a>. Make sure to set the Redirect URL to: <code spellcheck="false">https://&lt;your-trilium-domain&gt;/callback</code>.</li>
<li>In your config.ini file, set the relevant OAuth variables:
<ol>
- <li><code>oauthIssuerBaseUrl</code> → Use the <code>OpenID Configuration Issuer</code> URL
+ <li><code spellcheck="false">oauthIssuerBaseUrl</code> → Use the <code spellcheck="false">OpenID Configuration Issuer</code> URL
from your application's overview page.</li>
- <li><code>oauthIssuerName</code> and <code>oauthIssuerIcon</code> → Set these
- to customize the name and icon displayed on the login page. If omitted,
- Google’s name and icon will be shown by default.</li>
+ <li><code spellcheck="false">oauthIssuerName</code> and <code spellcheck="false">oauthIssuerIcon</code> →
+ Set these to customize the name and icon displayed on the login page. If
+ omitted, Google’s name and icon will be shown by default.</li>
</ol>
</li>
<li>Apply the changes by restarting your server.</li>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/System Requirements.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/System Requirements.html
index fa53b6404d..5ecef02bd8 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/System Requirements.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/System Requirements.html
@@ -1,15 +1,17 @@
<ul>
<li>Using Docker, the server can be run on Windows, Linux and macOS devices.</li>
- <li>Native binaries are provided for Linux x64 and ARM (<code>aarch64</code>).</li>
+ <li>Native binaries are provided for Linux x64 and ARM (<code spellcheck="false">aarch64</code>).</li>
</ul>
<h2>Legacy ARM support</h2>
-<p>The Docker builds also provide <code>linux/arm/v7</code> and <code>linux/arm/v8</code> platforms.
- These platforms are considered legacy since Trilium uses Node.js version
- 24 which have <a href="https://github.com/nodejs/node/commit/6682861d6f">officially downgraded support</a> for
- these platforms to “experimental”.</p>
+<p>The Docker builds also provide <code spellcheck="false">linux/arm/v7</code> and
+ <code
+ spellcheck="false">linux/arm/v8</code>platforms. These platforms are considered legacy since
+ Trilium uses Node.js version 24 which have <a href="https://github.com/nodejs/node/commit/6682861d6f">officially downgraded support</a> for
+ these platforms to “experimental”.</p>
<p>As a result, Trilium needs to use Node.js 22 for these versions. As soon
- as soon Node.js 22 will no longer be compatible, support for <code>armv7</code> and <code>armv8</code> will
- be dropped entirely.</p>
+ as soon Node.js 22 will no longer be compatible, support for <code spellcheck="false">armv7</code> and
+ <code
+ spellcheck="false">armv8</code>will be dropped entirely.</p>
<p>Regardless of upstream support, these platforms are supported on a best-effort
basis and are not officially supported by the Trilium development team.
Bug reports are accepted but they will not be treated with priority; contributions
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Synchronization.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Synchronization.html
index 068a2b4d19..1b6f89a2c0 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Synchronization.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Synchronization.html
@@ -76,12 +76,13 @@
<h3>Certificate Issues</h3>
<p>When using TLS, Trilium will verify the server certificate. If verification
fails (e.g., due to self-signed certificates or certain corporate proxies),
- you can run the Trilium client with the <code>NODE_TLS_REJECT_UNAUTHORIZED</code> environment
- variable set to <code>0</code>:</p><pre><code class="language-text-x-trilium-auto">export NODE_TLS_REJECT_UNAUTHORIZED=0</code></pre>
+ you can run the Trilium client with the <code spellcheck="false">NODE_TLS_REJECT_UNAUTHORIZED</code> environment
+ variable set to <code spellcheck="false">0</code>:</p><pre><code class="language-text-x-trilium-auto">export NODE_TLS_REJECT_UNAUTHORIZED=0</code></pre>
<p>This will disable TLS certificate verification, significantly reducing
security and exposing the setup to MITM attacks. It is strongly recommended
to use a valid signed server certificate. Newer Trilium versions include
- a script called <code>trilium-no-cert-check.sh</code> for this purpose.</p>
+ a script called <code spellcheck="false">trilium-no-cert-check.sh</code> for
+ this purpose.</p>
<h3>Conflict Resolution</h3>
<p>If you edit the same note on multiple instances before synchronization,
Trilium resolves conflicts by retaining the newer change and discarding
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Web Clipper.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Web Clipper.html
index 9d16f0ed7e..b406c7b3ce 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Web Clipper.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Web Clipper.html
@@ -18,8 +18,9 @@
<p>Trilium will save these clippings as a new child note under a "clipper
inbox" note.</p>
<p>By default, that's the <a href="#root/_help_l0tKav7yLHGF">day note</a> but you
- can override that by setting the <a href="#root/_help_zEY4DaJG4YT5">label</a> <code>clipperInbox</code>,
- on any other note.</p>
+ can override that by setting the <a href="#root/_help_zEY4DaJG4YT5">label</a>
+ <code
+ spellcheck="false">clipperInbox</code>, on any other note.</p>
<p>If there's multiple clippings from the same page (and on the same day),
then they will be added to the same note.</p>
<p><strong>Extension is available from:</strong>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Miscellaneous/Patterns of personal knowledge.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Miscellaneous/Patterns of personal knowledge.html
index ccd2e90df6..ea0ddcbb38 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Miscellaneous/Patterns of personal knowledge.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Miscellaneous/Patterns of personal knowledge.html
@@ -101,17 +101,19 @@
want them to somehow deprioritize - in Trilium I would do that by assigning
an <a href="https://github.com/zadam/trilium/wiki/Attribute-inheritance">inherited</a>
<a
- href="https://github.com/zadam/trilium/wiki/Attributes">label</a> <code>archived</code> to the company root note. The main effect
- of this label is that all the notes from this sub-tree are filtered out
- from search results (fast search via note autocomplete is my main <a href="https://github.com/zadam/trilium/wiki/Note-navigation">navigation approach</a>).
+ href="https://github.com/zadam/trilium/wiki/Attributes">label</a> <code spellcheck="false">archived</code> to the company root note.
+ The main effect of this label is that all the notes from this sub-tree
+ are filtered out from search results (fast search via note autocomplete
+ is my main <a href="https://github.com/zadam/trilium/wiki/Note-navigation">navigation approach</a>).
Apart from this, I also typically move such outdated notes to some less
prominent place in the hierarchy.</p>
<p>I use archivation also for notes which are not very relevant from their
creation - an example might be automatically imported reddit comments.</p>
<p>Sometimes there's no clear <em>category</em> split between relevant and
- non-relevant notes, in that case I just create "<em>OLD</em>" note with <code>archived</code> label
- and move all irrelevant notes there. So my credentials note might look
- something like this:</p>
+ non-relevant notes, in that case I just create "<em>OLD</em>" note with
+ <code
+ spellcheck="false">archived</code>label and move all irrelevant notes there. So my credentials
+ note might look something like this:</p>
<ul>
<li>Credentials
<ul>
@@ -153,8 +155,8 @@
and clone the notes into suitable locations in the hierarchy.</p>
<p>Trilium has this pattern partly built-in - Trilium understands and can
create this Year / Month / Day structure semi-automatically (on API call).
- There's also global keyboard shortcut <code>CTRL-ALT-P</code> which will
- create new note in the day note.</p>
+ There's also global keyboard shortcut <code spellcheck="false">CTRL-ALT-P</code> which
+ will create new note in the day note.</p>
<p>What notes do I keep under this day note?</p>
<ul>
<li>TODO list for given day (this can be automated - see&nbsp;<a class="reference-link"
@@ -248,8 +250,9 @@
<p>To keep the list of books manageable, I sort them per year (of reading
them), this also gives me some basic overview of "reading performance"
for given year. I plan to create a <a href="#root/_help_CdNpE2pqjmI6">script</a> which
- would show some timeline chart visualizing book attributes <code>dateStarted</code> - <code>dateFinished</code> to
- have nicer view of my reading sprints and trends.</p>
+ would show some timeline chart visualizing book attributes <code spellcheck="false">dateStarted</code> -
+ <code
+ spellcheck="false">dateFinished</code>to have nicer view of my reading sprints and trends.</p>
<p>Some specific authors also have their own note which contains cloned book
reviews, links to interviews and other related resources.</p>
<p>I have similar system for movies and TV shows, but not as sophisticated.</p>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/File/PDFs.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/File/PDFs.html
index 14ab40e05c..d502c2c243 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/File/PDFs.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/File/PDFs.html
@@ -22,7 +22,7 @@
class="admonition tip">
<p>Technically, the information about the scroll position and rotation is
stored in the&nbsp;<a class="reference-link" href="#root/_help_0vhv7lsOLy82">Attachments</a>&nbsp;section,
- in a dedicated attachment called <code>pdfHistory.json</code>.</p>
+ in a dedicated attachment called <code spellcheck="false">pdfHistory.json</code>.</p>
</aside>
<h2>Annotations</h2>
<p>Since v0.102.0 it's possible to annotate PDFs. To do so, look for the
@@ -114,6 +114,6 @@ class="admonition tip">
<p>PDFs can also be shared using the&nbsp;<a class="reference-link" href="#root/_help_R9pX4DGra2Vt">Sharing</a>&nbsp;feature.
This will also use Trilium's customized PDF viewer.</p>
<p>If you are using a reverse proxy on your server with strict access limitations
- for the share functionality, make sure that <code>[host].com/pdfjs</code> directory
- is accessible. Note that this directory is outside the <code>/share</code> route
+ for the share functionality, make sure that <code spellcheck="false">[host].com/pdfjs</code> directory
+ is accessible. Note that this directory is outside the <code spellcheck="false">/share</code> route
as it's common with the rest of the application.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Note Map.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Note Map.html
index 8e4a69e13e..77fabe9ed3 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Note Map.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Note Map.html
@@ -7,6 +7,6 @@
<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
(including their children).</p>
-<p>The labels <code>mapIncludeRelation</code> and <code>mapExcludeRelation</code>,
+<p>The labels <code spellcheck="false">mapIncludeRelation</code> and <code spellcheck="false">mapExcludeRelation</code>,
if set, filter the note map to include only the specified relations or
to exclude the specified relations, respectively.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Relation Map.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Relation Map.html
index 8176b4a4d6..11f4eaaba8 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Relation Map.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Relation Map.html
@@ -67,7 +67,7 @@ width="812" height="585">
<p>There are several steps here:</p>
<ul>
<li>we start with empty relation map and two existing notes representing Prince
- Philip and Queen Elizabeth II. These two notes already have <code>isPartnerOf</code>
+ Philip and Queen Elizabeth II. These two notes already have <code spellcheck="false">isPartnerOf</code>
<a
href="#root/_help_zEY4DaJG4YT5">relations</a>defined.
<ul>
@@ -76,24 +76,28 @@ width="812" height="585">
</ul>
</li>
<li>we drag both notes to relation map and place to suitable position. Notice
- how the existing <code>isPartnerOf</code> relations are displayed.</li>
+ how the existing <code spellcheck="false">isPartnerOf</code> relations are
+ displayed.</li>
<li>now we create new note - we name it "Prince Charles" and place it on the
relation map by clicking on the desired position. The note is by default
created under the relation map note (visible in the note tree on the left).</li>
- <li>we create two new relations <code>isChildOf</code> targeting both Philip
- and Elizabeth
+ <li>we create two new relations <code spellcheck="false">isChildOf</code> targeting
+ both Philip and Elizabeth
<ul>
<li>now there's something unexpected - we can also see the relation to display
- another <code>hasChild</code> relation. This is because there's a <a href="#root/_help_OFXdgB2nNk1F">relation definition</a> which
- puts <code>isChildOf</code> as an "<a href="#root/_help_OFXdgB2nNk1F">inverse</a>"
- relation of <code>hasChildOf</code> (and vice versa) and thus it is created
- automatically.</li>
+ another <code spellcheck="false">hasChild</code> relation. This is because
+ there's a <a href="#root/_help_OFXdgB2nNk1F">relation definition</a> which puts
+ <code
+ spellcheck="false">isChildOf</code>as an "<a href="#root/_help_OFXdgB2nNk1F">inverse</a>" relation
+ of <code spellcheck="false">hasChildOf</code> (and vice versa) and thus it
+ is created automatically.</li>
</ul>
</li>
- <li>we create another note for Princess Diana and create <code>isPartnerOf</code> relation
+ <li>we create another note for Princess Diana and create <code spellcheck="false">isPartnerOf</code> relation
from Charles. Again notice how the relation has arrows both ways - this
- is because <code>isPartnerOf</code> definition specifies its inverse relation
- as again "isPartnerOf" so the opposite relation is created automatically.</li>
+ is because <code spellcheck="false">isPartnerOf</code> definition specifies
+ its inverse relation as again "isPartnerOf" so the opposite relation is
+ created automatically.</li>
<li>as the last step we pan &amp; zoom the map to fit better to window dimensions.</li>
</ul>
<p>Relation definitions mentioned above come from "Person template" note
@@ -101,10 +105,10 @@ width="812" height="585">
play with the whole thing in the <a href="#root/_help_wX4HbRucYSDD">demo notes</a>.</p>
<h2>Details</h2>
<p>You can specify which relations should be displayed with comma delimited
- names of relations in <code>displayRelations</code> label.</p>
+ names of relations in <code spellcheck="false">displayRelations</code> label.</p>
<p>Alternatively, you can specify comma delimited list of relation names
- in <code>hideRelations</code> which will display all relations, except for
- the ones defined in the label.</p>
+ in <code spellcheck="false">hideRelations</code> which will display all relations,
+ except for the ones defined in the label.</p>
<h2>See also</h2>
<ul>
<li><a class="reference-link" href="#root/_help_bdUJEHsAPYQR">Note Map</a>&nbsp;is
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Render Note.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Render Note.html
index 5e90ab6079..69b0d18893 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Render Note.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Render Note.html
@@ -7,13 +7,12 @@
via an attribute.</p>
<h2>Creating a render note</h2>
<ol>
- <li data-list-item-id="ec2f190022b98b67aac4f9de8b4b1bef1">Create a&nbsp;<a class="reference-link" href="#root/_help_6f9hih2hXXZk">Code</a>&nbsp;note
+ <li>Create a&nbsp;<a class="reference-link" href="#root/_help_6f9hih2hXXZk">Code</a>&nbsp;note
with the HTML language, with what needs to be displayed (for example
<code
spellcheck="false">&lt;p&gt;Hello world.&lt;/p&gt;</code>).</li>
- <li data-list-item-id="e56aa712548f1ded92180e03ae9e7ecca">Create a&nbsp;<a class="reference-link" href="#root/_help_HcABDtFCkbFN">Render Note</a>.</li>
- <li
- data-list-item-id="e6b459d8d2d99a9fc6f7048711daaa4b1">Assign the <code spellcheck="false">renderNote</code> <a href="#root/_help_zEY4DaJG4YT5">relation</a> to
+ <li>Create a&nbsp;<a class="reference-link" href="#root/_help_HcABDtFCkbFN">Render Note</a>.</li>
+ <li>Assign the <code spellcheck="false">renderNote</code> <a href="#root/_help_zEY4DaJG4YT5">relation</a> to
point at the previously created code note.</li>
</ol>
<h2>Legacy scripting using jQuery</h2>
@@ -42,9 +41,10 @@ $dateEl.text(new Date());</code></pre>
need to provide a HTML anymore.</p>
<p>Here are the steps to creating a simple render note:</p>
<ol>
- <li data-list-item-id="e97b7a8c09747533c3af69598a73b11bf">Create a note of type&nbsp;<a class="reference-link" href="#root/_help_HcABDtFCkbFN">Render Note</a>.</li>
- <li
- data-list-item-id="ed2ca441693dbfddabdbf31002561bff3">
+ <li>
+ <p>Create a note of type&nbsp;<a class="reference-link" href="#root/_help_HcABDtFCkbFN">Render Note</a>.</p>
+ </li>
+ <li>
<p>Create a child&nbsp;<a class="reference-link" href="#root/_help_6f9hih2hXXZk">Code</a>&nbsp;note
with JSX as the language.
<br>As an example, use the following content:</p><pre><code class="language-text-jsx">export default function() {
@@ -54,21 +54,24 @@ $dateEl.text(new Date());</code></pre>
&lt;/&gt;
);
}</code></pre>
- </li>
- <li data-list-item-id="e73d4282cfed4df57b66632aba026aa19">In the parent render note, define a <code spellcheck="false">~renderNote</code> relation
- pointing to the newly created child.</li>
- <li data-list-item-id="e601de50cd951faef6d1987431089058c">Refresh the render note and it should display a “Hello world” message.</li>
+ </li>
+ <li>
+ <p>In the parent render note, define a <code spellcheck="false">~renderNote</code> relation
+ pointing to the newly created child.</p>
+ </li>
+ <li>
+ <p>Refresh the render note and it should display a “Hello world” message.</p>
+ </li>
</ol>
<h2>Refreshing the note</h2>
<p>It's possible to refresh the note via:</p>
<ul>
- <li data-list-item-id="e01a9786381e31e763afa31b2b9aa878c">The corresponding button in&nbsp;<a class="reference-link" href="#root/_help_XpOYSgsLkTJy">Floating buttons</a>.</li>
- <li
- data-list-item-id="e88aa1485ccd215847cb0e3950c0efa08">The “Render active note” <a href="#root/_help_A9Oc6YKKc65v">keyboard shortcut</a> (not
+ <li>The corresponding button in&nbsp;<a class="reference-link" href="#root/_help_XpOYSgsLkTJy">Floating buttons</a>.</li>
+ <li>The “Render active note” <a href="#root/_help_A9Oc6YKKc65v">keyboard shortcut</a> (not
assigned by default).</li>
</ul>
<h2>Examples</h2>
<ul>
- <li data-list-item-id="e8af6ea28ee52401bb78113fe1d82f1dc"><a class="reference-link" href="#root/_help_R7abl2fc6Mxi">Weight Tracker</a>&nbsp;which
+ <li><a class="reference-link" href="#root/_help_R7abl2fc6Mxi">Weight Tracker</a>&nbsp;which
is present in the&nbsp;<a class="reference-link" href="#root/_help_6tZeKvSHEUiB">Demo Notes</a>.</li>
</ul>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Saved Search.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Saved Search.html
index 2251e04ed8..35c8567a68 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Saved Search.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Saved Search.html
@@ -9,7 +9,8 @@ style="width:50%;">
<h2>Location</h2>
<p>By default, saved searches are stored in the day note. However, you can
- designate a different note to store saved searches by marking it with the <code>#searchHome</code> label.
- Additionally, for <a href="#root/_help_9sRHySam5fXb">workspaces</a>, you can use
- the <code>#workspaceSearchHome</code> label to specify a storage location
- for saved searches within that workspace.</p>
\ No newline at end of file
+ designate a different note to store saved searches by marking it with the
+ <code
+ spellcheck="false">#searchHome</code>label. Additionally, for <a href="#root/_help_9sRHySam5fXb">workspaces</a>,
+ you can use the <code spellcheck="false">#workspaceSearchHome</code> label
+ to specify a storage location for saved searches within that workspace.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Block quotes & admonitions.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Block quotes & admonitions.html
index 6f16fc2141..179f435506 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Block quotes & admonitions.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Block quotes & admonitions.html
@@ -25,18 +25,18 @@ class="image image-style-align-center">
</p>
<p>It's possible to insert an admonition simply by typing:</p>
<ul>
- <li><code>!!! note</code>
+ <li><code spellcheck="false">!!! note</code>
</li>
- <li><code>!!! tip</code>
+ <li><code spellcheck="false">!!! tip</code>
</li>
- <li><code>!!! important</code>
+ <li><code spellcheck="false">!!! important</code>
</li>
- <li><code>!!! caution</code>
+ <li><code spellcheck="false">!!! caution</code>
</li>
- <li><code>!!! warning</code>
+ <li><code spellcheck="false">!!! warning</code>
</li>
</ul>
- <p>In addition to that, it's also possible to type <code>!!!</code>&nbsp;
+ <p>In addition to that, it's also possible to type <code spellcheck="false">!!!</code>&nbsp;
followed by any text, case in which a default admonition type will appear
(note) with the entered text inside it.</p>
<h3>Interaction</h3>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Developer-specific formatting.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Developer-specific formatting.html
index dcd74f7f2b..31efbe6f7a 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Developer-specific formatting.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Developer-specific formatting.html
@@ -5,14 +5,14 @@
<img src="5_Developer-specific formatt.png">
</p>
<p>Example of inline code being used to illustrate file system paths as well
- as shell commands (<code>git</code> in this case).</p>
+ as shell commands (<code spellcheck="false">git</code> in this case).</p>
<p>To insert an inline code:</p>
<ul>
<li>Via the&nbsp;<a href="#root/_help_nRhnJkTT8cPs">Formatting toolbar</a>, look
for the
<img src="3_Developer-specific formatt.png">button.</li>
- <li>Type `code` where <code>code</code> is the desired text to be automatically
- formatted as inline code.</li>
+ <li>Type `code` where <code spellcheck="false">code</code> is the desired text
+ to be automatically formatted as inline code.</li>
</ul>
<h3>Code blocks</h3>
<p>Code blocks display a snippet of code as a dedicated block:</p>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Developer-specific formatting/Code blocks.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Developer-specific formatting/Code blocks.html
index 866d29ccd0..d45dd8218c 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Developer-specific formatting/Code blocks.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Developer-specific formatting/Code blocks.html
@@ -18,7 +18,7 @@
available languages.</li>
</ul>
</li>
- <li>Type <code>```</code> (as in Markdown).
+ <li>Type <code spellcheck="false">```</code> (as in Markdown).
<ul>
<li>Note that it's not possible to specify the language, as it will default
to the last selected language.</li>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Footnotes.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Footnotes.html
index 4f15b318fe..04c4a73639 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Footnotes.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Footnotes.html
@@ -12,10 +12,10 @@
<li>To insert a reference to an existing footnote, press the right arrow and
select <em>Insert footnote</em>, followed by the number of the footnote
to insert.</li>
- <li>Hovering over a reference (e.g. <code>[1]</code>) will display the content
- of the footnote in a tooltip for easy reference.</li>
- <li>Clicking on a reference in the text (e.g. <code>[1]</code>) will navigate
- to the corresponding footnote.</li>
- <li>Similarly, clicking on the <code>^</code> button of a footnote will navigate
- to the corresponding reference in the text.</li>
+ <li>Hovering over a reference (e.g. <code spellcheck="false">[1]</code>) will
+ display the content of the footnote in a tooltip for easy reference.</li>
+ <li>Clicking on a reference in the text (e.g. <code spellcheck="false">[1]</code>)
+ will navigate to the corresponding footnote.</li>
+ <li>Similarly, clicking on the <code spellcheck="false">^</code> button of a
+ footnote will navigate to the corresponding reference in the text.</li>
</ul>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/General formatting.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/General formatting.html
index 8b3bade550..3cbdbbf441 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/General formatting.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/General formatting.html
@@ -12,11 +12,11 @@
<p>Apart from using the UI, it is also possible to quickly insert headings
using the Markdown-like shortcuts:</p>
<ul>
- <li><code>##</code> for Heading 2</li>
- <li><code>###</code> for Heading 3</li>
- <li><code>####</code> for Heading 4</li>
- <li><code>#####</code> for Heading 5</li>
- <li><code>######</code> for Heading 6</li>
+ <li><code spellcheck="false">##</code> for Heading 2</li>
+ <li><code spellcheck="false">###</code> for Heading 3</li>
+ <li><code spellcheck="false">####</code> for Heading 4</li>
+ <li><code spellcheck="false">#####</code> for Heading 5</li>
+ <li><code spellcheck="false">######</code> for Heading 6</li>
</ul>
<h2>Font size</h2>
<figure class="image image-style-align-right">
@@ -50,11 +50,13 @@
</ul>
<p>Alternatively, Markdown-like formatting can be used:</p>
<ul>
- <li><strong>Bold</strong>: Type <code>**text**</code> or <code>__text__</code>
+ <li><strong>Bold</strong>: Type <code spellcheck="false">**text**</code> or
+ <code
+ spellcheck="false">__text__</code>
</li>
- <li><em>Italic</em>: Type <code>*text*</code> or <code>_text_</code>
+ <li><em>Italic</em>: Type <code spellcheck="false">*text*</code> or <code spellcheck="false">_text_</code>
</li>
- <li><del>Strikethrough</del>: Type <code>~~text~~</code>
+ <li><del>Strikethrough</del>: Type <code spellcheck="false">~~text~~</code>
</li>
</ul>
<h2>Superscript, subscript</h2>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Highlights list.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Highlights list.html
index 8ee85d2c9c..24b3789cba 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Highlights list.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Highlights list.html
@@ -29,4 +29,4 @@
<h2>Per-note configuration</h2>
<p>To suppress the display of highlighted text for one specific note, use&nbsp;
<a
- class="reference-link" href="#root/_help_zEY4DaJG4YT5">Attributes</a>&nbsp;to add the <code>#hideHighlightWidget</code> label.</p>
\ No newline at end of file
+ class="reference-link" href="#root/_help_zEY4DaJG4YT5">Attributes</a>&nbsp;to add the <code spellcheck="false">#hideHighlightWidget</code> label.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Include Note.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Include Note.html
index d828b8fae1..f674e9ea89 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Include Note.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Include Note.html
@@ -12,4 +12,4 @@
part of the note itself.</p>
<p>For this to work, the included notes must also be shared, otherwise they
will not be shown. However, the included notes can still be hidden from
- the note tree via <code>#shareHiddenFromTree</code>.</p>
\ No newline at end of file
+ the note tree via <code spellcheck="false">#shareHiddenFromTree</code>.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Insert buttons.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Insert buttons.html
index 74dde66790..8b176dfad7 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Insert buttons.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Insert buttons.html
@@ -14,69 +14,72 @@
a category and a desired emoji to insert it.</p>
<p>Emojis can also be searched by their English name and the skin tone can
be selected via a combo box to the right.</p>
-<p>There is also the possibility of inserting emojis directly by typing <code>:</code> followed
- by a name of an emoji, triggering the display of a list of emojis. Simply
- use the arrow keys to select one and press <kbd>Enter</kbd> to insert it.</p>
-<img
-src="1_Insert buttons_plus.png" width="272"
-height="187">
-
+<p>There is also the possibility of inserting emojis directly by typing
+ <code
+ spellcheck="false">:</code>followed by a name of an emoji, triggering the display of a list
+ of emojis. Simply use the arrow keys to select one and press <kbd>Enter</kbd> to
+ insert it.</p>
+<img src="1_Insert buttons_plus.png"
+width="272" height="187">
+
<h2>Symbols</h2>
+<figure class="image image-style-align-right">
+ <img style="aspect-ratio:346/322;" src="1_Insert buttons_image.png"
+ width="346" height="322">
+</figure>
+<p>Pressing the
+ <img src="7_Insert buttons_image.png"
+ width="18" height="15">button will reveal a popup window displaying a list of characters that
+ are generally more difficult to insert directly from the keyboard, such
+ as a subset of emojis, quotation characters, etc.</p>
+<p>Interaction:</p>
+<ul>
+ <li>Click on a character to insert it at the current cursor position.</li>
+ <li>The window can be dragged around by the top bar where the title is, to
+ avoid it getting in the way of the text.</li>
+ <li>Click on the <em>Category</em> selector to filter the characters.</li>
+</ul>
+<h2>Math equations</h2>
+<p>See the dedicated&nbsp;<a class="reference-link" href="#root/_help_YfYAtQBcfo5V">Math Equations</a>&nbsp;page.</p>
+<h2>Mermaid diagram</h2>
+<p>Press the
+ <img src="2_Insert buttons_image.png"
+ width="16" height="17">button to create an inline Mermaid diagram.</p>
+<p>This feature is quite similar to the&nbsp;<a class="reference-link" href="#root/_help_s1aBHPd79XYj">Mermaid Diagrams</a>&nbsp;note
+ types and is meant as an alternative to it for simple diagrams. For more
+ complex diagrams, use the&nbsp;<a class="reference-link" href="#root/_help_nBAXQFj20hS1">Include Note</a>&nbsp;feature
+ for a dedicated Mermaid note.</p>
+<figure class="image">
+ <img style="aspect-ratio:1174/358;" src="6_Insert buttons_image.png"
+ width="1174" height="358">
+</figure>
+
+<h2>Horizontal ruler</h2>
+<p>This feature will display a horizontal line, generally useful to separate
+ different sections of the text. To do so, press the
+ <img src="5_Insert buttons_image.png"
+ width="18" height="16">button in the&nbsp;<a class="reference-link" href="#root/_help_nRhnJkTT8cPs">Formatting toolbar</a>.</p>
+<img
+src="3_Insert buttons_image.png" width="502"
+height="95">
+ <p>Alternatively, it's possible to insert a horizontal ruler by typing
+ <code
+ spellcheck="false">---</code>.</p>
+ <h2>Page break</h2>
<figure class="image image-style-align-right">
- <img style="aspect-ratio:346/322;" src="1_Insert buttons_image.png"
- width="346" height="322">
+ <img style="aspect-ratio:371/79;" src="8_Insert buttons_image.png"
+ width="371" height="79">
</figure>
- <p>Pressing the
- <img src="7_Insert buttons_image.png"
- width="18" height="15">button will reveal a popup window displaying a list of characters that
- are generally more difficult to insert directly from the keyboard, such
- as a subset of emojis, quotation characters, etc.</p>
- <p>Interaction:</p>
+ <p>Page breaks provide a way to force the next paragraph or block (table,
+ image, etc.) to be displayed onto the next page when printing (either to
+ a real printer to <a href="#root/_help_NRnIZmSMc5sj">when exporting to PDF</a>).</p>
+ <p>Page breaks are marked in the editor with the words <em>Page break</em>,
+ but they will not actually be shown when printed.</p>
<ul>
- <li>Click on a character to insert it at the current cursor position.</li>
- <li>The window can be dragged around by the top bar where the title is, to
- avoid it getting in the way of the text.</li>
- <li>Click on the <em>Category</em> selector to filter the characters.</li>
- </ul>
- <h2>Math equations</h2>
- <p>See the dedicated&nbsp;<a class="reference-link" href="#root/_help_YfYAtQBcfo5V">Math Equations</a>&nbsp;page.</p>
- <h2>Mermaid diagram</h2>
- <p>Press the
- <img src="2_Insert buttons_image.png"
- width="16" height="17">button to create an inline Mermaid diagram.</p>
- <p>This feature is quite similar to the&nbsp;<a class="reference-link" href="#root/_help_s1aBHPd79XYj">Mermaid Diagrams</a>&nbsp;note
- types and is meant as an alternative to it for simple diagrams. For more
- complex diagrams, use the&nbsp;<a class="reference-link" href="#root/_help_nBAXQFj20hS1">Include Note</a>&nbsp;feature
- for a dedicated Mermaid note.</p>
- <figure class="image">
- <img style="aspect-ratio:1174/358;" src="6_Insert buttons_image.png"
- width="1174" height="358">
- </figure>
-
-<h2>Horizontal ruler</h2>
- <p>This feature will display a horizontal line, generally useful to separate
- different sections of the text. To do so, press the
- <img src="5_Insert buttons_image.png"
- width="18" height="16">button in the&nbsp;<a class="reference-link" href="#root/_help_nRhnJkTT8cPs">Formatting toolbar</a>.</p>
- <img
- src="3_Insert buttons_image.png" width="502"
- height="95">
- <p>Alternatively, it's possible to insert a horizontal ruler by typing <code>---</code>.</p>
- <h2>Page break</h2>
- <figure class="image image-style-align-right">
- <img style="aspect-ratio:371/79;" src="8_Insert buttons_image.png"
- width="371" height="79">
- </figure>
- <p>Page breaks provide a way to force the next paragraph or block (table,
- image, etc.) to be displayed onto the next page when printing (either to
- a real printer to <a href="#root/_help_NRnIZmSMc5sj">when exporting to PDF</a>).</p>
- <p>Page breaks are marked in the editor with the words <em>Page break</em>,
- but they will not actually be shown when printed.</p>
- <ul>
- <li>To insert a page break, press the
- <img src="Insert buttons_image.png"
- width="20" height="19">in the formatting toolbar.</li>
- <li>To insert many page breaks at once, insert a page break first, click on
- it and press <kbd>Ctrl</kbd>+<kbd>C</kbd>. Then use <kbd>Ctrl</kbd>+<kbd>V</kbd>,
- to paste as many times as needed.</li>
- </ul>
\ No newline at end of file
+ <li>To insert a page break, press the
+ <img src="Insert buttons_image.png"
+ width="20" height="19">in the formatting toolbar.</li>
+ <li>To insert many page breaks at once, insert a page break first, click on
+ it and press <kbd>Ctrl</kbd>+<kbd>C</kbd>. Then use <kbd>Ctrl</kbd>+<kbd>V</kbd>,
+ to paste as many times as needed.</li>
+ </ul>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Keyboard shortcuts.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Keyboard shortcuts.html
index 2ba326c91b..e85e10f952 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Keyboard shortcuts.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Keyboard shortcuts.html
@@ -133,7 +133,7 @@
<td></td>
</tr>
<tr>
- <td>Insert a soft break (a <code>&lt;br&gt;</code> element)</td>
+ <td>Insert a soft break (a <code spellcheck="false">&lt;br&gt;</code> element)</td>
<td><kbd>Shift</kbd>+<kbd>Enter</kbd>
</td>
<td><kbd>⇧Enter</kbd>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Links/Internal (reference) links.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Links/Internal (reference) links.html
index b8c8360adf..404730ae3d 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Links/Internal (reference) links.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Links/Internal (reference) links.html
@@ -32,9 +32,10 @@
</li>
</ol>
<h2>In-place linking</h2>
-<p>You can also insert internal links “inline” by using the <code>@</code> symbol:</p>
+<p>You can also insert internal links “inline” by using the <code spellcheck="false">@</code> symbol:</p>
<ol>
- <li>Type <code>@</code> in a text note, which will open the note search menu.</li>
+ <li>Type <code spellcheck="false">@</code> in a text note, which will open the
+ note search menu.</li>
<li>Search for the desired note's title by typing a few characters. Use <kbd>Up</kbd> and <kbd>Down</kbd> to
select the correct note, and press <kbd>Enter</kbd> or <kbd>Tab</kbd> to create
the link. It's also possible to create new notes with this method by typing
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Lists.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Lists.html
index 6f2c332c60..1ba6f9008e 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Lists.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Lists.html
@@ -19,12 +19,14 @@
<ul>
<li>To create a new list:
<ul>
- <li>Bulleted list: Start a line with <code>*</code> or <code>-</code> followed
- by a space;</li>
- <li>Numbered list: Start a line with <code>1.</code> or <code>1)</code> followed
- by a space;</li>
- <li>To-do list: Start a line with <code>- [ ]</code> for an unchecked item or <code>[x]</code> for
- a checked item.</li>
+ <li>Bulleted list: Start a line with <code spellcheck="false">*</code> or
+ <code
+ spellcheck="false">-</code>followed by a space;</li>
+ <li>Numbered list: Start a line with <code spellcheck="false">1.</code> or
+ <code
+ spellcheck="false">1)</code>followed by a space;</li>
+ <li>To-do list: Start a line with <code spellcheck="false">- [ ]</code> for
+ an unchecked item or <code spellcheck="false">[x]</code> for a checked item.</li>
</ul>
</li>
<li>To create a new item in the list, press <kbd>Enter</kbd>.</li>
@@ -103,8 +105,9 @@
to-do).</p>
<h2>To-do lists</h2>
<ul>
- <li>To insert a to-do list from the keyboard, type <code>- [ ]</code> for an
- unchecked item or <code>[x]</code> for a checked item while on an empty paragraph.</li>
+ <li>To insert a to-do list from the keyboard, type <code spellcheck="false">- [ ]</code> for
+ an unchecked item or <code spellcheck="false">[x]</code> for a checked item
+ while on an empty paragraph.</li>
<li>To reorder the item under the cursor, press <kbd>Alt</kbd>+<kbd>Up</kbd> or <kbd>Alt</kbd>+<kbd>Down</kbd>.
To reorder multiple items, select them first.</li>
</ul>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Markdown-like formatting.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Markdown-like formatting.html
index db63a583f9..2397bef689 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Markdown-like formatting.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Markdown-like formatting.html
@@ -10,56 +10,60 @@
<ul>
<li>For <a href="#root/_help_Gr6xFaF6ioJ5">headings:</a>
<ul>
- <li><code>##</code> for Heading 2 (the first-level heading is reserved for
- the note title).</li>
- <li><code>###</code> for Heading 3</li>
- <li><code>####</code> for Heading 4</li>
- <li><code>#####</code> for Heading 5</li>
- <li><code>######</code> for Heading 6</li>
+ <li><code spellcheck="false">##</code> for Heading 2 (the first-level heading
+ is reserved for the note title).</li>
+ <li><code spellcheck="false">###</code> for Heading 3</li>
+ <li><code spellcheck="false">####</code> for Heading 4</li>
+ <li><code spellcheck="false">#####</code> for Heading 5</li>
+ <li><code spellcheck="false">######</code> for Heading 6</li>
</ul>
</li>
<li>For&nbsp;<a class="reference-link" href="#root/_help_Gr6xFaF6ioJ5">General formatting</a>:
<ul>
- <li><strong>Bold</strong>: Type <code>**text**</code> or <code>__text__</code>
+ <li><strong>Bold</strong>: Type <code spellcheck="false">**text**</code> or
+ <code
+ spellcheck="false">__text__</code>
</li>
- <li><em>Italic</em>: Type <code>*text*</code> or <code>_text_</code>
+ <li><em>Italic</em>: Type <code spellcheck="false">*text*</code> or <code spellcheck="false">_text_</code>
</li>
- <li><del>Strikethrough</del>: Type <code>~~text~~</code>
+ <li><del>Strikethrough</del>: Type <code spellcheck="false">~~text~~</code>
</li>
</ul>
</li>
<li>For&nbsp;<a class="reference-link" href="#root/_help_S6Xx8QIWTV66">Lists</a>:
<ul>
- <li>Bulleted list: Start a line with <code>*</code> or <code>-</code> followed
- by a space;</li>
- <li>Numbered list: Start a line with <code>1.</code> or <code>1)</code> followed
- by a space;</li>
- <li>To-do list: Start a line with <code>[ ]</code> for an unchecked item or <code>[x]</code> for
- a checked item.</li>
+ <li>Bulleted list: Start a line with <code spellcheck="false">*</code> or
+ <code
+ spellcheck="false">-</code>followed by a space;</li>
+ <li>Numbered list: Start a line with <code spellcheck="false">1.</code> or
+ <code
+ spellcheck="false">1)</code>followed by a space;</li>
+ <li>To-do list: Start a line with <code spellcheck="false">[ ]</code> for an
+ unchecked item or <code spellcheck="false">[x]</code> for a checked item.</li>
</ul>
</li>
- <li>For <a href="#root/_help_NwBbFdNZ9h7O">block quotes</a>, press <code>&gt;</code>,
+ <li>For <a href="#root/_help_NwBbFdNZ9h7O">block quotes</a>, press <code spellcheck="false">&gt;</code>,
followed by a space.</li>
<li>For&nbsp;<a class="reference-link" href="#root/_help_QxEyIjRBizuC">Code blocks</a>,
- type <code>```</code>.</li>
- <li>For a <a href="#root/_help_dEHYtoWWi8ct">horizontal line</a>, type <code>---</code>.</li>
+ type <code spellcheck="false">```</code>.</li>
+ <li>For a <a href="#root/_help_dEHYtoWWi8ct">horizontal line</a>, type <code spellcheck="false">---</code>.</li>
<li>For <a href="#root/_help_NwBbFdNZ9h7O">admonitions</a>:
<ul>
- <li><code>!!! note</code>
+ <li><code spellcheck="false">!!! note</code>
</li>
- <li><code>!!! tip</code>
+ <li><code spellcheck="false">!!! tip</code>
</li>
- <li><code>!!! important</code>
+ <li><code spellcheck="false">!!! important</code>
</li>
- <li><code>!!! caution</code>
+ <li><code spellcheck="false">!!! caution</code>
</li>
- <li><code>!!! warning</code>
+ <li><code spellcheck="false">!!! warning</code>
</li>
- <li>Starting any other text with <code>!!!</code> will insert a note admonition
- with the text inside of it.</li>
+ <li>Starting any other text with <code spellcheck="false">!!!</code> will insert
+ a note admonition with the text inside of it.</li>
</ul>
</li>
- <li>For <a href="#root/_help_CohkqWQC1iBv">emojis</a>, type <code>:</code> followed
+ <li>For <a href="#root/_help_CohkqWQC1iBv">emojis</a>, type <code spellcheck="false">:</code> followed
by an emoji name to trigger an auto-completion.</li>
</ul>
<p>If auto-formatting is not desirable, press <kbd>Ctrl</kbd> + <kbd>Z</kbd> to
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Math Equations.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Math Equations.html
index 4050560116..d8a4ef4eba 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Math Equations.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Math Equations.html
@@ -16,10 +16,11 @@
can be part of the text.</p>
<h2>Keyboard shortcuts</h2>
<p>If inserting equations frequently, using the <kbd>Ctrl</kbd>+<kbd>M</kbd> keyboard
- shortcut can be more comfortable. Alternatively, type <code>$$</code> or <code>\[</code> to
- trigger the popup directly.</p>
+ shortcut can be more comfortable. Alternatively, type <code spellcheck="false">$$</code> or
+ <code
+ spellcheck="false">\[</code>to trigger the popup directly.</p>
<p>There is currently no quick way to turn an already typed-out equation,
- such as surrounding it with <code>$</code> or pressing <kbd>Ctrl</kbd>+<kbd>M</kbd>.</p>
+ such as surrounding it with <code spellcheck="false">$</code> or pressing <kbd>Ctrl</kbd>+<kbd>M</kbd>.</p>
<h2>Supported math features</h2>
<p>Technically we are using the KaTeX library which allows for a subset of
the TeX format. To see the full list of supported features, consult the
@@ -28,8 +29,8 @@
the official documentation.</p>
<h2>Markdown support</h2>
<p>Math equations will be preserved when exporting to or importing from Markdown,
- surrounded by <code>$</code> characters for inline math expressions, and <code>$$</code> for
- display mode.</p>
+ surrounded by <code spellcheck="false">$</code> characters for inline math
+ expressions, and <code spellcheck="false">$$</code> for display mode.</p>
<p>If you notice any issue with the Markdown import/export for equations,
feel free to <a href="#root/_help_wy8So3yZZlH9">report</a> it while providing the
equation that causes issues.</p>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Other features.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Other features.html
index ca8e824be2..7ff30b1da6 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Other features.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Other features.html
@@ -28,7 +28,7 @@
text notes. Simply copy a Markdown-formatted text and press the
<img src="2_Other features_image.png"
width="20" height="14">to insert its visual representation.</p>
-<p>Note that this only works with raw Markdown (e.g. <code># Heading 1</code> to
+<p>Note that this only works with raw Markdown (e.g. <code spellcheck="false"># Heading 1</code> to
generate a heading) and not the visual representation of the Markdown (e.g.
as in the preview pane of an application). In that case, simply use the
paste function which already accepts HTML-formatted content.</p>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Premium features.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Premium features.html
index 8b3a9e8acb..7da7ce5db1 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Premium features.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Premium features.html
@@ -14,5 +14,6 @@
<p>At this moment there is no way to disable these features, apart from manually
modifying the source code. If this is a problem, <a href="#root/_help_wy8So3yZZlH9">let us know</a>.</p>
<p>If you have the possibility of rebuilding the source code (e.g. if a package
- maintainer), then modify <code>VITE_CKEDITOR_KEY</code> in <code>apps/client/.env</code> to
- be <code>GPL</code>.</p>
\ No newline at end of file
+ maintainer), then modify <code spellcheck="false">VITE_CKEDITOR_KEY</code> in
+ <code
+ spellcheck="false">apps/client/.env</code>to be <code spellcheck="false">GPL</code>.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Premium features/Text Snippets.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Premium features/Text Snippets.html
index f91f3d615d..c71ec06027 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Premium features/Text Snippets.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Premium features/Text Snippets.html
@@ -33,7 +33,7 @@
<ol>
<li>To look for a specific template, start typing the name of the template
(its title).</li>
- <li>To look for all the templates, type <code>template</code>.</li>
+ <li>To look for all the templates, type <code spellcheck="false">template</code>.</li>
</ol>
</li>
</ol>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Table of contents.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Table of contents.html
index 04ba0dd22f..3c25dad8e7 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Table of contents.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Table of contents.html
@@ -25,8 +25,8 @@
<p>Use&nbsp;<a class="reference-link" href="#root/_help_zEY4DaJG4YT5">Attributes</a>&nbsp;to
configure the table of contents for a particular note:</p>
<ul>
- <li><code>#toc=show</code> will show the table of contents for that note regardless
- of the global settings.</li>
- <li>Similarly, <code>#toc=hide</code> will always hide the table of contents
- for that note.</li>
+ <li><code spellcheck="false">#toc=show</code> will show the table of contents
+ for that note regardless of the global settings.</li>
+ <li>Similarly, <code spellcheck="false">#toc=hide</code> will always hide the
+ table of contents for that note.</li>
</ul>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Tables.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Tables.html
index d6ac12424f..01af2032e4 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Tables.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Tables.html
@@ -88,8 +88,8 @@ height="100">
<li>Border (not the border of the cells, but the outer rim of the table),
which includes the style (single, double), color and width.</li>
<li>The background color, with none set by default.</li>
- <li>The width and height of the table in percentage (must end with <code>%</code>)
- or pixels (must end with <code>px</code>).</li>
+ <li>The width and height of the table in percentage (must end with <code spellcheck="false">%</code>)
+ or pixels (must end with <code spellcheck="false">px</code>).</li>
<li>The alignment of the table.
<ul>
<li>Left or right-aligned, case in which the text will flow next to it.</li>
@@ -114,8 +114,8 @@ height="100">
<li>The border style, color and width (same as table properties), but applying
to the current cell only.</li>
<li>The background color, with none set by default.</li>
- <li>The width and height of the cell in percentage (must end with <code>%</code>)
- or pixels (must end with <code>px</code>).</li>
+ <li>The width and height of the cell in percentage (must end with <code spellcheck="false">%</code>)
+ or pixels (must end with <code spellcheck="false">px</code>).</li>
<li>The padding (the distance of the text compared to the cell's borders).</li>
<li>The alignment of the text, both horizontally (left, centered, right, justified)
and vertically (top, middle or bottom).</li>
@@ -169,17 +169,17 @@ height="100">
<ol>
<li><em>Style</em> to <em>Single</em>
</li>
- <li><em>Color</em> to <code>transparent</code>
+ <li><em>Color</em> to <code spellcheck="false">transparent</code>
</li>
- <li>Width to <code>1px</code>.</li>
+ <li>Width to <code spellcheck="false">1px</code>.</li>
</ol>
</li>
<li>In Cell Properties, set the same as on the previous step.</li>
</ol>
<h2>Markdown import/export</h2>
<p>Simple tables are exported in GitHub-flavored Markdown format (e.g. a
- series of <code>|</code> items). If the table is found to be more complex
- (it contains HTML elements, has custom sizes or images), the table is converted
- to a HTML one instead.</p>
+ series of <code spellcheck="false">|</code> items). If the table is found
+ to be more complex (it contains HTML elements, has custom sizes or images),
+ the table is converted to a HTML one instead.</p>
<p>Generally formatting loss should be minimal when exported to Markdown
due to the fallback to HTML formatting.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Web View.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Web View.html
index c8cb12d29a..61a2975145 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Web View.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Web View.html
@@ -1,6 +1,6 @@
<h2>Configuration</h2>
<p>A webview needs to know which URL to render, and it can be provided by
- setting the <code>webViewSrc</code> <a href="#root/_help_zEY4DaJG4YT5">label</a>,
+ setting the <code spellcheck="false">webViewSrc</code> <a href="#root/_help_zEY4DaJG4YT5">label</a>,
such as:</p><pre><code class="language-text-x-trilium-auto">#webViewSrc="https://www.wikipedia.org"</code></pre>
<h2>Web view on the server vs. Electron</h2>
<p>When accessing Trilium via a browser instead of the desktop application,
@@ -8,19 +8,19 @@
However, since it's running in a browser there are quite a few limitations
as opposed to the desktop one.</p>
<p>More specifically, quite a few websites oppose being embedded in another
- website (technically they have a non-permisive <code>X-Frame-Options</code> header).
+ website (technically they have a non-permisive <code spellcheck="false">X-Frame-Options</code> header).
This is not bypassable by Trilium so the page will simply fail to render.</p>
<p>You can diagnose this by right clicking the Trilium web page → Inspect
(element) and looking in the “Console” tab for errors such as:</p>
<ul>
- <li><code>Refused to display 'https://www.google.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.</code>
+ <li><code spellcheck="false">Refused to display 'https://www.google.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.</code>
</li>
- <li><code>Refused to frame 'https://duckduckgo.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' https://html.duckduckgo.com".</code>
+ <li><code spellcheck="false">Refused to frame 'https://duckduckgo.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' https://html.duckduckgo.com".</code>
</li>
</ul>
-<p>There are a few websites that do render such as <code>wikipedia.org</code>.</p>
+<p>There are a few websites that do render such as <code spellcheck="false">wikipedia.org</code>.</p>
<p>Do note that we are also applying some sandboxing constraints on the server
- side, so if you have any issues other than the unresolvable <code>X-Frame-Options</code> described
+ side, so if you have any issues other than the unresolvable <code spellcheck="false">X-Frame-Options</code> described
above, feel free to report them.</p>
<p>On the desktop side, a different technology is used which bypasses the
- constraints of an <code>iframe</code> (<code>webview</code>).</p>
\ No newline at end of file
+ constraints of an <code spellcheck="false">iframe</code> (<code spellcheck="false">webview</code>).</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting.html
index 7a80c5e7e6..46f655ee7c 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting.html
@@ -33,12 +33,15 @@
by Trilium runtime so when we restart Trilium, button won't be there.</p>
<p>We need to execute it every time Trilium starts up, but we probably don't
want to have to manually click on play button on every start up.</p>
-<p>The solution is marked by red circle at the bottom - this note has <a href="#root/_help_zEY4DaJG4YT5">label</a> <code>#run=frontendStartup</code> -
- this is one of the "system" labels which Trilium understands. As you might
- guess, this will cause all such labeled script notes to be executed once
- Trilium frontend starts up.</p>
-<p>(<code>#run=frontendStartup</code> does not work for <a href="#root/_help_RDslemsQ6gCp">Mobile frontend</a> -
- if you want to have scripts running there, give the script <code>#run=mobileStartup</code> label)</p>
+<p>The solution is marked by red circle at the bottom - this note has <a href="#root/_help_zEY4DaJG4YT5">label</a>
+ <code
+ spellcheck="false">#run=frontendStartup</code>- this is one of the "system" labels which
+ Trilium understands. As you might guess, this will cause all such labeled
+ script notes to be executed once Trilium frontend starts up.</p>
+<p>(<code spellcheck="false">#run=frontendStartup</code> does not work for
+ <a
+ href="#root/_help_RDslemsQ6gCp">Mobile frontend</a>- if you want to have scripts running there, give the
+ script <code spellcheck="false">#run=mobileStartup</code> label)</p>
<h2>More showcases</h2>
<p>You can see more scripting with explanation in&nbsp;<a class="reference-link"
href="#root/_help_5668rwcirq1t">Advanced Showcases</a>.</p>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Backend scripts/Events.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Backend scripts/Events.html
index 2703fe28ba..30e97babcf 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Backend scripts/Events.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Backend scripts/Events.html
@@ -59,89 +59,94 @@
</thead>
<tbody>
<tr>
- <td><code>runOnNoteCreation</code>
+ <td><code spellcheck="false">runOnNoteCreation</code>
</td>
<td>executes when note is created on backend. Use this relation if you want
to run the script for all notes created under a specific subtree. In that
case, create it on the subtree root note and make it inheritable. A new
note created within the subtree (any depth) will trigger the script.</td>
- <td>The <code>BNote</code> that got created.</td>
+ <td>The <code spellcheck="false">BNote</code> that got created.</td>
</tr>
<tr>
- <td><code>runOnChildNoteCreation</code>
+ <td><code spellcheck="false">runOnChildNoteCreation</code>
</td>
<td>executes when new note is created under the note where this relation is
defined</td>
- <td>The <code>BNote</code> of the child that got created.</td>
+ <td>The <code spellcheck="false">BNote</code> of the child that got created.</td>
</tr>
<tr>
- <td><code>runOnNoteTitleChange</code>
+ <td><code spellcheck="false">runOnNoteTitleChange</code>
</td>
<td>executes when note title is changed (includes note creation as well)</td>
- <td>The <code>BNote</code> of the note whose title got changed.</td>
+ <td>The <code spellcheck="false">BNote</code> of the note whose title got changed.</td>
</tr>
<tr>
- <td><code>runOnNoteContentChange</code>
+ <td><code spellcheck="false">runOnNoteContentChange</code>
</td>
<td>executes when note content is changed (includes note creation as well).</td>
- <td>The <code>BNote</code> of the note whose content got changed.</td>
+ <td>The <code spellcheck="false">BNote</code> of the note whose content got
+ changed.</td>
</tr>
<tr>
- <td><code>runOnNoteChange</code>
+ <td><code spellcheck="false">runOnNoteChange</code>
</td>
<td>executes when note is changed (includes note creation as well). Does not
include content changes</td>
- <td>The <code>BNote</code> of the note that got changed.</td>
+ <td>The <code spellcheck="false">BNote</code> of the note that got changed.</td>
</tr>
<tr>
- <td><code>runOnNoteDeletion</code>
+ <td><code spellcheck="false">runOnNoteDeletion</code>
</td>
<td>executes when note is being deleted</td>
- <td>The <code>BNote</code> of the note that got (soft) deleted.</td>
+ <td>The <code spellcheck="false">BNote</code> of the note that got (soft) deleted.</td>
</tr>
<tr>
- <td><code>runOnBranchCreation</code>
+ <td><code spellcheck="false">runOnBranchCreation</code>
</td>
<td>executes when a branch is created. Branch is a link between parent note
and child note and is created e.g. when cloning or moving note.</td>
- <td>The <code>BBranch</code> that got created.</td>
+ <td>The <code spellcheck="false">BBranch</code> that got created.</td>
</tr>
<tr>
- <td><code>runOnBranchChange</code>
+ <td><code spellcheck="false">runOnBranchChange</code>
</td>
<td>executes when a branch is updated. (since v0.62)</td>
- <td>The <code>BBranch</code> that got changed.</td>
+ <td>The <code spellcheck="false">BBranch</code> that got changed.</td>
</tr>
<tr>
- <td><code>runOnBranchDeletion</code>
+ <td><code spellcheck="false">runOnBranchDeletion</code>
</td>
<td>executes when a branch is deleted. Branch is a link between parent note
and child note and is deleted e.g. when moving note (old branch/link is
deleted).</td>
- <td>The <code>BBranch</code> that got (soft) deleted.</td>
+ <td>The <code spellcheck="false">BBranch</code> that got (soft) deleted.</td>
</tr>
<tr>
- <td><code>runOnAttributeCreation</code>
+ <td><code spellcheck="false">runOnAttributeCreation</code>
</td>
<td>executes when new attribute is created for the note which defines this
relation</td>
- <td>The <code>BAttribute</code> that got created.</td>
+ <td>The <code spellcheck="false">BAttribute</code> that got created.</td>
</tr>
<tr>
- <td><code>runOnAttributeChange</code>
+ <td><code spellcheck="false">runOnAttributeChange</code>
</td>
<td>executes when the attribute is changed of a note which defines this relation.
This is triggered also when the attribute is deleted</td>
- <td>The <code>BAttribute</code> that got changed.</td>
+ <td>The <code spellcheck="false">BAttribute</code> that got changed.</td>
</tr>
</tbody>
</table>
<h2>Origin entity</h2>
-<p>When a script is run by an event such as the ones described above, <code>api.originEntity</code> will
- get populated with the note, branch or attribute that triggered the change.</p>
-<p>For example, here's a script with <code>~runOnAttributeChange</code> which
- automatically changes the color of a note based on the value of the <code>mycategory</code> label:</p><pre><code class="language-application-javascript-env-backend">const attr = api.originEntity;
+<p>When a script is run by an event such as the ones described above,
+ <code
+ spellcheck="false">api.originEntity</code>will get populated with the note, branch or attribute
+ that triggered the change.</p>
+<p>For example, here's a script with <code spellcheck="false">~runOnAttributeChange</code> which
+ automatically changes the color of a note based on the value of the
+ <code
+ spellcheck="false">mycategory</code>label:</p><pre><code class="language-application-javascript-env-backend">const attr = api.originEntity;
if (attr.name !== "mycategory") return;
const note = api.getNote(attr.noteId);
if (attr.value === "Health") {
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Backend scripts/Server-side imports.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Backend scripts/Server-side imports.html
index 7820ccfe2d..3fe95e4a1b 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Backend scripts/Server-side imports.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Backend scripts/Server-side imports.html
@@ -4,4 +4,6 @@ api.dayjs.extend(isBetween)</code></pre>
<p>For newer versions, Node.js imports are <strong>not officially supported anymore</strong>,
since we've added a bundler which makes it more difficult to reuse dependencies.</p>
<p>Theoretically it's still possible to use imports by manually setting up
- a <code>node_modules</code> in the server directory via <code>npm</code> or <code>pnpm</code>.</p>
\ No newline at end of file
+ a <code spellcheck="false">node_modules</code> in the server directory via
+ <code
+ spellcheck="false">npm</code>or <code spellcheck="false">pnpm</code>.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Common concepts/Script bundles.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Common concepts/Script bundles.html
index f9d7fab757..2970c5167e 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Common concepts/Script bundles.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Common concepts/Script bundles.html
@@ -26,19 +26,19 @@
</li>
</ul>
<p>When <em>Script with dependency</em> is run, it will detect <em>MyMath</em> as
- a submodule and provide the result of its <code>module.exports</code> object
+ a submodule and provide the result of its <code spellcheck="false">module.exports</code> object
into a global object with the same name as the note.</p>
<aside class="admonition note">
<p>If the note contains spaces or special characters, they will be stripped.
- For example <code>My Nice Note!</code> becomes <code>MyNiceNote</code>.</p>
+ For example <code spellcheck="false">My Nice Note!</code> becomes <code spellcheck="false">MyNiceNote</code>.</p>
</aside>
<h2>Alternative syntax</h2>
-<p>Instead of providing an object to <code>module.exports</code>, it's also
- possible to add fields individually:</p><pre><code class="language-application-javascript-env-backend">module.exports.sum = (a, b) =&gt; a + b;
+<p>Instead of providing an object to <code spellcheck="false">module.exports</code>,
+ it's also possible to add fields individually:</p><pre><code class="language-application-javascript-env-backend">module.exports.sum = (a, b) =&gt; a + b;
module.exports.subtract = (a, b) =&gt; a - b;</code></pre>
<h2>Ignoring a code script from a bundle</h2>
<p>To ignore a script from being included in a bundle (e.g. if it's unrelated
- to the parent script note), apply the <code>#disableInclusion</code> label.</p>
+ to the parent script note), apply the <code spellcheck="false">#disableInclusion</code> label.</p>
<h2>Sharing a module across multiple bundles</h2>
<p>Modules can be reused across multiple scripts by simply cloning the shared
module between two modules (see&nbsp;<a class="reference-link" href="#root/_help_IakOLONlIfGI">Cloning Notes</a>).</p>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics.html
index 42a8810fbb..eefec7d90e 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics.html
@@ -2,48 +2,54 @@
<p>The frontend api supports two styles, regular scripts that are run with
the current app and note context, and widgets that export an object to
Trilium to be used in the UI. In both cases, the frontend api of Trilium
- is available to scripts running in the frontend context as global variable <code>api</code>.
- The members and methods of the api can be seen on the <a href="#root/_help_GLks18SNjxmC">Script API</a> page.</p>
+ is available to scripts running in the frontend context as global variable
+ <code
+ spellcheck="false">api</code>. The members and methods of the api can be seen on the <a href="#root/_help_GLks18SNjxmC">Script API</a> page.</p>
<h2>Scripts</h2>
<p>Scripts don't have any special requirements. They can be run at will using
the execute button in the UI or they can be configured to run at certain
times using <a href="#root/_help_zEY4DaJG4YT5">Attributes</a> on the note containing
the script.</p>
<h3>Global Events</h3>
-<p>This attribute is called <code>#run</code> and it can have any of the following
- values:</p>
+<p>This attribute is called <code spellcheck="false">#run</code> and it can
+ have any of the following values:</p>
<ul>
- <li><code>frontendStartup</code> - executes on frontend upon startup.</li>
- <li><code>mobileStartup</code> - executes on mobile frontend upon startup.</li>
- <li><code>backendStartup</code> - executes on backend upon startup.</li>
- <li><code>hourly</code> - executes once an hour on backend.</li>
- <li><code>daily</code> - executes once a day on backend.</li>
+ <li><code spellcheck="false">frontendStartup</code> - executes on frontend
+ upon startup.</li>
+ <li><code spellcheck="false">mobileStartup</code> - executes on mobile frontend
+ upon startup.</li>
+ <li><code spellcheck="false">backendStartup</code> - executes on backend upon
+ startup.</li>
+ <li><code spellcheck="false">hourly</code> - executes once an hour on backend.</li>
+ <li><code spellcheck="false">daily</code> - executes once a day on backend.</li>
</ul>
<h3>Entity Events</h3>
<p>These events are triggered by certain <a href="#root/_help_zEY4DaJG4YT5">relations</a> to
other notes. Meaning that the script is triggered only if the note has
this script attached to it through relations (or it can inherit it).</p>
<ul>
- <li><code>runOnNoteCreation</code> - executes when note is created on backend.</li>
- <li><code>runOnNoteTitleChange</code> - executes when note title is changed
- (includes note creation as well).</li>
- <li><code>runOnNoteContentChange</code> - executes when note content is changed
- (includes note creation as well).</li>
- <li><code>runOnNoteChange</code> - executes when note is changed (includes
- note creation as well).</li>
- <li><code>runOnNoteDeletion</code> - executes when note is being deleted.</li>
- <li><code>runOnBranchCreation</code> - executes when a branch is created. Branch
- is a link between parent note and child note and is created e.g. when cloning
- or moving note.</li>
- <li><code>runOnBranchDeletion</code> - executes when a branch is delete. Branch
- is a link between parent note and child note and is deleted e.g. when moving
- note (old branch/link is deleted).</li>
- <li><code>runOnChildNoteCreation</code> - executes when new note is created
- under this note.</li>
- <li><code>runOnAttributeCreation</code> - executes when new attribute is created
- under this note.</li>
- <li><code>runOnAttributeChange</code> - executes when attribute is changed
- under this note.</li>
+ <li><code spellcheck="false">runOnNoteCreation</code> - executes when note
+ is created on backend.</li>
+ <li><code spellcheck="false">runOnNoteTitleChange</code> - executes when note
+ title is changed (includes note creation as well).</li>
+ <li><code spellcheck="false">runOnNoteContentChange</code> - executes when
+ note content is changed (includes note creation as well).</li>
+ <li><code spellcheck="false">runOnNoteChange</code> - executes when note is
+ changed (includes note creation as well).</li>
+ <li><code spellcheck="false">runOnNoteDeletion</code> - executes when note
+ is being deleted.</li>
+ <li><code spellcheck="false">runOnBranchCreation</code> - executes when a branch
+ is created. Branch is a link between parent note and child note and is
+ created e.g. when cloning or moving note.</li>
+ <li><code spellcheck="false">runOnBranchDeletion</code> - executes when a branch
+ is delete. Branch is a link between parent note and child note and is deleted
+ e.g. when moving note (old branch/link is deleted).</li>
+ <li><code spellcheck="false">runOnChildNoteCreation</code> - executes when
+ new note is created under this note.</li>
+ <li><code spellcheck="false">runOnAttributeCreation</code> - executes when
+ new attribute is created under this note.</li>
+ <li><code spellcheck="false">runOnAttributeChange</code> - executes when attribute
+ is changed under this note.</li>
</ul>
<h2>Widgets</h2>
<p>Conversely to scripts, widgets do have some specific requirements in order
@@ -51,33 +57,36 @@
<ul>
<li>Extend <a href="https://triliumnext.github.io/Notes/frontend_api/BasicWidget.html">BasicWidget</a> or
one of it's subclasses.</li>
- <li>Create a new instance and assign it to <code>module.exports</code>.</li>
- <li>Define a <code>parentWidget</code> member to determine where it should be
- displayed.</li>
- <li>Define a <code>position</code> (integer) that determines the location via
- sort order.</li>
- <li>Have a <code>#widget</code> attribute on the containing note.</li>
+ <li>Create a new instance and assign it to <code spellcheck="false">module.exports</code>.</li>
+ <li>Define a <code spellcheck="false">parentWidget</code> member to determine
+ where it should be displayed.</li>
+ <li>Define a <code spellcheck="false">position</code> (integer) that determines
+ the location via sort order.</li>
+ <li>Have a <code spellcheck="false">#widget</code> attribute on the containing
+ note.</li>
<li>Create, render, and return your element in the render function.
<ul>
<li>For <a href="https://triliumnext.github.io/Notes/frontend_api/BasicWidget.html">BasicWidget</a> and
<a
- href="https://triliumnext.github.io/Notes/frontend_api/NoteContextAwareWidget.html">NoteContextAwareWidget</a>you should create <code>this.$widget</code> and
- render it in <code>doRender()</code>.</li>
- <li>For <a href="https://triliumnext.github.io/Notes/frontend_api/RightPanelWidget.html">RightPanelWidget</a> the <code>this.$widget</code> and <code>doRender()</code> are
- already handled and you should instead return the value in <code>doRenderBody()</code>.</li>
+ href="https://triliumnext.github.io/Notes/frontend_api/NoteContextAwareWidget.html">NoteContextAwareWidget</a>you should create <code spellcheck="false">this.$widget</code> and
+ render it in <code spellcheck="false">doRender()</code>.</li>
+ <li>For <a href="https://triliumnext.github.io/Notes/frontend_api/RightPanelWidget.html">RightPanelWidget</a> the
+ <code
+ spellcheck="false">this.$widget</code>and <code spellcheck="false">doRender()</code> are already
+ handled and you should instead return the value in <code spellcheck="false">doRenderBody()</code>.</li>
</ul>
</li>
</ul>
<h3>parentWidget</h3>
<ul>
- <li><code>left-pane</code> - This renders the widget on the left side of the
- screen where the note tree lives.</li>
- <li><code>center-pane</code> - This renders the widget in the center of the
- layout in the same location that notes and splits appear.</li>
- <li><code>note-detail-pane</code> - This renders the widget <em>with</em> the
+ <li><code spellcheck="false">left-pane</code> - This renders the widget on
+ the left side of the screen where the note tree lives.</li>
+ <li><code spellcheck="false">center-pane</code> - This renders the widget in
+ the center of the layout in the same location that notes and splits appear.</li>
+ <li><code spellcheck="false">note-detail-pane</code> - This renders the widget <em>with</em> the
note in the center pane. This means it can appear multiple times with splits.</li>
- <li><code>right-pane</code> - This renders the widget to the right of any opened
- notes.</li>
+ <li><code spellcheck="false">right-pane</code> - This renders the widget to
+ the right of any opened notes.</li>
</ul>
<h3>Tutorial</h3>
<p>For more information on building widgets, take a look at <a href="#root/_help_SynTBQiBsdYJ">Widget Basics</a>.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets.html
index 7617ab9a4a..c6cfba5bd2 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets.html
@@ -4,15 +4,16 @@
<h2>Preact with JSX vs. vanilla jQuery</h2>
<p>In older versions of Trilium, custom widgets were exclusively written
in a combination of jQuery with Trilium's internal widget architecture
- (e.g., <code>BasicWidget</code>, <code>NoteContextAwareWidget</code>).</p>
+ (e.g., <code spellcheck="false">BasicWidget</code>, <code spellcheck="false">NoteContextAwareWidget</code>).</p>
<p>Starting with v0.101.0, custom widgets can also be written in JSX using
the&nbsp;<a class="reference-link" href="#root/_help_KLsqhjaqh1QW">Preact</a>&nbsp;framework.
Both legacy and Preact widgets have the same capabilities, with a single
difference:</p>
<ul>
- <li>Preact widgets are content-sized by default whereas legacy widgets need <code>this.contentSized()</code> applied
- in the constructor. For more information, see the corresponding section
- in&nbsp;<a class="reference-link" href="#root/_help_gMkgcLJ6jBkg">Troubleshooting</a>.</li>
+ <li>Preact widgets are content-sized by default whereas legacy widgets need
+ <code
+ spellcheck="false">this.contentSized()</code>applied in the constructor. For more information,
+ see the corresponding section in&nbsp;<a class="reference-link" href="#root/_help_gMkgcLJ6jBkg">Troubleshooting</a>.</li>
</ul>
<p>Wherever possible, widget examples will be both in the legacy and Preact
format.</p>
@@ -26,7 +27,7 @@
the language first.</li>
</ol>
</li>
- <li>Apply the <code>#widget</code> <a href="#root/_help_HI6GBBIduIgv">label</a>.</li>
+ <li>Apply the <code spellcheck="false">#widget</code> <a href="#root/_help_HI6GBBIduIgv">label</a>.</li>
</ol>
<h2>Getting started with a simple example</h2>
<p>Let's start by creating a widget that shows a message near the content
@@ -130,10 +131,13 @@ class="ck-table-resized">
</tr>
</tbody>
</table>
- <p>To position the widget somewhere else, just change the value passed to <code>get parentWidget()</code> for
- legacy widgets or the <code>parent</code> field for Preact. Do note that
- some positions such as <code>note-detail-pane</code> and <code>right-pane</code> have
- special requirements that need to be accounted for (see the table above).</p>
+ <p>To position the widget somewhere else, just change the value passed to
+ <code
+ spellcheck="false">get parentWidget()</code>for legacy widgets or the <code spellcheck="false">parent</code> field
+ for Preact. Do note that some positions such as <code spellcheck="false">note-detail-pane</code> and
+ <code
+ spellcheck="false">right-pane</code>have special requirements that need to be accounted for
+ (see the table above).</p>
<h2>Launch bar widgets</h2>
<p>Launch bar widgets are similar to <em>Custom widgets</em> but are specific
to the&nbsp;<a class="reference-link" href="#root/_help_xYmIYSP6wE3F">Launch Bar</a>.
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/CSS.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/CSS.html
index 481a6d62b7..4fb2886b31 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/CSS.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/CSS.html
@@ -1,5 +1,5 @@
<h2>Classic widgets</h2>
-<p>In <code>doRender()</code>:<sup><a href="#fn1saoftmefpp">[1]</a></sup>
+<p>In <code spellcheck="false">doRender()</code>:<sup><a href="#fn1saoftmefpp">[1]</a></sup>
</p><pre><code class="language-text-x-trilium-auto">this.cssBlock(`#my-widget {
position: absolute;
bottom: 40px;
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Note context aware widget.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Note context aware widget.html
index d0da3c3354..7ffc1467af 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Note context aware widget.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Note context aware widget.html
@@ -2,11 +2,13 @@
react to changes in the current note.</p>
<p>Important aspects:</p>
<ul>
- <li>The widget must export a <code>class</code> and not an instance of the class
- (e.g. <code>no new</code>) because it needs to be multiplied for each note,
- so that splits work correctly.</li>
- <li>Since the <code>class</code> is exported instead of an instance, the <code>parentWidget</code> getter
- must be <code>static</code>, otherwise the widget is ignored.</li>
+ <li>The widget must export a <code spellcheck="false">class</code> and not an
+ instance of the class (e.g. <code spellcheck="false">no new</code>) because
+ it needs to be multiplied for each note, so that splits work correctly.</li>
+ <li>Since the <code spellcheck="false">class</code> is exported instead of an
+ instance, the <code spellcheck="false">parentWidget</code> getter must be
+ <code
+ spellcheck="false">static</code>, otherwise the widget is ignored.</li>
</ul>
<h2>Example displaying the current note title</h2>
<p>This is a note context-aware widget that simply displays the name the
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Right pane widget.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Right pane widget.html
index 31bf6d40dc..9ebd25635c 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Right pane widget.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Right pane widget.html
@@ -1,14 +1,15 @@
<h2>Key highlights</h2>
<ul>
- <li><code>doRender</code> must not be overridden, instead <code>doRenderBody()</code> has
- to be overridden.
- <ul>
- <li><code>doRenderBody</code> can optionally be <code>async</code>.</li>
- </ul>
+ <li><code spellcheck="false">doRender</code> must not be overridden, instead
+ <code
+ spellcheck="false">doRenderBody()</code>has to be overridden.
+ <ul>
+ <li><code spellcheck="false">doRenderBody</code> can optionally be <code spellcheck="false">async</code>.</li>
+ </ul>
</li>
- <li><code>parentWidget()</code> must be set to <code>“rightPane”</code>.</li>
- <li><code>widgetTitle()</code> getter can optionally be overriden, otherwise
- the widget will be displayed as “Untitled widget”.</li>
+ <li><code spellcheck="false">parentWidget()</code> must be set to <code spellcheck="false">“rightPane”</code>.</li>
+ <li><code spellcheck="false">widgetTitle()</code> getter can optionally be
+ overriden, otherwise the widget will be displayed as “Untitled widget”.</li>
</ul>
<h2>Example for new layout</h2>
<aside class="admonition important">
@@ -101,14 +102,14 @@ class HelloWorldWidget extends api.RightPanelWidget {
module.exports = new HelloWorldWidget();</code></pre>
<h3>Conditionally changing visibility</h3>
-<p>In <code>refreshWithNote</code>:</p><pre><code class="language-text-x-trilium-auto">const visible = true; // replace with your own visibility logic
+<p>In <code spellcheck="false">refreshWithNote</code>:</p><pre><code class="language-text-x-trilium-auto">const visible = true; // replace with your own visibility logic
this.toggleInt(visible);
this.triggerCommand("reEvaluateRightPaneVisibility");</code></pre>
<h2>Altering the position within the sidebar</h2>
<p>By default, the sidebar items are displayed in the order they are found
- by the application when searching for <code>#widget</code> notes.</p>
+ by the application when searching for <code spellcheck="false">#widget</code> notes.</p>
<p>It is possible to make a widget appear higher or lower up, by adjusting
- its <code>position</code> property:</p><pre><code class="language-text-x-trilium-auto">class MyWidget extends api.RightPanelWidget {
+ its <code spellcheck="false">position</code> property:</p><pre><code class="language-text-x-trilium-auto">class MyWidget extends api.RightPanelWidget {
+ get position() { return 20 };
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Troubleshooting.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Troubleshooting.html
index 04c18f44bc..16e9286ee9 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Troubleshooting.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Troubleshooting.html
@@ -1,7 +1,7 @@
<h2>Why is my widget clipped by other UI elements</h2>
<p>For performance and layout reasons, the size of widgets in Trilium is
independent from its children. At CSS level, this means that the widget
- container has <code>contain: size</code> applied to it.</p>
+ container has <code spellcheck="false">contain: size</code> applied to it.</p>
<p>This works well if the widget has a fixed size (or based on its parent
container), however to make a widget resize to fit its content, apply the
following change:</p><pre><code class="language-text-x-diff">class MyWidget extends api.RightPanelWidget {
@@ -12,4 +12,5 @@
+ }
}</code></pre>
-<p>Alternatively apply <code>contain: none</code> to its CSS.</p>
\ No newline at end of file
+<p>Alternatively apply <code spellcheck="false">contain: none</code> to its
+ CSS.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Widget Basics.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Widget Basics.html
index 57bf28d96c..daa6c3354d 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Widget Basics.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Widget Basics.html
@@ -16,17 +16,17 @@
module.exports = new MyWidget();</code></pre>
<p>To implement this widget:</p>
<ol>
- <li>Create a new <code>JS Frontend</code> note in Trilium and paste in the code
- above.</li>
- <li>Assign the <code>#widget</code> <a href="#root/_help_zEY4DaJG4YT5">attribute</a> to
+ <li>Create a new <code spellcheck="false">JS Frontend</code> note in Trilium
+ and paste in the code above.</li>
+ <li>Assign the <code spellcheck="false">#widget</code> <a href="#root/_help_zEY4DaJG4YT5">attribute</a> to
the <a href="#root/_help_BFs8mudNFgCS">note</a>.</li>
<li>Restart Trilium or reload the window.</li>
</ol>
<p>To verify that the widget is working, open the developer tools (<kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>I</kbd>)
- and run <code>document.querySelector("#my-widget")</code>. If the element
- is found, the widget is functioning correctly. If <code>undefined</code> is
+ and run <code spellcheck="false">document.querySelector("#my-widget")</code>.
+ If the element is found, the widget is functioning correctly. If <code spellcheck="false">undefined</code> is
returned, double-check that the <a href="#root/_help_BFs8mudNFgCS">note</a> has
- the <code>#widget</code> <a href="#root/_help_zEY4DaJG4YT5">attribute</a>.</p>
+ the <code spellcheck="false">#widget</code> <a href="#root/_help_zEY4DaJG4YT5">attribute</a>.</p>
<h3>Step 2: Adding an UI Element</h3>
<p>Next, let's improve the widget by adding a button to it.</p><pre><code class="language-text-x-trilium-auto">const template = `&lt;div id="my-widget"&gt;&lt;button&gt;Click Me!&lt;/button&gt;&lt;/div&gt;`;
@@ -46,7 +46,9 @@ module.exports = new MyWidget();</code></pre>
<h3>Step 3: Styling the Widget</h3>
<p>To make the button more visually appealing and position it correctly,
we'll apply some custom styling. Trilium includes <a href="https://boxicons.com">Box Icons</a>,
- which we'll use to replace the button text with an icon. For example the <code>bx bxs-magic-wand</code> icon.</p>
+ which we'll use to replace the button text with an icon. For example the
+ <code
+ spellcheck="false">bx bxs-magic-wand</code>icon.</p>
<p>Here's the updated template:</p><pre><code class="language-text-x-trilium-auto">const template = `&lt;div id="my-widget"&gt;&lt;button class="tree-floating-button bx bxs-magic-wand tree-settings-button"&gt;&lt;/button&gt;&lt;/div&gt;`;</code></pre>
<p>Next, we'll adjust the button's position using CSS:</p><pre><code class="language-text-x-trilium-auto">class MyWidget extends api.BasicWidget {
get position() { return 1; }
@@ -69,7 +71,8 @@ module.exports = new MyWidget();</code></pre>
of the left pane, alongside other action buttons.</p>
<h3>Step 4: Adding User Interaction</h3>
<p>Let’s make the button interactive by showing a message when it’s clicked.
- We'll use the <code>api.showMessage</code> method from the <a href="#root/_help_GLks18SNjxmC">Script API</a>.</p><pre><code class="language-text-x-trilium-auto">class MyWidget extends api.BasicWidget {
+ We'll use the <code spellcheck="false">api.showMessage</code> method from
+ the <a href="#root/_help_GLks18SNjxmC">Script API</a>.</p><pre><code class="language-text-x-trilium-auto">class MyWidget extends api.BasicWidget {
get position() { return 1; }
get parentWidget() { return "left-pane"; }
@@ -87,9 +90,8 @@ module.exports = new MyWidget();</code></pre>
}
module.exports = new MyWidget();</code></pre>
-<p>For the list of possible values for <code>parentWidget()</code>, see&nbsp;
- <a
- class="reference-link" href="#root/_help_MgibgPcfeuGz">Custom Widgets</a>.&nbsp;</p>
+<p>For the list of possible values for <code spellcheck="false">parentWidget()</code>,
+ see&nbsp;<a class="reference-link" href="#root/_help_MgibgPcfeuGz">Custom Widgets</a>.&nbsp;</p>
<p><a href="#root/_help_s8alTXmpFR61">Reload</a> the application one last time.
When you click the button, a "Hello World!" message should appear, confirming
that your widget is fully functional.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Word count widget.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Word count widget.html
index 65d5039932..52a8a2d30d 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Word count widget.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Word count widget.html
@@ -3,7 +3,7 @@
href="#root/_help_6tZeKvSHEUiB">Demo Notes</a>.</p>
</aside>
<p>Create a&nbsp;<a class="reference-link" href="#root/_help_6f9hih2hXXZk">Code</a>&nbsp;note
- of type JS frontend and <strong>give it a</strong> <code>#widget</code> <strong>label</strong>.</p><pre><code class="language-text-x-trilium-auto">/*
+ of type JS frontend and <strong>give it a</strong> <code spellcheck="false">#widget</code> <strong>label</strong>.</p><pre><code class="language-text-x-trilium-auto">/*
* This defines a custom widget which displays number of words and characters in a current text note.
* To be activated for a given note, add label 'wordCount' to the note, you can also make it inheritable and thus activate it for the whole subtree.
*
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Examples/Downloading responses from Goo.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Examples/Downloading responses from Goo.html
index c6911fb883..05d13383b5 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Examples/Downloading responses from Goo.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Examples/Downloading responses from Goo.html
@@ -2,7 +2,7 @@
are able to download the responses of a form using the “Link to Sheets"
functionality.</p>
<p>Note that the link will be publicly accessible to everyone (however the
- link is in a hard-to-guess format such as <code>https://docs.google.com/spreadsheets/d/e/2PACX-1vTA8NU2_eZFhc8TFadCZPreBfvP7un8IHd6J0SchrLLw3ueGmntNZjwRmsH2ZRcp1pJYDAzMz1FmFaj/pub?output=csv</code>).
+ link is in a hard-to-guess format such as <code spellcheck="false">https://docs.google.com/spreadsheets/d/e/2PACX-1vTA8NU2_eZFhc8TFadCZPreBfvP7un8IHd6J0SchrLLw3ueGmntNZjwRmsH2ZRcp1pJYDAzMz1FmFaj/pub?output=csv</code>).
Make sure you are not accidentally publishing sensitive information.</p>
<h2>Obtaining the CSV link</h2>
<ol>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Examples/New Task launcher button.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Examples/New Task launcher button.html
index 21987cd080..346b57093b 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Examples/New Task launcher button.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Examples/New Task launcher button.html
@@ -7,8 +7,9 @@
<ol>
<li>First, create a new&nbsp;<a class="reference-link" href="#root/_help_6f9hih2hXXZk">Code</a>&nbsp;note
type with the <em>JS frontend</em> language.</li>
- <li>Define the <code>#run=frontendStartup</code> label in&nbsp;<a class="reference-link"
- href="#root/_help_zEY4DaJG4YT5">Attributes</a>.</li>
+ <li>Define the <code spellcheck="false">#run=frontendStartup</code> label in&nbsp;
+ <a
+ class="reference-link" href="#root/_help_zEY4DaJG4YT5">Attributes</a>.</li>
</ol>
<h2>Content of the script</h2>
<p>Copy-paste the following script:</p><pre><code class="language-application-javascript-env-backend">api.addButtonToToolbar({
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Examples/Using promoted attributes to c.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Examples/Using promoted attributes to c.html
index c76d5d93aa..08ea0c0d25 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Examples/Using promoted attributes to c.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Examples/Using promoted attributes to c.html
@@ -30,9 +30,10 @@ if (!outputNoteId) {
api.showError("Missing output.");
return;
}</code></pre>
-<p>Note that here we are using <code>api.showError</code> which is only available
- for frontend notes. If you are writing a backend note, simply remove <code>api.showError</code> but
- the user will no feedback on why the script did not execute properly.</p>
+<p>Note that here we are using <code spellcheck="false">api.showError</code> which
+ is only available for frontend notes. If you are writing a backend note,
+ simply remove <code spellcheck="false">api.showError</code> but the user
+ will no feedback on why the script did not execute properly.</p>
<p>Afterwards we can simply read the note and do something with it:</p><pre><code class="language-application-javascript-env-backend">const note = api.getNote(inputNoteId);
if (!note) {
return;
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Launch Bar Widgets.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Launch Bar Widgets.html
index 2ef613b9b0..3552ca4faa 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Launch Bar Widgets.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Launch Bar Widgets.html
@@ -8,16 +8,17 @@
<li>Create a Code note of type <em>JavaScript (front-end)</em>.
<ul>
<li>The script itself uses the same concepts as&nbsp;<a class="reference-link"
- href="#root/_help_MgibgPcfeuGz">Custom Widgets</a>, including the use of a <code>NoteContextAwareWidget</code> or
- a <code>BasicWidget</code> (according to needs).</li>
+ href="#root/_help_MgibgPcfeuGz">Custom Widgets</a>, including the use of a
+ <code
+ spellcheck="false">NoteContextAwareWidget</code>or a <code spellcheck="false">BasicWidget</code> (according
+ to needs).</li>
<li>As examples, see&nbsp;<a class="reference-link" href="#root/_help_IPArqVfDQ4We">Note Title Widget</a>&nbsp;and&nbsp;
<a
class="reference-link" href="#root/_help_gcI7RPbaNSh3">Analog Watch</a>.</li>
</ul>
</li>
- <li>Don't set <code>#widget</code>, as that attribute is reserved for&nbsp;
- <a
- class="reference-link" href="#root/_help_MgibgPcfeuGz">Custom Widgets</a>.</li>
+ <li>Don't set <code spellcheck="false">#widget</code>, as that attribute is
+ reserved for&nbsp;<a class="reference-link" href="#root/_help_MgibgPcfeuGz">Custom Widgets</a>.</li>
<li>In the&nbsp;<a class="reference-link" href="#root/_help_x3i7MxGccDuM">Global menu</a>,
select <em>Configure launchbar</em>.</li>
<li>In the <em>Visible Launchers</em> section, select <em>Add a custom widget</em>.</li>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Preact.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Preact.html
index dc10749f75..6834652270 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Preact.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Preact.html
@@ -20,9 +20,10 @@
</aside>
<h2>Import/exports</h2>
<p>When using Preact with JSX, there is a special syntax which provides ES-like
- imports. This <code>import</code> syntax makes way for a more intuitive that
- doesn't make use of global objects and paves the way for better auto-completion
- support that might be introduced in the future.&nbsp;</p>
+ imports. This <code spellcheck="false">import</code> syntax makes way for
+ a more intuitive that doesn't make use of global objects and paves the
+ way for better auto-completion support that might be introduced in the
+ future.&nbsp;</p>
<h3>API imports</h3>
<p>Instead of:</p><pre><code class="language-text-jsx">api.showMessage("Hello");</code></pre>
<p>the JSX version looks like this:</p><pre><code class="language-text-jsx">import { showMessage } from "trilium:api";
@@ -43,13 +44,15 @@ const [ myState, setMyState ] = useState("Hi");</code></pre>
);
}</code></pre>
<h3>Import/export are not required</h3>
-<p>These imports are syntactic sugar meant to replace the usage for the <code>api</code> global
- object (see&nbsp;<a class="reference-link" href="#root/_help_GLks18SNjxmC">Script API</a>).&nbsp;</p>
+<p>These imports are syntactic sugar meant to replace the usage for the
+ <code
+ spellcheck="false">api</code>global object (see&nbsp;<a class="reference-link" href="#root/_help_GLks18SNjxmC">Script API</a>).&nbsp;</p>
<aside
class="admonition note">
- <p>The <code>import</code> and <code>export</code> syntax work only for JSX notes.
- Standard/jQuery code notes still need to use the <code>api</code> global
- and <code>module.exports</code>.</p>
+ <p>The <code spellcheck="false">import</code> and <code spellcheck="false">export</code> syntax
+ work only for JSX notes. Standard/jQuery code notes still need to use the
+ <code
+ spellcheck="false">api</code>global and <code spellcheck="false">module.exports</code>.</p>
</aside>
<h2>Under the hood</h2>
<p>Unlike JavaScript, JSX requires pre-processing to turn it into JavaScript
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Preact/Built-in components.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Preact/Built-in components.html
index 7993c35170..73243df78d 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Preact/Built-in components.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Preact/Built-in components.html
@@ -7,7 +7,7 @@
also available to&nbsp;<a class="reference-link" href="#root/_help_MgibgPcfeuGz">Custom Widgets</a>&nbsp;and&nbsp;
<a
class="reference-link" href="#root/_help_HcABDtFCkbFN">Render Note</a>.</p>
-<p>To use these components, simply import them from <code>trilium:preact</code>:</p><pre><code class="language-text-jsx">import { ActionButton, Button, LinkButton } from "trilium:preact";</code></pre>
+<p>To use these components, simply import them from <code spellcheck="false">trilium:preact</code>:</p><pre><code class="language-text-jsx">import { ActionButton, Button, LinkButton } from "trilium:preact";</code></pre>
<p>and then use them:</p><pre><code class="language-text-jsx">export default function MyRenderNote() {
const onClick = () =&gt; showMessage("A button was pressed");
@@ -38,7 +38,7 @@
<a
class="reference-link" href="#root/_help_i9B4IW7b6V6z">Widget showcase</a>
</li>
- <li>Set the <code>~renderNote</code> relation of the parent note to the child
- note.</li>
+ <li>Set the <code spellcheck="false">~renderNote</code> relation of the parent
+ note to the child note.</li>
<li>Refresh the render note to see the results.</li>
</ol>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Preact/CSS.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Preact/CSS.html
index 6f623f07bd..a148c29f29 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Preact/CSS.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Preact/CSS.html
@@ -9,4 +9,4 @@
<h2>Custom CSS file</h2>
<p>Simply create a&nbsp;<a class="reference-link" href="#root/_help_AlhDUqhENtH7">Custom app-wide CSS</a>.
Make sure the class names are unique enough to not intersect with other
- UI elements, consider adding a prefix (e.g. <code>x-mywidget-</code>).</p>
\ No newline at end of file
+ UI elements, consider adding a prefix (e.g. <code spellcheck="false">x-mywidget-</code>).</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Preact/Component libraries.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Preact/Component libraries.html
index 15dc75646d..6657717231 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Preact/Component libraries.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Preact/Component libraries.html
@@ -6,11 +6,11 @@
<p>Here's an example child hierarchy using&nbsp;<a class="reference-link"
href="#root/_help_HcABDtFCkbFN">Render Note</a>: </p>
<ul>
- <li data-list-item-id="e498ad62c68e67a4f6b3b3b9d50156748"><em>My render note</em>
+ <li><em>My render note</em>
<br>Note type: Render Note
<br>Link <code spellcheck="false">~renderNote</code> to the child note (<em>Render note with subcomponents</em>)
<ul>
- <li data-list-item-id="e2b43e3b03e00467bb376a0a5d619740e">
+ <li>
<p><em>Render note with subcomponents</em>
<br>Type: JSX</p><pre><code class="language-text-jsx">export default function() {
return (
@@ -18,7 +18,7 @@
);
}</code></pre>
<ul>
- <li data-list-item-id="ec6ea351355db20b5117c2460794bbf56">
+ <li>
<p><em>MyComponent</em>
<br>Type: Code / JSX</p><pre><code class="language-text-jsx">export default function MyComponent() {
return &lt;p&gt;Hi&lt;/p&gt;;
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Logging.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Logging.html
index 7351176365..b1236e2ec8 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Logging.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Logging.html
@@ -1,20 +1,22 @@
<p>Both front-end and back-end notes can log messages for debugging.</p>
-<h2>UI logging via <code>api.log</code></h2>
+<h2>UI logging via <code spellcheck="false">api.log</code></h2>
<figure class="image image_resized image-style-align-center" style="width:57.74%;">
<img style="aspect-ratio:749/545;" src="Logging_image.png"
width="749" height="545">
</figure>
<p>The API log feature integrates with the script editor and it displays
- all the messages logged via <code>api.log</code>. This works for both back-end
- and front-end scripts.</p>
-<p>The API log panel will appear after executing a script that uses <code>api.log</code> and
- it can be dismissed temporarily by pressing the close button in the top-right
- of the panel.</p>
+ all the messages logged via <code spellcheck="false">api.log</code>. This
+ works for both back-end and front-end scripts.</p>
+<p>The API log panel will appear after executing a script that uses
+ <code
+ spellcheck="false">api.log</code>and it can be dismissed temporarily by pressing the close
+ button in the top-right of the panel.</p>
<p>Apart from strings, an object can be passed as well in which case it will
be pretty-formatted if possible (e.g. recursive objects are not supported).</p>
<h2>Console logging</h2>
-<p>For logs that are not directly visible to the user, the standard <code>console.log</code> can
- be used as well.</p>
+<p>For logs that are not directly visible to the user, the standard
+ <code
+ spellcheck="false">console.log</code>can be used as well.</p>
<ul>
<li>For front-end scripts, the log will be shown in the Developer Tools (also
known as Inspect).</li>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Script API.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Script API.html
index b1c40e8716..aedb4dcfca 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Script API.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Script API.html
@@ -7,7 +7,7 @@
<li>One for the back-end scripts:&nbsp;<a class="reference-link" href="#root/_help_MEtfsqa5VwNi">Backend API</a>
</li>
</ul>
-<p>In both cases, the API resides in a global variable, <code>api</code>,
+<p>In both cases, the API resides in a global variable, <code spellcheck="false">api</code>,
that can be used anywhere in the script.</p>
<p>For example, to display a message to the user the following front-end
script can be used:</p><pre><code class="language-text-x-trilium-auto">api.showMessage("Hello world.");</code></pre>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Script API/Day.js.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Script API/Day.js.html
index 40234a2308..44c0f9df64 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Script API/Day.js.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Script API/Day.js.html
@@ -2,7 +2,8 @@
also shared with both front-end and back-end scripts. For more information
about the library itself, consult the <a href="https://day.js.org/en/">official documentation</a>.</p>
<h2>How to use</h2>
-<p>The <code>dayjs</code> method is provided directly in the <code>api</code> global:</p><pre><code class="language-application-javascript-env-backend">const date = api.dayjs();
+<p>The <code spellcheck="false">dayjs</code> method is provided directly in
+ the <code spellcheck="false">api</code> global:</p><pre><code class="language-application-javascript-env-backend">const date = api.dayjs();
api.log(date.format("YYYY-MM-DD"));</code></pre>
<h2>Plugins</h2>
<p>Day.js uses a modular, plugin-based architecture. Generally these plugins
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Theme development/Creating a custom theme.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Theme development/Creating a custom theme.html
index f54e2f9e9e..ea74ba4d44 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Theme development/Creating a custom theme.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Theme development/Creating a custom theme.html
@@ -32,7 +32,7 @@
<td>
<img src="Creating a custom theme_Cr.png">
</td>
- <td>In the <em>Owned Attributes</em> section define the <code>#appTheme</code> attribute
+ <td>In the <em>Owned Attributes</em> section define the <code spellcheck="false">#appTheme</code> attribute
to point to any desired name. This is the name that will show up in the
appearance section in settings.</td>
</tr>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Theme development/Creating an icon pack.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Theme development/Creating an icon pack.html
index d1f35a29b8..8aa3c00775 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Theme development/Creating an icon pack.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Theme development/Creating an icon pack.html
@@ -18,23 +18,23 @@
</thead>
<tbody>
<tr>
- <td><code>.woff2</code>
+ <td><code spellcheck="false">.woff2</code>
</td>
- <td><code>font/woff2</code>
+ <td><code spellcheck="false">font/woff2</code>
</td>
<td>Recommended due to great compression (low size).</td>
</tr>
<tr>
- <td><code>.woff</code>
+ <td><code spellcheck="false">.woff</code>
</td>
- <td><code>font/woff</code>
+ <td><code spellcheck="false">font/woff</code>
</td>
<td>Higher compatibility, but the font file is bigger.</td>
</tr>
<tr>
- <td><code>.ttf</code>
+ <td><code spellcheck="false">.ttf</code>
</td>
- <td><code>font/ttf</code>
+ <td><code spellcheck="false">font/ttf</code>
</td>
<td>Most common, but highest font size.</td>
</tr>
@@ -46,13 +46,13 @@
<ul>
<li>SVG-based fonts.</li>
<li>Individual SVGs.</li>
- <li><code>.eot</code> fonts (legacy and proprietary).</li>
+ <li><code spellcheck="false">.eot</code> fonts (legacy and proprietary).</li>
<li>Duotone icons, since it requires a special CSS format that Trilium doesn't
support.</li>
<li>Any other font format not specified in the <em>Supported formats</em> section.</li>
</ul>
<p>In this case, the font must be manually converted to one of the supported
- formats (ideally <code>.woff2</code>).</p>
+ formats (ideally <code spellcheck="false">.woff2</code>).</p>
<h2>Prerequisites</h2>
<p>In order to create a new icon pack from a set of icons, it must meet the
following criteria:</p>
@@ -60,8 +60,8 @@
<li>It must have a web font of the supported format (see above).</li>
<li>It must have some kind of list, containing the name of each icon and the
corresponding Unicode code point. If this is missing, icon fonts usually
- ship with a <code>.css</code> file that can be used to extract the icon names
- from.</li>
+ ship with a <code spellcheck="false">.css</code> file that can be used to
+ extract the icon names from.</li>
</ol>
<h2>Step-by-step process</h2>
<p>As an example throughout this page, we are going to go through the steps
@@ -83,9 +83,9 @@
}</code></pre>
<ul>
<li>The JSON example is a sample from the Boxicons font.</li>
- <li>This is simply a mapping between the CSS classes (<code>bx-ball</code>),
- to its corresponding code point in the font (<code>\ue9c2</code>) and the
- terms/aliases used for search purposes.</li>
+ <li>This is simply a mapping between the CSS classes (<code spellcheck="false">bx-ball</code>),
+ to its corresponding code point in the font (<code spellcheck="false">\ue9c2</code>)
+ and the terms/aliases used for search purposes.</li>
<li>Note that it's also possible to use the unescaped glyph inside the JSON.
It will appear strange (e.g. ), but it will be rendered properly regardless.</li>
<li>The first term is also considered the “name” of the icon, which is displayed
@@ -93,8 +93,8 @@
</ul>
<p>In order to generate this manifest, generally a script is needed that
processes an already existing list. In the case of Phosphor Icons, the
- icon list comes in a file called <code>selection.json</code> with the following
- format:</p><pre><code class="language-application-ld-json">{
+ icon list comes in a file called <code spellcheck="false">selection.json</code> with
+ the following format:</p><pre><code class="language-application-ld-json">{
"icons": [
{
"icon": {
@@ -152,9 +152,9 @@ console.log(processIconPack("light"));</code></pre>
<aside class="admonition tip">
<p><strong>Mind the escape format when processing CSS</strong>
</p>
- <p>The Unicode escape syntax is different in CSS (<code>"\ea3f"</code>) when
- compared to JSON (<code>"\uea3f"</code>). Notice how the JSON escape is <code>\u</code> and
- not <code>\</code>.</p>
+ <p>The Unicode escape syntax is different in CSS (<code spellcheck="false">"\ea3f"</code>)
+ when compared to JSON (<code spellcheck="false">"\uea3f"</code>). Notice
+ how the JSON escape is <code spellcheck="false">\u</code> and not <code spellcheck="false">\</code>.</p>
<p>As a more compact alternative, provide the un-escaped character directly,
as UTF-8 is supported.</p>
</aside>
@@ -165,19 +165,21 @@ console.log(processIconPack("light"));</code></pre>
<li>Copy and paste the manifest generated in the previous step as the content
of this note.</li>
<li>Go to the <a href="#root/_help_0vhv7lsOLy82">note attachment</a> and upload the
- font file (in <code>.woff2</code>, <code>.woff</code>, <code>.ttf</code>)
- format.
- <ol>
- <li>Trilium identifies the font to use from attachments via the MIME type,
- make sure the MIME type is displayed correctly after uploading the attachment
- (for example <code>font/woff2</code>).</li>
- <li>Make sure the <code>role</code> appears as <code>file</code>, otherwise the
- font will not be identified.</li>
- <li>Multiple attachments are supported, but only one font will actually be
- used in Trilium's order of preference: <code>.woff2</code>, <code>.woff</code>, <code>.ttf</code>.
- As such, there's not much reason to upload more than one font per icon
- pack.</li>
- </ol>
+ font file (in <code spellcheck="false">.woff2</code>, <code spellcheck="false">.woff</code>,
+ <code
+ spellcheck="false">.ttf</code>) format.
+ <ol>
+ <li>Trilium identifies the font to use from attachments via the MIME type,
+ make sure the MIME type is displayed correctly after uploading the attachment
+ (for example <code spellcheck="false">font/woff2</code>).</li>
+ <li>Make sure the <code spellcheck="false">role</code> appears as <code spellcheck="false">file</code>,
+ otherwise the font will not be identified.</li>
+ <li>Multiple attachments are supported, but only one font will actually be
+ used in Trilium's order of preference: <code spellcheck="false">.woff2</code>,
+ <code
+ spellcheck="false">.woff</code>, <code spellcheck="false">.ttf</code>. As such, there's not
+ much reason to upload more than one font per icon pack.</li>
+ </ol>
</li>
<li>Go back to the note and rename it. The name of the note will also be the
name of the icon pack as displayed in the list of icons.</li>
@@ -188,13 +190,14 @@ console.log(processIconPack("light"));</code></pre>
the application.</p>
<p>To do so, Trilium makes use of the same format that was used for the internal
icon pack (Boxicons). For example, when an icon from Boxicons is set, it
- looks like this: <code>#iconClass="bx bxs-sushi"</code>. In this case, the
- icon pack prefix is <code>bx</code> and the icon class name is <code>bxs-sushi</code>.</p>
+ looks like this: <code spellcheck="false">#iconClass="bx bxs-sushi"</code>.
+ In this case, the icon pack prefix is <code spellcheck="false">bx</code> and
+ the icon class name is <code spellcheck="false">bxs-sushi</code>.</p>
<p>In order for an icon pack to be recognized, the prefix must be specified
- in the <code>#iconPack</code> label.&nbsp;</p>
-<p>For our example with Phosphor Icons, we can use the <code>ph</code> prefix
+ in the <code spellcheck="false">#iconPack</code> label.&nbsp;</p>
+<p>For our example with Phosphor Icons, we can use the <code spellcheck="false">ph</code> prefix
since it also matches the prefix set in the original CSS. So in this case
- it would be <code>#iconPack=ph</code>.</p>
+ it would be <code spellcheck="false">#iconPack=ph</code>.</p>
<aside class="admonition important">
<p>The prefix must consist of only alphanumeric characters, hyphens and underscore.
If the prefix doesn't match these constraints, the icon pack will be ignored
@@ -228,7 +231,7 @@ console.log(processIconPack("light"));</code></pre>
<p>If the icon pack doesn't show up, look through the&nbsp;<a class="reference-link"
href="#root/_help_bnyigUA2UK7s">Backend (server) logs</a>&nbsp;for clues.</p>
<ul>
- <li>One example is if the font could not be retrieved: <code>ERROR: Icon pack is missing WOFF/WOFF2/TTF attachment: Boxicons v3 400 (dup) (XRzqDQ67fHEK)</code>.</li>
+ <li>One example is if the font could not be retrieved: <code spellcheck="false">ERROR: Icon pack is missing WOFF/WOFF2/TTF attachment: Boxicons v3 400 (dup) (XRzqDQ67fHEK)</code>.</li>
<li>Make sure the prefix is unique and not already taken by some other icon
pack. When there are two icon packs with the same prefix, only one is used.
The server logs will indicate if this situation occurs.</li>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Theme development/Custom app-wide CSS.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Theme development/Custom app-wide CSS.html
index 9332bcc8fe..2e8b4ec2c6 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Theme development/Custom app-wide CSS.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Theme development/Custom app-wide CSS.html
@@ -18,7 +18,7 @@
<td>
<img src="2_Custom app-wide CSS_image.png">
</td>
- <td>In the ribbon, press the “Owned Attributes” section and type <code>#appCss</code>.</td>
+ <td>In the ribbon, press the “Owned Attributes” section and type <code spellcheck="false">#appCss</code>.</td>
</tr>
<tr>
<td>
@@ -26,8 +26,8 @@
</td>
<td>Type the desired CSS.&nbsp;&nbsp;&nbsp;
<br>
- <br>Generally it's a good idea to append <code>!important</code> for the styles
- that are being changed, in order to prevent other</td>
+ <br>Generally it's a good idea to append <code spellcheck="false">!important</code> for
+ the styles that are being changed, in order to prevent other</td>
</tr>
</tbody>
</table>
@@ -39,9 +39,10 @@
<h2>Sample use cases</h2>
<h3>Customizing the printing stylesheet</h3>
<aside class="admonition tip">
- <p>Since v0.99.2, it's no longer possible to use <code>#appCss</code> to customize
- the printing CSS, since the printing is now done in an isolated environment.</p>
- <p>However, it's still possible to customize the CSS via <code>~printCss</code>;
+ <p>Since v0.99.2, it's no longer possible to use <code spellcheck="false">#appCss</code> to
+ customize the printing CSS, since the printing is now done in an isolated
+ environment.</p>
+ <p>However, it's still possible to customize the CSS via <code spellcheck="false">~printCss</code>;
see&nbsp;<a class="reference-link" href="#root/_help_NRnIZmSMc5sj">Printing &amp; Exporting as PDF</a>&nbsp;for
more information.</p>
</aside>
@@ -51,9 +52,10 @@
workspaces.</p>
<p>To do so:</p>
<ol>
- <li>In the note with <code>#workspace</code>, add an inheritable attribute <code>#cssClass(inheritable)</code> with
- a value that uniquely identifies the workspace (say <code>my-workspace</code>).</li>
- <li>Anywhere in the note structure, create a CSS note with <code>#appCss</code>.</li>
+ <li>In the note with <code spellcheck="false">#workspace</code>, add an inheritable
+ attribute <code spellcheck="false">#cssClass(inheritable)</code> with a value
+ that uniquely identifies the workspace (say <code spellcheck="false">my-workspace</code>).</li>
+ <li>Anywhere in the note structure, create a CSS note with <code spellcheck="false">#appCss</code>.</li>
</ol>
<h4>Change the color of the icons in the&nbsp;<a class="reference-link" href="#root/_help_oPVyFC7WL2Lp">Note Tree</a></h4><pre><code class="language-text-x-trilium-auto">.fancytree-node.my-workspace.fancytree-custom-icon {
color: #ff0000;
@@ -70,8 +72,9 @@
</figure>
<ol>
<li>Insert an image in any note and take the URL of the image.</li>
- <li>Use the following CSS, adjusting the <code>background-image</code> and <code>width</code> and <code>height</code> to
- the desired values.</li>
+ <li>Use the following CSS, adjusting the <code spellcheck="false">background-image</code> and
+ <code
+ spellcheck="false">width</code>and <code spellcheck="false">height</code> to the desired values.</li>
</ol><pre><code class="language-text-x-trilium-auto">.note-split.my-workspace .scrolling-container:after {
position: fixed;
content: "";
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Theme development/Customize the Next theme.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Theme development/Customize the Next theme.html
index bcd4ddad71..dd72effbfd 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Theme development/Customize the Next theme.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Theme development/Customize the Next theme.html
@@ -1,20 +1,24 @@
<p>By default, any custom theme will be based on the legacy light theme.
- To use the TriliumNext theme instead, add the <code>#appThemeBase=next</code> attribute
- onto the existing theme. The <code>appTheme</code> attribute must also be
- present.</p>
+ To use the TriliumNext theme instead, add the <code spellcheck="false">#appThemeBase=next</code> attribute
+ onto the existing theme. The <code spellcheck="false">appTheme</code> attribute
+ must also be present.</p>
<p>
<img src="Customize the Next theme_i.png">
</p>
-<p>The <code>appThemeBase</code> label can be set to one of the following values:</p>
+<p>The <code spellcheck="false">appThemeBase</code> label can be set to one
+ of the following values:</p>
<ul>
- <li><code>next</code>, for the TriliumNext (auto light or dark mode).</li>
- <li><code>next-light</code>, for the always light mode of the TriliumNext.</li>
- <li><code>next-dark</code>, for the always dark mode of the TriliumNext.</li>
+ <li><code spellcheck="false">next</code>, for the TriliumNext (auto light
+ or dark mode).</li>
+ <li><code spellcheck="false">next-light</code>, for the always light mode
+ of the TriliumNext.</li>
+ <li><code spellcheck="false">next-dark</code>, for the always dark mode of
+ the TriliumNext.</li>
<li>Any other value is ignored and will use the legacy white theme instead.</li>
</ul>
<h2>Overrides</h2>
<p>Do note that the TriliumNext theme has a few more overrides than the legacy
- theme, so you might need to suffix <code>!important</code> if the style changes
- are not applied.</p><pre><code class="language-text-css">:root {
+ theme, so you might need to suffix <code spellcheck="false">!important</code> if
+ the style changes are not applied.</p><pre><code class="language-text-css">:root {
--launcher-pane-background-color: #0d6efd !important;
}</code></pre>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Theme development/Reference.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Theme development/Reference.html
index c9a4d02759..4a72ee415f 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Theme development/Reference.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Theme development/Reference.html
@@ -1,6 +1,7 @@
<h2>Detecting mobile vs. desktop</h2>
-<p>The mobile layout is different than the one on the desktop. Use <code>body.mobile</code> and <code>body.desktop</code> to
- differentiate between them.</p><pre><code class="language-text-css">body.mobile #root-widget {
+<p>The mobile layout is different than the one on the desktop. Use <code spellcheck="false">body.mobile</code> and
+ <code
+ spellcheck="false">body.desktop</code>to differentiate between them.</p><pre><code class="language-text-css">body.mobile #root-widget {
/* Do something on mobile */
}
@@ -33,7 +34,7 @@ body.desktop #root-widget {
<p>The user can select between vertical layout (the classical one, where
the launcher bar is on the left) and a horizontal layout (where the launcher
bar is on the top and tabs are full-width).</p>
-<p>Different styles can be applied by using classes at <code>body</code> level:</p><pre><code class="language-text-x-trilium-auto">body.layout-vertical #left-pane {
+<p>Different styles can be applied by using classes at <code spellcheck="false">body</code> level:</p><pre><code class="language-text-x-trilium-auto">body.layout-vertical #left-pane {
/* Do something */
}
@@ -41,11 +42,13 @@ body.layout-horizontal #center-pane {
/* Do something else */
}</code></pre>
<p>The two different layouts use different containers (but they are present
- in the DOM regardless of the user's choice), for example <code>#horizontal-main-container</code> and <code>#vertical-main-container</code> can
- be used to customize the background of the content section.</p>
+ in the DOM regardless of the user's choice), for example <code spellcheck="false">#horizontal-main-container</code> and
+ <code
+ spellcheck="false">#vertical-main-container</code>can be used to customize the background
+ of the content section.</p>
<h2>Detecting platform (Windows, macOS) or Electron</h2>
<p>It is possible to add particular styles that only apply to a given platform
- by using the classes in <code>body</code>:</p>
+ by using the classes in <code spellcheck="false">body</code>:</p>
<table>
<thead>
<tr>
@@ -55,9 +58,9 @@ body.layout-horizontal #center-pane {
</thead>
<tbody>
<tr>
- <td><code>&lt;br&gt;body.platform-win32 {&lt;br&gt; background: red;&lt;br&gt;}&lt;br&gt;</code>
+ <td><code spellcheck="false">&lt;br&gt;body.platform-win32 {&lt;br&gt; background: red;&lt;br&gt;}&lt;br&gt;</code>
</td>
- <td><code>&lt;br&gt;body.platform-darwin {&lt;br&gt; background: red;&lt;br&gt;}&lt;br&gt;</code>
+ <td><code spellcheck="false">&lt;br&gt;body.platform-darwin {&lt;br&gt; background: red;&lt;br&gt;}&lt;br&gt;</code>
</td>
</tr>
</tbody>
@@ -68,7 +71,7 @@ body.layout-horizontal #center-pane {
}</code></pre>
<h3>Native title bar</h3>
<p>It's possible to detect if the user has selected the native title bar
- or the custom title bar by querying against <code>body</code>:</p><pre><code class="language-text-x-trilium-auto">body.electron.native-titlebar {
+ or the custom title bar by querying against <code spellcheck="false">body</code>:</p><pre><code class="language-text-x-trilium-auto">body.electron.native-titlebar {
/* Do something */
}
@@ -101,15 +104,16 @@ body.electron:not(.native-titlebar) {
}</code></pre>
<h3>Background/transparency effects on Windows (Mica)</h3>
<p>Windows 11 offers a special background/transparency effect called Mica,
- which can be enabled by themes by setting the <code>--background-material</code> variable
- at <code>body</code> level:</p><pre><code class="language-text-css">body.electron.platform-win32 {
+ which can be enabled by themes by setting the <code spellcheck="false">--background-material</code> variable
+ at <code spellcheck="false">body</code> level:</p><pre><code class="language-text-css">body.electron.platform-win32 {
--background-material: tabbed;
}</code></pre>
-<p>The value can be either <code>tabbed</code> (especially useful for the horizontal
- layout) or <code>mica</code> (ideal for the vertical layout).</p>
-<p>Do note that the Mica effect is applied at <code>body</code> level and the
- theme needs to make the entire hierarchy (semi-)transparent in order for
- it to be visible. Use the TrilumNext theme as an inspiration.</p>
+<p>The value can be either <code spellcheck="false">tabbed</code> (especially
+ useful for the horizontal layout) or <code spellcheck="false">mica</code> (ideal
+ for the vertical layout).</p>
+<p>Do note that the Mica effect is applied at <code spellcheck="false">body</code> level
+ and the theme needs to make the entire hierarchy (semi-)transparent in
+ order for it to be visible. Use the TrilumNext theme as an inspiration.</p>
<h2>Note icons, tab workspace accent color</h2>
<p>Theme capabilities are small adjustments done through CSS variables that
can affect the layout or the visual aspect of the application.</p>
@@ -134,17 +138,19 @@ body.electron:not(.native-titlebar) {
}</code></pre>
<h2>Custom fonts</h2>
<p>Currently the only way to include a custom font is to use&nbsp;<a href="#root/_help_d3fAXQ2diepH">Custom resource providers</a>.
- 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>. Use <code>../../../custom/fonts/myfont.ttf</code> if
- you run your Trilium server on a different path than <code>/</code>.</p>
+ Basically import a font into Trilium and assign it <code spellcheck="false">#customResourceProvider=fonts/myfont.ttf</code> and
+ then import the font in CSS via <code spellcheck="false">/custom/fonts/myfont.ttf</code>.
+ Use <code spellcheck="false">../../../custom/fonts/myfont.ttf</code> if you
+ run your Trilium server on a different path than <code spellcheck="false">/</code>.</p>
<h2>Dark and light themes</h2>
<p>A light theme needs to have the following CSS:</p><pre><code class="language-text-css">:root {
--theme-style: light;
}</code></pre>
-<p>if the theme is dark, then <code>--theme-style</code> needs to be <code>dark</code>.</p>
-<p>If the theme is auto (e.g. supports both light or dark based on <code>prefers-color-scheme</code>)
- it must also declare (in addition to setting <code>--theme-style</code> to
- either <code>light</code> or <code>dark</code>):</p><pre><code class="language-text-css">:root {
+<p>if the theme is dark, then <code spellcheck="false">--theme-style</code> needs
+ to be <code spellcheck="false">dark</code>.</p>
+<p>If the theme is auto (e.g. supports both light or dark based on <code spellcheck="false">prefers-color-scheme</code>)
+ it must also declare (in addition to setting <code spellcheck="false">--theme-style</code> to
+ either <code spellcheck="false">light</code> or <code spellcheck="false">dark</code>):</p><pre><code class="language-text-css">:root {
--theme-style-auto: true;
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Troubleshooting.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Troubleshooting.html
index 11b6cdc3ce..5825695697 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Troubleshooting.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Troubleshooting.html
@@ -12,15 +12,18 @@
<p>Certain problems, such as rendering a note with a faulty script, can cause
Trilium to crash. If Trilium attempts to reload the problematic note upon
restart, it will continue to crash.</p>
-<p>To resolve this, use the <code>TRILIUM_START_NOTE_ID</code> environment
- variable to reset the open tabs to a single specified note ID (e.g., <code>root</code>).
- In Linux, you can set it as follows:</p><pre><code class="language-text-x-trilium-auto">TRILIUM_START_NOTE_ID=root ./trilium</code></pre>
+<p>To resolve this, use the <code spellcheck="false">TRILIUM_START_NOTE_ID</code> environment
+ variable to reset the open tabs to a single specified note ID (e.g.,
+ <code
+ spellcheck="false">root</code>). In Linux, you can set it as follows:</p><pre><code class="language-text-x-trilium-auto">TRILIUM_START_NOTE_ID=root ./trilium</code></pre>
<h2>Broken Script Prevents Application Startup</h2>
<p>If a custom script causes Trilium to crash, and it is set as a startup
script or in an active <a href="#root/_help_MgibgPcfeuGz">custom widget</a>, start
Triliumin "safe mode" to prevent any custom scripts from executing:</p><pre><code class="language-text-x-trilium-auto">TRILIUM_SAFE_MODE=true ./trilium</code></pre>
<p>Depending on your Trilium distribution, you may have pre-made scripts
- available: <code>trilium-safe-mode.bat</code> and <code>trilium-safe-mode.sh</code>.</p>
+ available: <code spellcheck="false">trilium-safe-mode.bat</code> and
+ <code
+ spellcheck="false">trilium-safe-mode.sh</code>.</p>
<p>Once Trilium starts, locate and fix or delete the problematic note.</p>
<h2>Sync and Consistency Checks</h2>
<p>Trilium periodically verifies the logical consistency of the database
@@ -38,15 +41,16 @@
<li>Unprotected notes can be recovered. Follow these steps:</li>
</ul>
<p>Access the <a href="#root/_help_wX4HbRucYSDD">database</a> file in the <a href="#root/_help_tAassRL4RSQL">data directory</a>.
- Open the <code>document.db</code> file with an SQLite client (e.g., <a href="https://sqlitebrowser.org/">DB Browser</a>)
- and execute the following queries:</p><pre><code class="language-text-x-trilium-auto">UPDATE options SET value = '77/twC5O00cuQgNC63VK32qOKKYwj21ev3jZDXoytVU=' WHERE name = 'passwordVerificationSalt';
+ Open the <code spellcheck="false">document.db</code> file with an SQLite
+ client (e.g., <a href="https://sqlitebrowser.org/">DB Browser</a>) and execute
+ the following queries:</p><pre><code class="language-text-x-trilium-auto">UPDATE options SET value = '77/twC5O00cuQgNC63VK32qOKKYwj21ev3jZDXoytVU=' WHERE name = 'passwordVerificationSalt';
UPDATE options SET value = '710BMasZCAgibzIc07X4P9Q4TeBd4ONnqJOho+pWcBM=' WHERE name = 'passwordDerivedKeySalt';
UPDATE options SET value = 'Eb8af1/T57b89lCRuS97tPEl4CwxsAWAU7YNJ77oY+s=' WHERE name = 'passwordVerificationHash';
UPDATE options SET value = 'QpC8XoiYYeqHPtHKRtbNxfTHsk+pEBqVBODYp0FkPBa22tlBBKBMigdLu5GNX8Uu' WHERE name = 'encryptedDataKey';</code></pre>
<p>After executing the changes, commit/write the changes. <strong>This sets the password to "password," allowing you to log in again.</strong>
</p>
<p>For pre-existing protected notes (now unrecoverable), consider deleting
- them or exporting the unprotected notes. Then, delete <code>document.db</code> and
+ them or exporting the unprotected notes. Then, delete <code spellcheck="false">document.db</code> and
start fresh.</p>
<p>If you continue using the existing document file, change your password
(Options -&gt; Change Password).</p>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Troubleshooting/Anonymized Database.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Troubleshooting/Anonymized Database.html
index 41884e6c88..9330a7bf31 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Troubleshooting/Anonymized Database.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Troubleshooting/Anonymized Database.html
@@ -12,18 +12,21 @@
metadata, such as modification dates. After anonymization, the database
undergoes a <a href="https://sqlite.org/lang_vacuum.html">vacuuming process</a> to
ensure no sensitive data remnants remain in the file. The anonymized database
- is saved in the <code>anonymized</code> directory within the <a href="#root/_help_tAassRL4RSQL">data directory</a>,
- making it safe to share with bug reports.</p>
+ is saved in the <code spellcheck="false">anonymized</code> directory within
+ the <a href="#root/_help_tAassRL4RSQL">data directory</a>, making it safe to share
+ with bug reports.</p>
<p>This will create a copy of your document and remove all sensitive data
(currently note titles, contents, revisions, history and some of the options,
and non-system attributes) while leaving all structure and metadata (e.g.
date of last change). After this is done, the database is <a href="https://sqlite.org/lang_vacuum.html">VACUUMed</a> to
make sure there's no stale sensitive data in the document file. The resulting
- file is stored in <code>anonymized</code> directory (placed in the <a href="#root/_help_tAassRL4RSQL">data directory</a>).
- You can safely attach it to a bug report.</p>
+ file is stored in <code spellcheck="false">anonymized</code> directory (placed
+ in the <a href="#root/_help_tAassRL4RSQL">data directory</a>). You can safely
+ attach it to a bug report.</p>
<h2>Command Line Anonymization</h2>
<p>If your <a href="#root/_help_wX4HbRucYSDD">database</a> is corrupted to the point
where Trilium cannot start, the anonymization process can still be executed
via the command line:</p><pre><code class="language-text-x-trilium-auto">node src/anonymize.js</code></pre>
<p>Run this command from the directory containing Trilium's source files,
- typically found in the <code>resources/app</code> directory for desktop builds.</p>
\ No newline at end of file
+ typically found in the <code spellcheck="false">resources/app</code> directory
+ for desktop builds.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Troubleshooting/Error logs/Backend (server) logs.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Troubleshooting/Error logs/Backend (server) logs.html
index d272d05f76..1f886333da 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Troubleshooting/Error logs/Backend (server) logs.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Troubleshooting/Error logs/Backend (server) logs.html
@@ -4,8 +4,8 @@
<h2>Location on the disk</h2>
<p>Backend logs are stored on the file system. To find them, open the&nbsp;
<a
- class="reference-link" href="#root/_help_tAassRL4RSQL">Data directory</a>, go to the <code>log</code> subdirectory and find the
- latest log file, e.g. <code>trilium-2022-12-14.log</code>.&nbsp;</p>
+ class="reference-link" href="#root/_help_tAassRL4RSQL">Data directory</a>, go to the <code spellcheck="false">log</code> subdirectory
+ and find the latest log file, e.g. <code spellcheck="false">trilium-2022-12-14.log</code>.&nbsp;</p>
<h2>Reporting backend bugs</h2>
<p>You can attach the whole file to the bug report (preferable) or open it
and copy-paste only the last lines / lines you believe are relevant.</p>
@@ -15,15 +15,17 @@
in order to reduce the space consumption.</p>
<p>It's possible to change the retention period by modifying the&nbsp;
<a
- class="reference-link" href="#root/_help_Gzjqa934BdH4">Configuration (config.ini or environment variables)</a>&nbsp;via the <code>.ini</code> file:</p><pre><code class="language-text-x-trilium-auto">[Logging]
+ class="reference-link" href="#root/_help_Gzjqa934BdH4">Configuration (config.ini or environment variables)</a>&nbsp;via the
+ <code
+ spellcheck="false">.ini</code>file:</p><pre><code class="language-text-x-trilium-auto">[Logging]
retentionDays=7</code></pre>
-<p>Or via the environment variable <code>TRILIUM_LOGGING_RETENTION_DAYS</code>.</p>
+<p>Or via the environment variable <code spellcheck="false">TRILIUM_LOGGING_RETENTION_DAYS</code>.</p>
<p>Special cases:</p>
<ul>
<li>Positive values indicate the number of days worth of logs to keep</li>
<li>A value of 0 results with the default value (90 days) to be used</li>
- <li>Negative values (e.g. <code>-1</code>) result with all logs to be kept,
- irrespective how ancient and numerous (and</li>
+ <li>Negative values (e.g. <code spellcheck="false">-1</code>) result with all
+ logs to be kept, irrespective how ancient and numerous (and</li>
</ul>
<aside class="admonition note">
<p>If you set the retention days to a low number, you might notice that not