Skip to content

Build your personal knowledge base with Trilium Notes

docs: sync churn after changing spellcheck management

Elian Dorand64b8e286246
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI/MCP.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI/MCP.html
index e4bf116110..20af2ccd55 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI/MCP.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI/MCP.html
@@ -8,8 +8,8 @@
<p>Once the MCP is active, simply add the MCP server to your AI assistant.
The URL to use is displayed in the <em>Endpoint</em> <em>URL</em> information
underneath the MCP toggle.</p>
-<p>Only the HTTP transport is supported, the <code spellcheck="false">stdio</code> method
- is not supported. If that is a blocker, consider using a third-party alternative
+<p>Only the HTTP transport is supported, the <code>stdio</code> method is not
+ supported. If that is a blocker, consider using a third-party alternative
listed below.</p>
<p>The tools exposed to the MCP are the same tools that are supported by
the internal chat (see the <em>Note access</em> section).</p>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI/Privacy.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI/Privacy.html
index 780d60ff5e..70b367efc3 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI/Privacy.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI/Privacy.html
@@ -72,7 +72,7 @@
</ul>
</li>
<li><strong>Attachments and mentions</strong>, when you add them: images,
- PDFs and text files are sent to the provider, and an <code spellcheck="false">@</code> mention
+ PDFs and text files are sent to the provider, and an <code>@</code> mention
makes that note fetchable.</li>
<li><strong>Your search query</strong>, when web search is enabled, the model's
search terms reach the provider's own search infrastructure.</li>
@@ -140,5 +140,5 @@
<p>The built-in MCP server is off by default. When enabled, every request
must carry an ETAPI token, which grants the same full read and write access
to your notes as the REST API; treat one like a password. On desktop it
- is reachable only from <code spellcheck="false">localhost</code> unless you
- turn on&nbsp;<a class="reference-link" href="#root/_help_swSFivWk6KkA">Network Access</a>.</p>
\ No newline at end of file
+ is reachable only from <code>localhost</code> unless you turn on&nbsp;<a
+ class="reference-link" href="#root/_help_swSFivWk6KkA">Network Access</a>.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI/Providers.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI/Providers.html
index 8fdf5018f1..6e9064fafd 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI/Providers.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI/Providers.html
@@ -42,23 +42,20 @@
Claude needs to be installed locally and for a&nbsp;<a class="reference-link"
href="#root/_help_WOcw2SLH6tbX">Server Installation</a>&nbsp;accessed via
a browser, Claude needs to be installed on the server.</li>
- <li>Claude Code must already be authenticated. To do so, run <code spellcheck="false">claude</code> in
- a terminal once, type <code spellcheck="false">/login</code> and follow the
- instructions.</li>
+ <li>Claude Code must already be authenticated. To do so, run <code>claude</code> in
+ a terminal once, type <code>/login</code> and follow the instructions.</li>
<li>Go to&nbsp;<a class="reference-link" href="#root/_help_4TIF1oA4VQRO">Options</a>&nbsp;→ <em>AI / LLM</em> and
add the Claude Code provider.</li>
</ol>
<p>Trilium will identify your Claude Code binary in this order:</p>
<ul>
- <li>By looking for a <code spellcheck="false">TRILIUM_CLAUDE_CODE_PATH</code> environment
- variable pointing to the Claude binary. This allows overriding the path
- if needed.</li>
- <li>By looking for <code spellcheck="false">claude</code> in your PATH, generally
- works in most circumstances.</li>
- <li>By asking your login shell for its <code spellcheck="false">PATH</code> which
- lets a desktop install find a CLI installed through <code spellcheck="false">nvm</code>, <code
- spellcheck="false">fnm</code>, <code spellcheck="false">asdf</code> or Homebrew,
- since a GUI-launched app doesn't inherit your terminal's environment.</li>
+ <li>By looking for a <code>TRILIUM_CLAUDE_CODE_PATH</code> environment variable
+ pointing to the Claude binary. This allows overriding the path if needed.</li>
+ <li>By looking for <code>claude</code> in your PATH, generally works in most
+ circumstances.</li>
+ <li>By asking your login shell for its <code>PATH</code> which lets a desktop
+ install find a CLI installed through <code>nvm</code>, <code>fnm</code>, <code>asdf</code> or
+ Homebrew, since a GUI-launched app doesn't inherit your terminal's environment.</li>
</ul>
<p>After your provider is set up, you'll benefit from the same features as
an API key (note tools, web search, extended thinking, image/PDF attachments,
@@ -82,7 +79,7 @@
<li>Ollama
<ul>
<li>Generally Ollama runs in the background so it should be directly usable
- in Trilium as long as the models are downloaded (e.g. <code spellcheck="false">ollama pull llama3.2</code>).</li>
+ in Trilium as long as the models are downloaded (e.g. <code>ollama pull llama3.2</code>).</li>
</ul>
</li>
<li>LM Studio
@@ -110,10 +107,9 @@
<p>This allows you to set the base URL to an OpenAI-compatible API, with
an optional API key if required by the service.</p>
<p>Enter the base URL exactly as the service documents it, including its
- version path, such as <code spellcheck="false">https://api.groq.com/openai/v1</code> or <code
- spellcheck="false">https://open.bigmodel.cn/api/paas/v4</code>. Only a
- bare host such as <code spellcheck="false">http://localhost:8080</code> is
- completed with <code spellcheck="false">/v1</code>.</p>
+ version path, such as <code>https://api.groq.com/openai/v1</code> or <code>https://open.bigmodel.cn/api/paas/v4</code>.
+ Only a bare host such as <code>http://localhost:8080</code> is completed
+ with <code>/v1</code>.</p>
<p>For custom endpoints, the pricing of the models is not known so the cost
of a conversation will not be displayed; this is especially relevant for
hosted providers.</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/Day Notes.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Day Notes.html
index b6e991d8f4..2bfdb4108b 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,9 +28,8 @@
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 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.
+ 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>
@@ -38,136 +37,116 @@
<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 spellcheck="false">#calendarRoot</code> label):</p>
+ (identified by <code>#calendarRoot</code> label):</p>
<ul>
<li>yearTemplate</li>
- <li>quarterTemplate (if <code spellcheck="false">#enableQuarterNote</code> is
- set)</li>
+ <li>quarterTemplate (if <code>#enableQuarterNote</code> is set)</li>
<li>monthTemplate</li>
- <li>weekTemplate (if <code spellcheck="false">#enableWeekNote</code> is set)</li>
+ <li>weekTemplate (if <code>#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
- 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>
+ 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>
<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 spellcheck="false">~child:template=</code>.
+ template pattern likely used was <code>~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 spellcheck="false">child:template</code> and <code
- spellcheck="false">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>child:template</code> and <code>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
- 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>
+<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>
<h3>Date pattern</h3>
<p>It's possible to customize the title of generated date notes by defining
- 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>
+ a <code>#datePattern</code> attribute on a root calendar note (identified
+ by <code>#calendarRoot</code> label). Following are possible values:</p>
<ul>
- <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>
+ <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>
</ul>
-<p>The default is <code spellcheck="false">{dateNumberPadded} - {weekDay}</code>
+<p>The default is <code>{dateNumberPadded} - {weekDay}</code>
</p>
<h3>Week pattern</h3>
<p>It is also possible to customize the title of generated week notes through
- the <code spellcheck="false">#weekPattern</code> attribute on the root calendar
- note. The options are:</p>
+ the <code>#weekPattern</code> attribute on the root calendar note. The options
+ are:</p>
<ul>
- <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>
+ <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>
</ul>
-<p>The default is <code spellcheck="false">Week {weekNumber}</code>
+<p>The default is <code>Week {weekNumber}</code>
</p>
<h3>Month pattern</h3>
<p>It is also possible to customize the title of generated month notes through
- the <code spellcheck="false">#monthPattern</code> attribute on the root calendar
- note. The options are:</p>
+ the <code>#monthPattern</code> attribute on the root calendar note. The options
+ are:</p>
<ul>
- <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>
+ <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>
</ul>
-<p>The default is <code spellcheck="false">{monthNumberPadded} - {month}</code>
+<p>The default is <code>{monthNumberPadded} - {month}</code>
</p>
<h3>Quarter pattern</h3>
<p>It is also possible to customize the title of generated quarter notes
- through the <code spellcheck="false">#quarterPattern</code> attribute on
- the root calendar note. The options are:</p>
+ through the <code>#quarterPattern</code> attribute on the root calendar note.
+ The options are:</p>
<ul>
- <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>
+ <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>
</ul>
-<p>The default is <code spellcheck="false">Quarter {quarterNumber}</code>
+<p>The default is <code>Quarter {quarterNumber}</code>
</p>
<h3>Year pattern</h3>
<p>It is also possible to customize the title of generated year notes through
- the <code spellcheck="false">#yearPattern</code> attribute on the root calendar
- note. The options are:</p>
+ the <code>#yearPattern</code> attribute on the root calendar note. The options
+ are:</p>
<ul>
- <li><code spellcheck="false">{year}</code> results in the full year (e.g. <code
- spellcheck="false">2025</code>)</li>
+ <li><code>{year}</code> results in the full year (e.g. <code>2025</code>)</li>
</ul>
-<p>The default is <code spellcheck="false">{year}</code>
+<p>The default is <code>{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 spellcheck="false">#dateNote="2025-03-09"</code> this
+<p>Day (and year, month) notes are created with a label - e.g. <code>#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 4d30f2df69..83865dad95 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
@@ -13,12 +13,12 @@
both todoDate 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 spellcheck="false">~child:template</code> <a
+<p>New tasks are created in the TODO note which has <code>~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 spellcheck="false">~runOnAttributeChange</code> relation
+ todoDate, doneDate, tags, location. Importantly it also defines <code>~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
@@ -54,9 +54,9 @@
span.fancytree-node.done .fancytree-title {
color: green !important;
}</code></pre>
-<p>This <a href="#root/_help_6f9hih2hXXZk">code note</a> has <code spellcheck="false">#appCss</code> <a
+<p>This <a href="#root/_help_6f9hih2hXXZk">code note</a> has <code>#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 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
+ 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
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 c52f650772..cfe539d0d6 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,30 +1,27 @@
<p>
<img src="Weight Tracker_image.png">
</p>
-<p>The <code spellcheck="false">Weight Tracker</code> is a <a href="#root/_help_GLks18SNjxmC">Script API</a> showcase
+<p>The <code>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 spellcheck="false">weight</code> as a <a href="#root/_help_OFXdgB2nNk1F">promoted attribute</a> in
+<p>By adding <code>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 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>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>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 spellcheck="false">JS Frontend</code>:</p><pre><code class="language-text-x-trilium-auto">async function getChartData() {
+ type <code>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 = [];
@@ -70,7 +67,6 @@ 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 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
+<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
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 0f362659a0..7d88eae773 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
@@ -28,10 +28,10 @@
<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 spellcheck="false">color</code> attribute
+ are interpreted by Trilium. For example the <code>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
- spellcheck="false">iconClass</code> will change the icon of a note.</li>
+ href="#root/_help_oPVyFC7WL2Lp">Note Tree</a>&nbsp;and links, and <code>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.
They can be used purely for categorization purposes (especially if combined
@@ -42,8 +42,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 spellcheck="false">iconClass</code>). Keep this in
- mind when creating &nbsp;<a class="reference-link" href="#root/_help_OFXdgB2nNk1F">Promoted Attributes</a>&nbsp;in
+ aforementioned <code>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
@@ -51,8 +51,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 spellcheck="false">#</code> character
- whereas relations are prefixed with the <code spellcheck="false">~</code> character.</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>
<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 f7a61b1eb8..a78552bb51 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,46 +3,43 @@
notes, 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 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>
+ 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>
<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 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>
+ 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>
<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
- 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.
+<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.
This can be useful for setting default properties for notes in a specific
section.</p>
-<p>Similarly, for relations use <code spellcheck="false">~child:myRelation</code>.</p>
+<p>Similarly, for relations use <code>~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
- spellcheck="false">#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>#child:child:child:foo</code> applied
+ to a root note would create:</p>
<ul>
- <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>
+ <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>
</ul>
-<p>Similarly, use <code spellcheck="false">~child:child:child:foo</code> if
- dealing with relations.</p>
+<p>Similarly, use <code>~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 151417fbe5..05a5a00de7 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,9 +3,9 @@
<h2>Common use cases</h2>
<ul>
<li><strong>Metadata for personal use</strong>: Assign labels with optional
- 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
+ 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>
<li><strong>Configuration</strong>: Labels can configure advanced features
or settings (see reference below).</li>
@@ -35,24 +35,21 @@
<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 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>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>If the string contains quotes (regardless of whether it has spaces), then
- 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>
+ 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>
</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 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>
+ <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>
</aside>
<figure class="table">
<table>
@@ -64,182 +61,178 @@
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">disableVersioning</code>
+ <td><code>disableVersioning</code>
</td>
<td>Disables automatic creation of&nbsp;<a class="reference-link" href="#root/_help_vZWERwf8U3nx">Note Revisions</a>&nbsp;for
a particular note. Useful for e.g. large, but unimportant notes - e.g.
large JS libraries used for scripting.</td>
</tr>
<tr>
- <td><code spellcheck="false">versioningLimit</code>
+ <td><code>versioningLimit</code>
</td>
<td>Limits the maximum number of&nbsp;<a class="reference-link" href="#root/_help_vZWERwf8U3nx">Note Revisions</a>&nbsp;for
a particular note, overriding the global settings.</td>
</tr>
<tr>
- <td><code spellcheck="false">calendarRoot</code>
+ <td><code>calendarRoot</code>
</td>
<td>Marks the note which should be used as root for&nbsp;<a class="reference-link"
href="#root/_help_l0tKav7yLHGF">Day Notes</a>. Only one should be marked
as such.</td>
</tr>
<tr>
- <td><code spellcheck="false">archived</code>
+ <td><code>archived</code>
</td>
<td>Hides notes from default search results and dialogs. Archived notes can
optionally be hidden in the&nbsp;<a class="reference-link" href="#root/_help_oPVyFC7WL2Lp">Note Tree</a>.</td>
</tr>
<tr>
- <td><code spellcheck="false">excludeFromExport</code>
+ <td><code>excludeFromExport</code>
</td>
<td>Excludes this note and its children when exporting.</td>
</tr>
<tr>
- <td><code spellcheck="false">run</code>, <code spellcheck="false">runOnInstance</code>, <code
- spellcheck="false">runAtHour</code>
+ <td><code>run</code>, <code>runOnInstance</code>, <code>runAtHour</code>
</td>
<td>See&nbsp;<a class="reference-link" href="#root/_help_GPERMystNGTB">Backend Events</a>.</td>
</tr>
<tr>
- <td><code spellcheck="false">disableInclusion</code>
+ <td><code>disableInclusion</code>
</td>
<td>Scripts with this label won't be included into parent script execution.</td>
</tr>
<tr>
- <td><code spellcheck="false">sorted</code>, <code spellcheck="false">sortDirection</code>, <code
- spellcheck="false">sortFoldersFirst</code>, <code spellcheck="false">sortNatural</code>, <code
- spellcheck="false">sortLocale</code>, <code spellcheck="false">top</code>, <code
- spellcheck="false">bottom</code>
+ <td><code>sorted</code>, <code>sortDirection</code>, <code>sortFoldersFirst</code>, <code>sortNatural</code>, <code>sortLocale</code>, <code>top</code>, <code>bottom</code>
</td>
<td>Manages automatic/permanent sorting. See&nbsp;<a class="reference-link"
href="#root/_help_aGlEvb9hyDhS">Sorting Notes</a>.</td>
</tr>
<tr>
- <td><code spellcheck="false">hidePromotedAttributes</code>
+ <td><code>hidePromotedAttributes</code>
</td>
<td>Hide&nbsp;<a class="reference-link" href="#root/_help_OFXdgB2nNk1F">Promoted Attributes</a>&nbsp;on
this note. Generally useful when defining inherited attributes, but the
parent note doesn't need them.</td>
</tr>
<tr>
- <td><code spellcheck="false">readOnly</code>
+ <td><code>readOnly</code>
</td>
<td>Marks a note to always be <a href="#root/_help_CoFPLs3dRlXc">read-only</a>,
if it's a supported note (text, code, mermaid).</td>
</tr>
<tr>
- <td><code spellcheck="false">autoReadOnlyDisabled</code>
+ <td><code>autoReadOnlyDisabled</code>
</td>
<td>Disables automatic <a href="#root/_help_CoFPLs3dRlXc">read-only mode</a> for
the given note.</td>
</tr>
<tr>
- <td><code spellcheck="false">appCss</code>
+ <td><code>appCss</code>
</td>
<td>Marks CSS notes which are loaded into the Trilium application and can
thus be used to modify Trilium's looks. See&nbsp;<a class="reference-link"
href="#root/_help_AlhDUqhENtH7">Custom app-wide CSS</a>&nbsp;for more info.</td>
</tr>
<tr>
- <td><code spellcheck="false">appTheme</code>
+ <td><code>appTheme</code>
</td>
<td>Marks CSS notes which are full Trilium themes and are thus available in
Trilium options. See&nbsp;<a class="reference-link" href="#root/_help_pKK96zzmvBGf">Theme development</a>&nbsp;for
more information.</td>
</tr>
<tr>
- <td><code spellcheck="false">appThemeBase</code>
+ <td><code>appThemeBase</code>
</td>
- <td>Set to <code spellcheck="false">next</code>, <code spellcheck="false">next-light</code>,
- or <code spellcheck="false">next-dark</code> to use the corresponding TriliumNext
- theme (auto, light or dark) as the base for a custom theme, instead of
- the legacy one. See&nbsp;<a class="reference-link" href="#root/_help_WFGzWeUK6arS">Customize the Next theme</a>&nbsp;for
- more information.</td>
+ <td>Set to <code>next</code>, <code>next-light</code>, or <code>next-dark</code> to
+ use the corresponding TriliumNext theme (auto, light or dark) as the base
+ for a custom theme, instead of the legacy one. See&nbsp;<a class="reference-link"
+ href="#root/_help_WFGzWeUK6arS">Customize the Next theme</a>&nbsp;for more
+ information.</td>
</tr>
<tr>
- <td><code spellcheck="false">customFont</code>
+ <td><code>customFont</code>
</td>
<td>Marks a font as selectable in the Options → Appearance font selection.
See&nbsp;<a class="reference-link" href="#root/_help_w4rMEhJsALlA">Personalizing the font</a>.</td>
</tr>
<tr>
- <td><code spellcheck="false">cssClass</code>
+ <td><code>cssClass</code>
</td>
<td>Value of this label is then added as CSS class to the node representing
given note in the&nbsp;<a class="reference-link" href="#root/_help_oPVyFC7WL2Lp">Note Tree</a>.
This can be useful for advanced theming. Can be used in template notes.</td>
</tr>
<tr>
- <td><code spellcheck="false">iconClass</code>
+ <td><code>iconClass</code>
</td>
<td>value of this label is added as a CSS class to the icon on the tree which
can help visually distinguish the notes in the tree. Example might be bx
bx-home - icons are taken from boxicons. Can be used in template notes.</td>
</tr>
<tr>
- <td><code spellcheck="false">pageSize</code>
+ <td><code>pageSize</code>
</td>
<td>Specifies the number of items per page in&nbsp;<a class="reference-link"
href="#root/_help_0ESUbbAxVnoK">Note List</a>.</td>
</tr>
<tr>
- <td><code spellcheck="false">customRequestHandler</code>
+ <td><code>customRequestHandler</code>
</td>
<td>See&nbsp;<a class="reference-link" href="#root/_help_J5Ex1ZrMbyJ6">Custom Request Handler</a>.</td>
</tr>
<tr>
- <td><code spellcheck="false">customResourceProvider</code>
+ <td><code>customResourceProvider</code>
</td>
<td>See&nbsp;<a class="reference-link" href="#root/_help_d3fAXQ2diepH">Custom Resource Providers</a>.</td>
</tr>
<tr>
- <td><code spellcheck="false">widget</code>
+ <td><code>widget</code>
</td>
<td>Marks this note as a custom widget which will be added to the Trilium
component tree. See&nbsp;<a class="reference-link" href="#root/_help_MgibgPcfeuGz">Custom Widgets</a>&nbsp;for
more information.</td>
</tr>
<tr>
- <td><code spellcheck="false">searchHome</code>
+ <td><code>searchHome</code>
</td>
<td>New search notes will be created as children of this note (see&nbsp;<a
class="reference-link" href="#root/_help_m523cpzocqaD">Saved Search</a>).</td>
</tr>
<tr>
- <td><code spellcheck="false">workspace</code> and related attributes</td>
+ <td><code>workspace</code> and related attributes</td>
<td>See&nbsp;<a class="reference-link" href="#root/_help_9sRHySam5fXb">Workspaces</a>.</td>
</tr>
<tr>
- <td><code spellcheck="false">inbox</code>
+ <td><code>inbox</code>
</td>
<td>Default inbox location for new notes. See&nbsp;<a class="reference-link"
href="#root/_help_S0Fos78ZfcY7">Note Inbox</a>&nbsp;for more information.</td>
</tr>
<tr>
- <td><code spellcheck="false">sqlConsoleHome</code>
+ <td><code>sqlConsoleHome</code>
</td>
<td>Default location of&nbsp;<a class="reference-link" href="#root/_help_YKWqdJhzi2VY">SQL Console</a>&nbsp;saved
queries.</td>
</tr>
<tr>
- <td><code spellcheck="false">bookmarked</code>
+ <td><code>bookmarked</code>
</td>
<td>Indicates this note is a <a href="#root/_help_u3YFHC9tQlpm">bookmark</a>.</td>
</tr>
<tr>
- <td><code spellcheck="false">bookmarkFolder</code>
+ <td><code>bookmarkFolder</code>
</td>
<td>Note with this label will appear in bookmarks as folder (allowing access
to its children). See&nbsp;<a class="reference-link" href="#root/_help_u3YFHC9tQlpm">Bookmarks</a>&nbsp;for
more information.</td>
</tr>
<tr>
- <td><code spellcheck="false">share*</code>
+ <td><code>share*</code>
</td>
<td>See the attribute reference in&nbsp;<a class="reference-link" href="#root/_help_R9pX4DGra2Vt">Sharing</a>.</td>
</tr>
<tr>
- <td><code spellcheck="false">displayRelations</code>, <code spellcheck="false">hideRelations</code>
+ <td><code>displayRelations</code>, <code>hideRelations</code>
</td>
<td>Comma delimited names of relations which should be displayed/hidden in
a&nbsp;<a class="reference-link" href="#root/_help_iRwzGnHPzonm">Relation Map</a>&nbsp;(both
@@ -247,32 +240,31 @@
functionality).</td>
</tr>
<tr>
- <td><code spellcheck="false">titleTemplate</code>
+ <td><code>titleTemplate</code>
</td>
<td>Default title of notes created as children of this note. This value is
evaluated as a JavaScript string and thus can be enriched with dynamic
- content via the injected <code spellcheck="false">now</code> and <code spellcheck="false">parentNote</code> variables.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+ content via the injected <code>now</code> and <code>parentNote</code> variables.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
<br>See&nbsp;<a class="reference-link" href="#root/_help_47ZrP6FNuoG8">Default Note Title</a>&nbsp;for
more info.</td>
</tr>
<tr>
- <td><code spellcheck="false">template</code>
+ <td><code>template</code>
</td>
<td>This note will appear in the selection of available template when creating
new note. See&nbsp;<a class="reference-link" href="#root/_help_KC1HB96bqqHX">Templates</a>&nbsp;for
more information.</td>
</tr>
<tr>
- <td><code spellcheck="false">toc</code>
+ <td><code>toc</code>
</td>
<td>Controls the display of the&nbsp;<a class="reference-link" href="#root/_help_BFvAtE74rbP6">Table of contents</a>&nbsp;for
- a given note. <code spellcheck="false">#toc</code> or <code spellcheck="false">#toc=show</code> to
- always display the table of contents, <code spellcheck="false">#toc=false</code> to
- always hide it.</td>
+ a given note. <code>#toc</code> or <code>#toc=show</code> to always display
+ the table of contents, <code>#toc=false</code> to always hide it.</td>
</tr>
<tr>
- <td><code spellcheck="false">color</code>
+ <td><code>color</code>
</td>
<td>defines color of the note in note tree, links etc. Use any valid CSS color
value like 'red' or #a13d5f&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
@@ -280,166 +272,158 @@
sufficient contrast with the background.</td>
</tr>
<tr>
- <td><code spellcheck="false">keyboardShortcut</code>
+ <td><code>keyboardShortcut</code>
</td>
<td>Defines a keyboard shortcut which will immediately jump to this note.
Example: 'ctrl+alt+e'. Requires frontend reload for the change to take
effect.</td>
</tr>
<tr>
- <td><code spellcheck="false">keepCurrentHoisting</code>
+ <td><code>keepCurrentHoisting</code>
</td>
<td>Opening this link won't change hoisting even if the note is not displayable
in the current hoisted subtree.</td>
</tr>
<tr>
- <td><code spellcheck="false">executeButton</code>
+ <td><code>executeButton</code>
</td>
<td>Title of the button which will execute the current code note</td>
</tr>
<tr>
- <td><code spellcheck="false">executeDescription</code>
+ <td><code>executeDescription</code>
</td>
<td>Longer description of the current code note displayed together with the
execute button</td>
</tr>
<tr>
- <td><code spellcheck="false">excludeFromNoteMap</code>
+ <td><code>excludeFromNoteMap</code>
</td>
<td>Notes with this label will be hidden from the&nbsp;<a class="reference-link"
href="#root/_help_bdUJEHsAPYQR">Note Map</a>.</td>
</tr>
<tr>
- <td><code spellcheck="false">newNotesOnTop</code>
+ <td><code>newNotesOnTop</code>
</td>
<td>New notes will be created at the top of the parent note, not on the bottom.</td>
</tr>
<tr>
- <td><code spellcheck="false">hideHighlightWidget</code>
+ <td><code>hideHighlightWidget</code>
</td>
<td>Hides the&nbsp;<a class="reference-link" href="#root/_help_AxshuNRegLAv">Highlights list</a>&nbsp;widget</td>
</tr>
<tr>
- <td><code spellcheck="false">hideChildrenOverview</code>
+ <td><code>hideChildrenOverview</code>
</td>
<td>Hides the&nbsp;<a class="reference-link" href="#root/_help_0ESUbbAxVnoK">Note List</a>&nbsp;for
that particular note.</td>
</tr>
<tr>
- <td><code spellcheck="false">subtreeHidden</code>
+ <td><code>subtreeHidden</code>
</td>
<td>Hides all child notes of this note from the tree, displaying a badge with
the count of hidden children. Children remain accessible via search or
direct links.</td>
</tr>
<tr>
- <td><code spellcheck="false">printLandscape</code>
+ <td><code>printLandscape</code>
</td>
<td>When exporting to PDF, changes the orientation of the page to landscape
instead of portrait.</td>
</tr>
<tr>
- <td><code spellcheck="false">printPageSize</code>
+ <td><code>printPageSize</code>
</td>
- <td>When exporting to PDF, changes the size of the page. Supported 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>.</td>
+ <td>When exporting to PDF, changes the size of the page. Supported 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>.</td>
</tr>
<tr>
- <td><code spellcheck="false">printScale</code>, <code spellcheck="false">printMargins</code>
+ <td><code>printScale</code>, <code>printMargins</code>
</td>
<td>Additional printing options, generally configured through the&nbsp;<a
class="reference-link" href="#root/_help_NRnIZmSMc5sj">Printing &amp; Exporting as PDF</a>&nbsp;dialog.</td>
</tr>
<tr>
- <td><code spellcheck="false">geolocation</code>
+ <td><code>geolocation</code>
</td>
<td>Indicates the latitude and longitude of a note, to be displayed in a&nbsp;<a
class="reference-link" href="#root/_help_81SGnPGMk7Xc">Geo Map</a>.</td>
</tr>
<tr>
- <td><code spellcheck="false">geoShape</code>
+ <td><code>geoShape</code>
</td>
<td>Indicates the coordinates for the points of a <a href="#root/_help_C2H9HK4BzwG7">shapec</a> drawn
on the&nbsp;<a class="reference-link" href="#root/_help_81SGnPGMk7Xc">Geo Map</a>&nbsp;(e.g.
area, rectangle, circle).</td>
</tr>
<tr>
- <td><code spellcheck="false">map:*</code>
+ <td><code>map:*</code>
</td>
<td>Defines specific options for the&nbsp;<a class="reference-link" href="#root/_help_81SGnPGMk7Xc">Geo Map</a>.</td>
</tr>
<tr>
- <td><code spellcheck="false">calendar:*</code>
+ <td><code>calendar:*</code>
</td>
<td>Defines specific options for the&nbsp;<a class="reference-link" href="#root/_help_xWbu3jpNWapp">Calendar</a>.</td>
</tr>
<tr>
- <td><code spellcheck="false">viewType</code>
+ <td><code>viewType</code>
</td>
<td>Sets the view of child notes (e.g. grid or list). See&nbsp;<a class="reference-link"
href="#root/_help_0ESUbbAxVnoK">Note List</a>&nbsp;for more information.</td>
</tr>
<tr>
- <td><code spellcheck="false">webViewSrc</code>
+ <td><code>webViewSrc</code>
</td>
<td>Defines the URL of the&nbsp;<a class="reference-link" href="#root/_help_1vHRoWCEjj0L">Web View</a>.</td>
</tr>
<tr>
- <td><code spellcheck="false">tabWidth</code>, <code spellcheck="false">indentWithTabs</code>, <code
- spellcheck="false">wrapLines</code>
+ <td><code>tabWidth</code>, <code>indentWithTabs</code>, <code>wrapLines</code>
</td>
<td>Per-note Code editor settings: indentation width, indent with tabs vs.
spaces, and word wrapping. See&nbsp;<a class="reference-link" href="#root/_help_6f9hih2hXXZk">Code</a>.</td>
</tr>
<tr>
- <td><code spellcheck="false">datePattern</code>, <code spellcheck="false">weekPattern</code>, <code
- spellcheck="false">monthPattern</code>, <code spellcheck="false">quarterPattern</code>, <code
- spellcheck="false">yearPattern</code>
+ <td><code>datePattern</code>, <code>weekPattern</code>, <code>monthPattern</code>, <code>quarterPattern</code>, <code>yearPattern</code>
</td>
<td>Customizes the title naming pattern of day / week / month / quarter /
year notes. See&nbsp;<a class="reference-link" href="#root/_help_l0tKav7yLHGF">Day Notes</a>.</td>
</tr>
<tr>
- <td><code spellcheck="false">enableWeekNote</code>, <code spellcheck="false">enableQuarterNote</code>
+ <td><code>enableWeekNote</code>, <code>enableQuarterNote</code>
</td>
<td>Enables optional week and quarter notes in the calendar hierarchy; set
on the calendar root. See&nbsp;<a class="reference-link" href="#root/_help_l0tKav7yLHGF">Day Notes</a>.</td>
</tr>
<tr>
- <td><code spellcheck="false">fullContentWidth</code>
+ <td><code>fullContentWidth</code>
</td>
<td>Expands the note to the full editor width, ignoring the configured content
width (useful for wide tables). See&nbsp;<a class="reference-link" href="#root/_help_t596jLvPrqkS">Content width</a>.</td>
</tr>
<tr>
- <td><code spellcheck="false">iconPack</code>
+ <td><code>iconPack</code>
</td>
<td>Identifies a custom icon pack by its prefix. See&nbsp;<a class="reference-link"
href="#root/_help_g1mlRoU8CsqC">Creating an icon pack</a>.</td>
</tr>
<tr>
- <td><code spellcheck="false">clipperInbox</code>
+ <td><code>clipperInbox</code>
</td>
<td>Overrides the default location where the Web Clipper saves clippings (defaults
to the day note). See&nbsp;<a class="reference-link" href="#root/_help_MtPxeAWVAzMg">Web Clipper</a>.</td>
</tr>
<tr>
- <td><code spellcheck="false">similarNotesWidgetDisabled</code>
+ <td><code>similarNotesWidgetDisabled</code>
</td>
<td>Disables the&nbsp;<a class="reference-link" href="#root/_help_xWtq5NUHOwql">Similar Notes</a>&nbsp;ribbon
tab (old layout only)</td>
</tr>
<tr>
- <td><code spellcheck="false">docName</code> , <code spellcheck="false">docUrl</code>
+ <td><code>docName</code> , <code>docUrl</code>
</td>
<td>Used internally for the in-app help.</td>
</tr>
<tr>
- <td><code spellcheck="false">aiQuickAction</code>
+ <td><code>aiQuickAction</code>
</td>
<td>Defines a custom prompt to be used for the&nbsp;<a class="reference-link"
href="#root/_help_VRoP0g1uHHc2">In-editor AI assistant</a>'s quick actions.</td>
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 731a47f15d..c6c6ab71c0 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
@@ -96,8 +96,8 @@
</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 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>
+ 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>
<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>
@@ -148,7 +148,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 spellcheck="false">startDate</code> which
+ promoted attributes. These map to system attributes such as <code>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
@@ -156,29 +156,29 @@
</ul>
</li>
<li>The Trilium documentation (which is edited in Trilium) uses a promoted
- attribute to be able to easily edit the <code spellcheck="false">#shareAlias</code> (see&nbsp;<a
+ attribute to be able to easily edit the <code>#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 spellcheck="false">#color</code>,
+ <li>If you always edit a particular system attribute such as <code>#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 spellcheck="false">isPartnerOf</code>.
+ there might be a relation between those two of <code>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 spellcheck="false">isParentOf</code> and
- the other one going from child to parent might be called <code spellcheck="false">isChildOf</code>.</p>
+ 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>
<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 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>
+ - 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>
<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 5c139f52bb..5823a62bf4 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,20 +39,19 @@
<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 spellcheck="false">myRelation</code>:
+ <li>To create a relation called <code>myRelation</code>:
<ul>
- <li>First type <code spellcheck="false">~myRelation=@</code> .</li>
+ <li>First type <code>~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 spellcheck="false">=</code> sign (without the <code
- spellcheck="false">@</code> , in this case).</li>
+ paste it after the <code>=</code> sign (without the <code>@</code> , in this
+ case).</li>
</ul>
</li>
<li>To create an inheritable relation, follow the same steps as previously
- described but instead of <code spellcheck="false">~myRelation</code> write <code
- spellcheck="false">~myRelation(inheritable)</code>.</li>
+ described but instead of <code>~myRelation</code> write <code>~myRelation(inheritable)</code>.</li>
</ul>
<h2>Predefined relations</h2>
<p>These relations are supported and used internally by Trilium.</p>
@@ -67,20 +66,20 @@ class="table">
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">runOn*</code>
+ <td><code>runOn*</code>
</td>
<td>See&nbsp;<a class="reference-link" href="#root/_help_GPERMystNGTB">Events</a>
</td>
</tr>
<tr>
- <td><code spellcheck="false">template</code>
+ <td><code>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 spellcheck="false">template:newNoteDefaultParent</code>
+ <td><code>template:newNoteDefaultParent</code>
</td>
<td>set on a template note, points to the note under which notes created from
the template are placed when no other location is picked; when set several
@@ -88,7 +87,7 @@ class="table">
href="#root/_help_KC1HB96bqqHX">Templates</a>.</td>
</tr>
<tr>
- <td><code spellcheck="false">inherit</code>
+ <td><code>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
@@ -96,51 +95,50 @@ class="table">
the documentation.</td>
</tr>
<tr>
- <td><code spellcheck="false">renderNote</code>
+ <td><code>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 spellcheck="false">widget</code>
+ <td><code>widget</code>
</td>
<td>Used in the context of custom&nbsp;<a class="reference-link" href="#root/_help_4Gn3psZKsfSm">Launch Bar Widgets</a>,
to refer to the widget that will be rendered.</td>
</tr>
<tr>
- <td><code spellcheck="false">shareCss</code>
+ <td><code>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 spellcheck="false">shareHiddenFromTree</code> and <code
- spellcheck="false">shareOmitDefaultCss</code> as well.</td>
+ in the shared sub-tree as well. Consider using <code>shareHiddenFromTree</code> and <code>shareOmitDefaultCss</code> as
+ well.</td>
</tr>
<tr>
- <td><code spellcheck="false">shareJs</code>
+ <td><code>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 spellcheck="false">shareHiddenFromTree</code>.</td>
+ be in the shared sub-tree as well. Consider using <code>shareHiddenFromTree</code>.</td>
</tr>
<tr>
- <td><code spellcheck="false">shareHtml</code>
+ <td><code>shareHtml</code>
</td>
<td>HTML note which will be injected into the share page at locations specified
- by the <code spellcheck="false">shareHtmlLocation</code> label. HTML note
- must be in the shared sub-tree as well. Consider using <code spellcheck="false">shareHiddenFromTree</code>.</td>
+ by the <code>shareHtmlLocation</code> label. HTML note must be in the shared
+ sub-tree as well. Consider using <code>shareHiddenFromTree</code>.</td>
</tr>
<tr>
- <td><code spellcheck="false">shareTemplate</code>
+ <td><code>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
- spellcheck="false">shareHiddenFromTree</code>.</td>
+ the shared note. Falls back to the default template. Consider using <code>shareHiddenFromTree</code>.</td>
</tr>
<tr>
- <td><code spellcheck="false">shareFavicon</code>
+ <td><code>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 spellcheck="false">shareHiddenFromTree</code>.</td>
+ sub-tree as well. Consider using <code>shareHiddenFromTree</code>.</td>
</tr>
</tbody>
</table>
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 65d9a5ddc3..f71e67df41 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
@@ -115,9 +115,8 @@
allows for dynamic values with access to the note information via&nbsp;<a
class="reference-link" href="#root/_help_habiZ3HU8Kw8">FNote</a>, for example:
<ul>
- <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
+ <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
prefix the note titles with each note's creation date (in month-day format).</li>
</ul>
</li>
@@ -180,13 +179,12 @@
<li>Examples:
<ul>
<li>
- <p>To apply a suffix (<code spellcheck="false">- suffix</code> in this example),
- to the note title:</p><pre><code class="language-text-javascript">note.title = note.title + " - suffix";</code></pre>
+ <p>To apply a suffix (<code>- suffix</code> in this example), to the note
+ title:</p><pre><code class="language-text-javascript">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 spellcheck="false">#shareAlias</code> label to the title of the
- note:</p><pre><code class="language-text-javascript">note.setLabel("shareAlias", note.title)</code></pre>
+ the <code>#shareAlias</code> label to the title of the note:</p><pre><code class="language-text-javascript">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 environment variables).html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables).html
index 5f65bd5fcb..4178ea8912 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables).html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables).html
@@ -1,12 +1,11 @@
-<p>Trilium supports configuration via a file named <code spellcheck="false">config.ini</code> and
+<p>Trilium supports configuration via a file named <code>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 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>
+ 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>
<h2>Configuration Precedence</h2>
<p>Configuration values are loaded in the following order of precedence (highest
to lowest):</p>
@@ -19,14 +18,13 @@
</ol>
<h2>Environment Variable Patterns</h2>
<p>Trilium supports multiple environment variable patterns for flexibility.
- The primary pattern is: <code spellcheck="false">TRILIUM_[SECTION]_[KEY]</code>
+ The primary pattern is: <code>TRILIUM_[SECTION]_[KEY]</code>
</p>
<p>Where:</p>
<ul>
- <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>
+ <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>
</ul>
<p>Additionally, shorter aliases are available for common configurations
(see Alternative Variables section below).</p>
@@ -44,35 +42,35 @@
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">TRILIUM_GENERAL_INSTANCENAME</code>
+ <td><code>TRILIUM_GENERAL_INSTANCENAME</code>
</td>
<td>string</td>
<td>""</td>
<td>Instance name for API identification</td>
</tr>
<tr>
- <td><code spellcheck="false">TRILIUM_GENERAL_NOAUTHENTICATION</code>
+ <td><code>TRILIUM_GENERAL_NOAUTHENTICATION</code>
</td>
<td>boolean</td>
<td>false</td>
<td>Disable authentication (server only)</td>
</tr>
<tr>
- <td><code spellcheck="false">TRILIUM_GENERAL_NOBACKUP</code>
+ <td><code>TRILIUM_GENERAL_NOBACKUP</code>
</td>
<td>boolean</td>
<td>false</td>
<td>Disable automatic backups</td>
</tr>
<tr>
- <td><code spellcheck="false">TRILIUM_GENERAL_NODESKTOPICON</code>
+ <td><code>TRILIUM_GENERAL_NODESKTOPICON</code>
</td>
<td>boolean</td>
<td>false</td>
<td>Disable desktop icon creation</td>
</tr>
<tr>
- <td><code spellcheck="false">TRILIUM_GENERAL_READONLY</code>
+ <td><code>TRILIUM_GENERAL_READONLY</code>
</td>
<td>boolean</td>
<td>false</td>
@@ -94,70 +92,70 @@
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">TRILIUM_NETWORK_HOST</code>
+ <td><code>TRILIUM_NETWORK_HOST</code>
</td>
<td>string</td>
<td>"0.0.0.0"</td>
<td>Server host binding</td>
</tr>
<tr>
- <td><code spellcheck="false">TRILIUM_NETWORK_PORT</code>
+ <td><code>TRILIUM_NETWORK_PORT</code>
</td>
<td>string</td>
<td>"8080"</td>
<td>Server port</td>
</tr>
<tr>
- <td><code spellcheck="false">TRILIUM_NETWORK_HTTPS</code>
+ <td><code>TRILIUM_NETWORK_HTTPS</code>
</td>
<td>boolean</td>
<td>false</td>
<td>Enable HTTPS</td>
</tr>
<tr>
- <td><code spellcheck="false">TRILIUM_NETWORK_CERTPATH</code>
+ <td><code>TRILIUM_NETWORK_CERTPATH</code>
</td>
<td>string</td>
<td>""</td>
<td>SSL certificate path</td>
</tr>
<tr>
- <td><code spellcheck="false">TRILIUM_NETWORK_KEYPATH</code>
+ <td><code>TRILIUM_NETWORK_KEYPATH</code>
</td>
<td>string</td>
<td>""</td>
<td>SSL key path</td>
</tr>
<tr>
- <td><code spellcheck="false">TRILIUM_NETWORK_TRUSTEDREVERSEPROXY</code>
+ <td><code>TRILIUM_NETWORK_TRUSTEDREVERSEPROXY</code>
</td>
<td>boolean/string</td>
<td>false</td>
<td>Reverse proxy trust settings</td>
</tr>
<tr>
- <td><code spellcheck="false">TRILIUM_NETWORK_CORSALLOWORIGIN</code>
+ <td><code>TRILIUM_NETWORK_CORSALLOWORIGIN</code>
</td>
<td>string</td>
<td>""</td>
<td>CORS allowed origins</td>
</tr>
<tr>
- <td><code spellcheck="false">TRILIUM_NETWORK_CORSALLOWMETHODS</code>
+ <td><code>TRILIUM_NETWORK_CORSALLOWMETHODS</code>
</td>
<td>string</td>
<td>""</td>
<td>CORS allowed methods</td>
</tr>
<tr>
- <td><code spellcheck="false">TRILIUM_NETWORK_CORSALLOWHEADERS</code>
+ <td><code>TRILIUM_NETWORK_CORSALLOWHEADERS</code>
</td>
<td>string</td>
<td>""</td>
<td>CORS allowed headers</td>
</tr>
<tr>
- <td><code spellcheck="false">TRILIUM_NETWORK_CORSRESOURCEPOLICY</code>
+ <td><code>TRILIUM_NETWORK_CORSRESOURCEPOLICY</code>
</td>
<td>string</td>
<td>same-origin</td>
@@ -180,7 +178,7 @@
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">TRILIUM_SESSION_COOKIEMAXAGE</code>
+ <td><code>TRILIUM_SESSION_COOKIEMAXAGE</code>
</td>
<td>integer</td>
<td>1814400</td>
@@ -202,21 +200,21 @@
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">TRILIUM_SYNC_SYNCSERVERHOST</code>
+ <td><code>TRILIUM_SYNC_SYNCSERVERHOST</code>
</td>
<td>string</td>
<td>""</td>
<td>Sync server host URL</td>
</tr>
<tr>
- <td><code spellcheck="false">TRILIUM_SYNC_SYNCSERVERTIMEOUT</code>
+ <td><code>TRILIUM_SYNC_SYNCSERVERTIMEOUT</code>
</td>
<td>string</td>
<td>"120000"</td>
<td>Sync server timeout in milliseconds</td>
</tr>
<tr>
- <td><code spellcheck="false">TRILIUM_SYNC_SYNCPROXY</code>
+ <td><code>TRILIUM_SYNC_SYNCPROXY</code>
</td>
<td>string</td>
<td>""</td>
@@ -240,7 +238,7 @@
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">TRILIUM_LOGGING_RETENTIONDAYS</code>
+ <td><code>TRILIUM_LOGGING_RETENTIONDAYS</code>
</td>
<td>integer</td>
<td>90</td>
@@ -262,13 +260,12 @@
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">TRILIUM_MANUAL_DB_MIGRATION</code>
+ <td><code>TRILIUM_MANUAL_DB_MIGRATION</code>
</td>
<td>boolean</td>
<td>false</td>
- <td>If <code spellcheck="false">true</code>, the application will not start
- if automatic database migrations are pending and would modify the database
- schema.</td>
+ <td>If <code>true</code>, the application will not start if automatic database
+ migrations are pending and would modify the database schema.</td>
</tr>
</tbody>
</table>
@@ -278,58 +275,40 @@
and work identically to their longer counterparts:</p>
<h3>Network CORS Variables</h3>
<ul>
- <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>
+ <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>
</ul>
<h3>Sync Variables</h3>
<ul>
- <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>
+ <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>
</ul>
<h3>OAuth/MFA Variables</h3>
<ul>
- <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>
- <li><code spellcheck="false">TRILIUM_OAUTH_HTTP_TIMEOUT</code> (alternative
- to <code spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHHTTPTIMEOUT</code>)</li>
- <li><code spellcheck="false">TRILIUM_OAUTH_SCOPE</code> (alternative to <code
- spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHSCOPE</code>)</li>
+ <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>TRILIUM_OAUTH_HTTP_TIMEOUT</code> (alternative to <code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHHTTPTIMEOUT</code>)</li>
+ <li><code>TRILIUM_OAUTH_SCOPE</code> (alternative to <code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHSCOPE</code>)</li>
</ul>
<h3>Logging Variables</h3>
<ul>
- <li><code spellcheck="false">TRILIUM_LOGGING_RETENTION_DAYS</code> (alternative
- to <code spellcheck="false">TRILIUM_LOGGING_RETENTIONDAYS</code>)</li>
+ <li><code>TRILIUM_LOGGING_RETENTION_DAYS</code> (alternative to <code>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 spellcheck="false">"true"</code>, <code spellcheck="false">"1"</code>, <code
- spellcheck="false">1</code>
+ <li><strong>True</strong>: <code>"true"</code>, <code>"1"</code>, <code>1</code>
</li>
- <li><strong>False</strong>: <code spellcheck="false">"false"</code>, <code spellcheck="false">"0"</code>, <code
- spellcheck="false">0</code>
+ <li><strong>False</strong>: <code>"false"</code>, <code>"0"</code>, <code>0</code>
</li>
- <li>Any other value defaults to <code spellcheck="false">false</code>
+ <li>Any other value defaults to <code>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 (CORS).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 (CORS).html
index 34c6eac295..5e2a746665 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 (CORS).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 (CORS).html
@@ -1,7 +1,7 @@
<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 spellcheck="false">config.ini</code>,
+ Trilium v0.93.0 using environment variables or <code>config.ini</code>,
as follows:</p>
<figure class="table">
<table>
@@ -9,33 +9,32 @@
<tr>
<th>CORS Header</th>
<th>Corresponding environment variable</th>
- <th>Corresponding option in <code spellcheck="false">config.ini</code> variables
- in the <code spellcheck="false">Network</code> section</th>
+ <th>Corresponding option in <code>config.ini</code> variables in the <code>Network</code> section</th>
</tr>
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">Access-Control-Allow-Origin</code>
+ <td><code>Access-Control-Allow-Origin</code>
</td>
- <td><code spellcheck="false">TRILIUM_NETWORK_CORS_ALLOW_ORIGIN</code>
+ <td><code>TRILIUM_NETWORK_CORS_ALLOW_ORIGIN</code>
</td>
- <td><code spellcheck="false">corsAllowOrigin</code>
+ <td><code>corsAllowOrigin</code>
</td>
</tr>
<tr>
- <td><code spellcheck="false">Access-Control-Allow-Methods</code>
+ <td><code>Access-Control-Allow-Methods</code>
</td>
- <td><code spellcheck="false">TRILIUM_NETWORK_CORS_ALLOW_METHODS</code>
+ <td><code>TRILIUM_NETWORK_CORS_ALLOW_METHODS</code>
</td>
- <td><code spellcheck="false">corsAllowMethods</code>
+ <td><code>corsAllowMethods</code>
</td>
</tr>
<tr>
- <td><code spellcheck="false">Access-Control-Allow-Headers</code>
+ <td><code>Access-Control-Allow-Headers</code>
</td>
- <td><code spellcheck="false">TRILIUM_NETWORK_CORS_ALLOW_HEADERS</code>
+ <td><code>TRILIUM_NETWORK_CORS_ALLOW_HEADERS</code>
</td>
- <td><code spellcheck="false">corsAllowHeaders</code>
+ <td><code>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 f350b51dc5..35fc1d2b81 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,15 +4,14 @@
one the synchronisation 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 spellcheck="false">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>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 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>
+<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>
<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 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
+ 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
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 8e77f970ac..e6c076aaf3 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 spellcheck="false">/trilium buy milk</code>).</p>
+ Slack by issuing a slash command (e.g. <code>/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,11 +24,10 @@ else {
}</code></pre>
<p>This script note has also following two attributes:</p>
<ul>
- <li>label <code spellcheck="false">#customRequestHandler</code> with value <code
- spellcheck="false">create-note</code>
+ <li>label <code>#customRequestHandler</code> with value <code>create-note</code>
</li>
- <li>relation <code spellcheck="false">~targetNote</code> pointing to a note
- where new notes should be saved</li>
+ <li>relation <code>~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
@@ -39,14 +38,12 @@ Content-Type: application/json
"title": "hello",
"content": "world"
}+++++++++++++++++++++++++++++++++++++++++++++++</code></pre>
-<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="#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
+<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 <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>
@@ -57,20 +54,20 @@ 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 spellcheck="false">customResourceProvider</code> (value
+ in such case you create label <code>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 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
+<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
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
- spellcheck="false">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>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 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
+ 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
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 e0224c8370..e70528bd53 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,28 +6,26 @@
<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 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
+ <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 spellcheck="false">http://localhost:37840</code> as
+ TriliumNext application without a server, use <code>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 spellcheck="false">hello</code>, the name can be:</p>
+<p>Instead of <code>hello</code>, the name can be:</p>
<ul>
- <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>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>As a more advanced use case, a regular expression to match multiple routes,
- 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>
+ 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>
</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 spellcheck="false">#customResourceProvider=fonts/myfont.ttf</code> attribute.</p>
+ upload a font file into Trilium and assign it the <code>#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/Customizing to-do task states.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Customizing to-do task states.html
index 706343bd17..eb938b6719 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Customizing to-do task states.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Customizing to-do task states.html
@@ -18,17 +18,16 @@
<li><strong>Title</strong> (required): The name of the task state shown in
the UI. For example: "Doing", "Postponed".</li>
<li><strong>Identifier</strong> (required): A short name for the state, using
- only letters, digits, "<code spellcheck="false">-</code>" and "<code spellcheck="false">_</code>".
- It is stored as metadata in the note's markup and used to identify the
- task state. Two task states cannot share the same identifier.
- <br>Prefix the identifiers of your custom task states with an underscore "<code
- spellcheck="false">_</code>" or a hyphen "<code spellcheck="false">-</code>"
- to avoid clashes with task states that may be introduced in future versions
- of Trilium.</li>
+ only letters, digits, "<code>-</code>" and "<code>_</code>". It is stored
+ as metadata in the note's markup and used to identify the task state. Two
+ task states cannot share the same identifier.
+ <br>Prefix the identifiers of your custom task states with an underscore "<code>_</code>"
+ or a hyphen "<code>-</code>" to avoid clashes with task states that may
+ be introduced in future versions of Trilium.</li>
<li><strong>Markdown symbol</strong>: A single character used to represent
- the state in Markdown syntax. For example, "<code spellcheck="false">#</code>"
- creates a task state that can be applied in Markdown using " <code spellcheck="false">- [#]</code> ".
- Make sure no other task state uses the same symbol.</li>
+ the state in Markdown syntax. For example, "<code>#</code>" creates a task
+ state that can be applied in Markdown using " <code>- [#]</code> ". Make
+ sure no other task state uses the same symbol.</li>
<li><strong>Counts as completed</strong>: If checked, the task is treated
as completed.</li>
<li><strong>Color</strong>: The color of the checkbox. Its lightness and saturation
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 7c7803aeea..335cca309d 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 spellcheck="false">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>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>
@@ -38,12 +38,9 @@
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 spellcheck="false">document.db</code> file (and any other
- files starting with <code spellcheck="false">document.db</code>).</p>
+ delete the <code>document.db</code> file (and any other files starting with <code>document.db</code>).</p>
<p>If you do not need to preserve any configurations that might be stored
- 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
+ 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 spellcheck="false">config.ini</code> values as environment variables
- instead.</p>
\ No newline at end of file
+ all <code>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 80190905a6..6f0caf2e04 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 spellcheck="false">document.db</code> file.</p>
+ of your <code>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,7 +31,6 @@
<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
- spellcheck="false">;</code> character.</li>
- <li>To exit, simply type <code spellcheck="false">.quit</code> and enter.</li>
+ <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>
</ul>
\ 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/SQL Console.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Manually altering the database/SQL Console.html
index 0f9c2adaa2..b8e40ee2e3 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Manually altering the database/SQL Console.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Manually altering the database/SQL Console.html
@@ -16,8 +16,8 @@
<li>Only one SQL statement can be run at once.</li>
<li>To run the statement, press the <em>Execute</em> icon.</li>
<li>For queries that return a result, the data will displayed in a table.</li>
- <li>For statements (e.g. <code spellcheck="false">INSERT</code>, <code spellcheck="false">UPDATE</code>),
- the number of affected rows is displayed.</li>
+ <li>For statements (e.g. <code>INSERT</code>, <code>UPDATE</code>), the number
+ of affected rows is displayed.</li>
</ul>
<figure class="image">
<img style="aspect-ratio:1124/571;" src="2_SQL Console_image.png" width="1124"
@@ -40,7 +40,7 @@
<p>To do so, simply write the query and press the
<img src="1_SQL Console_image.png">button. Once saved, the note will appear in&nbsp;<a class="reference-link"
href="#root/_help_l0tKav7yLHGF">Day Notes</a>&nbsp;by default. It is possible
- to change the default location of saved queries by assigning a <code spellcheck="false">#sqlConsoleHome</code> <a
+ to change the default location of saved queries by assigning a <code>#sqlConsoleHome</code> <a
href="#root/_help_HI6GBBIduIgv">label</a>.</p>
<p>The note can be locked for editing by pressing the <em>Lock</em> button
in the note actions section near the title bar (on the&nbsp;<a class="reference-link"
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 06594aff23..1323e5e695 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 spellcheck="false">#titleTemplate</code> <a
+<p>For this use case, Trilium (since v0.52) supports <code>#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. As with other labels, you can make it
@@ -17,17 +17,17 @@
</ul>
</li>
</ul>
-<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>Now, to the parent note "2022 Books" you can assign label <code>#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 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>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>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>
@@ -41,13 +41,13 @@
<li>2022-05-15: Backup delay</li>
</ul>
</li>
- <li>You can automatize the date assignment by assigning a label <code spellcheck="false">#titleTemplate="${now.format('YYYY-MM-DD')}: "</code> to
+ <li>You can automatize the date assignment by assigning a label <code>#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 spellcheck="false">#titleTemplate="${parentNote.getLabelValue('authorName')}'s literary works"</code>
+ <li>To use a parent's attribute in the title of new notes: <code>#titleTemplate="${parentNote.getLabelValue('authorName')}'s literary works"</code>
</li>
- <li>To mirror the parent's note title: <code spellcheck="false">${parentNote.title}</code>
+ <li>To mirror the parent's note title: <code>${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 4342262c6e..3a3c2fdf84 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,25 +13,22 @@
<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 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>
+ 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>
<h2>Authentication</h2>
-<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
+<h3>Via the <code>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 spellcheck="false">ETAPITOKEN</code> is the token obtained in
- the previous step.</p>
+<p>where <code>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 spellcheck="false">Authorization</code> header in the
- format <code spellcheck="false">Bearer ETAPITOKEN</code> (since 0.93.0).</p>
+ value of the <code>Authorization</code> header in the format <code>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 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>
+ <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>
</ul>
<p>Basic Auth is meant to be used with tools which support only basic auth.</p>
<h2>Interaction using Bash scripts</h2>
@@ -47,13 +44,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 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>
+ <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>
</ul>
<p>As another example, to obtain a .zip export of a note and place it in
- 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" \
+ 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" \
-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 a3fff643e5..47a84af0d9 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 spellcheck="false">/etapi/metrics</code>
+ <li><strong>URL</strong>: <code>/etapi/metrics</code>
</li>
- <li><strong>Method</strong>: <code spellcheck="false">GET</code>
+ <li><strong>Method</strong>: <code>GET</code>
</li>
<li><strong>Authentication</strong>: ETAPI token required</li>
<li><strong>Default Format</strong>: Prometheus text format</li>
@@ -34,50 +34,39 @@ trilium_notes_total 1234 1701432000
<h2><strong>Available Metrics</strong></h2>
<h3><strong>Instance Information</strong></h3>
<ul>
- <li><code spellcheck="false">trilium_info</code> - Version and build information
- with labels</li>
+ <li><code>trilium_info</code> - Version and build information with labels</li>
</ul>
<h3><strong>Database Metrics</strong></h3>
<ul>
- <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>
+ <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>
</ul>
<h3><strong>Categorized Metrics</strong></h3>
<ul>
- <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>
+ <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>
</ul>
<h3><strong>Statistics</strong></h3>
<ul>
- <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>
+ <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>
</ul>
<h2><strong>Prometheus Configuration</strong></h2>
-<p>Add to your <code spellcheck="false">prometheus.yml</code>:</p><pre><code class="language-text-x-trilium-auto">scrape_configs:
+<p>Add to your <code>prometheus.yml</code>:</p><pre><code class="language-text-x-trilium-auto">scrape_configs:
- job_name: 'trilium'
static_configs:
- targets: ['localhost:8080']
@@ -87,9 +76,9 @@ trilium_notes_total 1234 1701432000
</code></pre>
<h2><strong>Error Responses</strong></h2>
<ul>
- <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>
+ <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>
</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 2ac344c9bb..17903b736f 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 spellcheck="false">TriliumNotes-main</code>.
- Choose the appropriate one for your platform (e.g. <code spellcheck="false">windows-x64.zip</code>).</p>
+ 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>
<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 9efb01aaf9..c4aa76de75 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,16 +27,15 @@
<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 spellcheck="false">ERROR: read-only DB ignored</code> will
- be shown in the logs.</li>
+ <li>Whenever this occurs, <code>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 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]
+ 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]
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 spellcheck="false">false</code>.</p>
\ No newline at end of file
+<p>Similarly, to disable read-only remove the line or set it to <code>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 79c0d5e16e..87c50d2b78 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,15 +1,12 @@
-<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>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>What it does:</p>
<ul>
- <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>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>Displays the root note instead of the previously saved session.</li>
- <li>Disables the running of <code spellcheck="false">backendStartup</code>, <code
- spellcheck="false">hourly</code>, <code spellcheck="false">daily</code> scripts
+ <li>Disables the running of <code>backendStartup</code>, <code>hourly</code>, <code>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 052f3f1964..39cdd40276 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
@@ -183,7 +183,7 @@ class="image">
<h2>Sharing a note</h2>
<ol>
<li>
- <p><strong>Enable Sharing</strong>: To share a note, toggle the <code spellcheck="false">Shared</code> switch
+ <p><strong>Enable Sharing</strong>: To share a note, toggle the <code>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 spellcheck="false">localhost (127.0.0.1)</code>.</p>
+ the URL will refer to <code>localhost (127.0.0.1)</code>.</p>
</li>
</ol>
<h2>Sharing a note subtree</h2>
@@ -221,9 +221,8 @@ class="image">
use battle-tested web servers 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
- spellcheck="false">#shareCredentials</code> attribute. Add this label to
- the note with the format <code spellcheck="false">#shareCredentials="username:password"</code>.
+<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>
<h2>Advanced sharing options</h2>
<h3>Customizing the appearance of shared notes</h3>
@@ -232,49 +231,45 @@ 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 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>
+ 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>
<li><strong>Omitting Default CSS</strong>: For extensive styling changes,
- use the <code spellcheck="false">#shareOmitDefaultCss</code> label to avoid
- conflicts with Trilium's <a href="#root/_help_Wy267RK4M69c">default stylesheet</a>.</li>
+ use the <code>#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 spellcheck="false">~shareJs</code> relation.
+<p>You can inject custom JavaScript into the shared note using the <code>~shareJs</code> relation.
This allows you to access note attributes or traverse the note tree using
- the <code spellcheck="false">fetchNote()</code> API, which retrieves note
- data based on its ID.</p>
+ the <code>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 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>
+ 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>
<ul>
- <li><strong>Locations</strong>: <code spellcheck="false">head</code>, <code
- spellcheck="false">body</code>, <code spellcheck="false">content</code>
+ <li><strong>Locations</strong>: <code>head</code>, <code>body</code>, <code>content</code>
</li>
- <li><strong>Positions</strong>: <code spellcheck="false">start</code>, <code
- spellcheck="false">end</code>
+ <li><strong>Positions</strong>: <code>start</code>, <code>end</code>
</li>
</ul>
<p>For example:</p>
<ul>
- <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>
+ <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>
</ul>
-<p>If no location is specified, the HTML will be injected at <code spellcheck="false">content:end</code> by
+<p>If no location is specified, the HTML will be injected at <code>content:end</code> by
default.</p>
<p>Example:</p><pre><code class="language-text-javascript">const currentNote = await fetchNote();
const parentNote = await fetchNote(currentNote.parentNoteIds[0]);
@@ -286,61 +281,57 @@ for (const attr of parentNote.attributes) {
<p>To completely redesign the share, it is possible to create or use an existing <a
href="#root/_help_Ad7Ku5gOHrDU">custom share template</a>.</p>
<h3>Creating human-readable URL aliases</h3>
-<p>Shared notes typically have URLs like <code spellcheck="false">http://domain.tld/share/knvU8aJy4dJ7</code>,
+<p>Shared notes typically have URLs like <code>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 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>
+ 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>
<p><strong>Important</strong>:</p>
<ol>
<li>Ensure that aliases are unique.</li>
- <li>Using slashes (<code spellcheck="false">/</code>) within aliases to create
- subpaths is not supported.</li>
+ <li>Using slashes (<code>/</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
- spellcheck="false">#!shareAlias</code>.</li>
+ class="reference-link" href="#root/_help_eIg8jdvaoNNd">Search</a>&nbsp;with <code>#!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
- spellcheck="false">#label:shareAlias(inheritable)="promoted,alias=Slug,single,text"</code>).</li>
+ href="#root/_help_OFXdgB2nNk1F">Promoted Attributes</a>&nbsp;(for example <code>#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
- spellcheck="false">~shareFavicon</code> pointing to a file note containing
- the favicon (e.g., in <code spellcheck="false">.ico</code> format).</p>
+<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>
<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 spellcheck="false">#shareRoot</code> label. This
- note will be linked when visiting <code spellcheck="false">[http://domain.tld/share](http://domain/share)</code>,
+ content by adding the <code>#shareRoot</code> label. This note will be linked
+ when visiting <code>[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 spellcheck="false">#shareIndex</code> label,
- which will display a list of all shared notes.</p>
+ <p>Consider combining this with the <code>#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 spellcheck="false">shareIndex</code> label.
+<p>To do so, create a shared text note and apply the <code>shareIndex</code> label.
When viewed, the list of shared roots will be displayed at the bottom of
the note.</p>
<h3>Linking to an external website</h3>
<p>Sometimes it's useful to include a link to an external website alongside
your shared notes — for example in the shared navigation or in an index.
- To do so, add the <code spellcheck="false">#shareExternalLink</code> label
- to a note, with the target URL as its value (e.g. <code spellcheck="false">#shareExternalLink="https://example.com"</code>).</p>
+ To do so, add the <code>#shareExternalLink</code> label to a note, with the
+ target URL as its value (e.g. <code>#shareExternalLink="https://example.com"</code>).</p>
<p>Any link pointing to this note will then redirect to the external website
and open in a new browser tab, instead of opening the note's own shared
page. This applies to:</p>
<ul>
- <li>the listing produced by the <code spellcheck="false">#shareIndex</code> label;</li>
+ <li>the listing produced by the <code>#shareIndex</code> label;</li>
<li>the "Subpages" list shown under a parent note;</li>
<li>inline links to this note from within other shared notes.</li>
</ul>
-<p>The URL must be absolute and include the scheme (e.g. <code spellcheck="false">https://</code>).</p>
+<p>The URL must be absolute and include the scheme (e.g. <code>https://</code>).</p>
<aside
class="admonition note">
<p>The note still exists in the share tree and its own page remains reachable
@@ -361,81 +352,79 @@ class="admonition note">
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">#shareHiddenFromTree</code>
+ <td><code>#shareHiddenFromTree</code>
</td>
<td>this note is hidden from left navigation tree, but still accessible with
its URL</td>
</tr>
<tr>
- <td><code spellcheck="false">#shareExternalLink</code>
+ <td><code>#shareExternalLink</code>
</td>
<td>when a link points to this note (from the share index, a subpage list,
or an inline link in another shared note), it redirects to the given external
URL in a new tab instead of the note's shared page. Value is the absolute
- URL, e.g. <code spellcheck="false">https://example.com</code>.</td>
+ URL, e.g. <code>https://example.com</code>.</td>
</tr>
<tr>
- <td><code spellcheck="false">#shareAlias</code>
+ <td><code>#shareAlias</code>
</td>
- <td>define an alias using which the note will be available under <code spellcheck="false">https://your_trilium_host/share/[your_alias]</code>
+ <td>define an alias using which the note will be available under <code>https://your_trilium_host/share/[your_alias]</code>
</td>
</tr>
<tr>
- <td><code spellcheck="false">#shareOmitDefaultCss</code>
+ <td><code>#shareOmitDefaultCss</code>
</td>
<td>default share page CSS will be omitted. Use when you make extensive styling
changes.</td>
</tr>
<tr>
- <td><code spellcheck="false">#shareRoot</code>
+ <td><code>#shareRoot</code>
</td>
<td>marks note which is served on /share root.</td>
</tr>
<tr>
- <td><code spellcheck="false">#shareDescription</code>
+ <td><code>#shareDescription</code>
</td>
<td>define text to be added to the HTML meta tag for description</td>
</tr>
<tr>
- <td><code spellcheck="false">#shareRaw</code>
+ <td><code>#shareRaw</code>
</td>
<td>Note will be served in its raw format, without HTML wrapper. See also&nbsp;<a
class="reference-link" href="#root/_help_Qjt68inQ2bRj">Serving directly the content of a note</a>&nbsp;for
an alternative method without setting an attribute.</td>
</tr>
<tr>
- <td><code spellcheck="false">#shareDisallowRobotIndexing</code>
+ <td><code>#shareDisallowRobotIndexing</code>
</td>
<td>
<p>Indicates to web crawlers that the page should not be indexed of this
note by:</p>
<ul>
- <li>Setting the <code spellcheck="false">X-Robots-Tag: noindex</code> HTTP header.</li>
- <li>Setting the <code spellcheck="false">noindex, follow</code> meta tag.</li>
+ <li>Setting the <code>X-Robots-Tag: noindex</code> HTTP header.</li>
+ <li>Setting the <code>noindex, follow</code> meta tag.</li>
</ul>
</td>
</tr>
<tr>
- <td><code spellcheck="false">#shareCredentials</code>
+ <td><code>#shareCredentials</code>
</td>
<td>require credentials to access this shared note. Value is expected to be
- in format <code spellcheck="false">username:password</code>. Don't forget
- to make this inheritable to apply to child-notes/images.</td>
+ in format <code>username:password</code>. Don't forget to make this inheritable
+ to apply to child-notes/images.</td>
</tr>
<tr>
- <td><code spellcheck="false">#shareIndex</code>
+ <td><code>#shareIndex</code>
</td>
<td>Note with this label will list all roots of shared notes.</td>
</tr>
<tr>
- <td><code spellcheck="false">#shareHtmlLocation</code>
+ <td><code>#shareHtmlLocation</code>
</td>
- <td>defines where custom HTML injected via <code spellcheck="false">~shareHtml</code> relation
- should be placed. Applied to the HTML snippet note itself. Format: <code
- spellcheck="false">location:position</code> where location is <code spellcheck="false">head</code>, <code
- spellcheck="false">body</code>, or <code spellcheck="false">content</code> and
- position is <code spellcheck="false">start</code> or <code spellcheck="false">end</code>.
- Defaults to <code spellcheck="false">content:end</code>.</td>
+ <td>defines where custom HTML injected via <code>~shareHtml</code> relation
+ should be placed. Applied to the HTML snippet note itself. Format: <code>location:position</code> where
+ location is <code>head</code>, <code>body</code>, or <code>content</code> and
+ position is <code>start</code> or <code>end</code>. Defaults to <code>content:end</code>.</td>
</tr>
</tbody>
</table>
@@ -453,25 +442,23 @@ class="admonition note">
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">~shareLogo</code>
+ <td><code>~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 spellcheck="false">#shareLogoWidth</code>
+ <td><code>#shareLogoWidth</code>
</td>
- <td>The width (in pixels, without unit) to set for the logo. Default is <code
- spellcheck="false">53</code>.</td>
+ <td>The width (in pixels, without unit) to set for the logo. Default is <code>53</code>.</td>
</tr>
<tr>
- <td><code spellcheck="false">#shareLogoHeight</code>
+ <td><code>#shareLogoHeight</code>
</td>
- <td>The height (in pixels, without unit) to set for the logo. Default is <code
- spellcheck="false">40</code>.</td>
+ <td>The height (in pixels, without unit) to set for the logo. Default is <code>40</code>.</td>
</tr>
<tr>
- <td><code spellcheck="false">#shareRootLink</code>
+ <td><code>#shareRootLink</code>
</td>
<td>URL to navigate to when the logo is pressed.</td>
</tr>
@@ -489,27 +476,27 @@ class="admonition note">
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">#shareOpenGraphColor</code>
+ <td><code>#shareOpenGraphColor</code>
</td>
- <td>This adjusts the <code spellcheck="false">theme-color</code> meta-property.</td>
+ <td>This adjusts the <code>theme-color</code> meta-property.</td>
</tr>
<tr>
- <td><code spellcheck="false">#shareOpenGraphURL</code>
+ <td><code>#shareOpenGraphURL</code>
</td>
- <td>This adjusts the <code spellcheck="false">og:url</code> and <code spellcheck="false">twitter:url</code> meta-properties.</td>
+ <td>This adjusts the <code>og:url</code> and <code>twitter:url</code> meta-properties.</td>
</tr>
<tr>
- <td><code spellcheck="false">#shareOpenGraphDomain</code>
+ <td><code>#shareOpenGraphDomain</code>
</td>
- <td>Adjusts the <code spellcheck="false">twitter:domain</code> meta-property.</td>
+ <td>Adjusts the <code>twitter:domain</code> meta-property.</td>
</tr>
<tr>
- <td><code spellcheck="false">#shareOpenGraphImage</code>&nbsp;
- <br><code spellcheck="false">~shareOpenGraphImage</code>
+ <td><code>#shareOpenGraphImage</code>&nbsp;
+ <br><code>~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 spellcheck="false">og:image</code> meta-property.</td>
+ This controls the <code>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/Custom share template.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Custom share template.html
index 5e7b5664e6..2baa3962f5 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Custom share template.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Custom share template.html
@@ -5,26 +5,25 @@
</aside>
<p>For full control over the HTML structure of a shared page — beyond what
custom CSS, JS, or HTML snippets allow — you can replace the page template
- entirely using the <code spellcheck="false">~shareTemplate</code> relation.</p>
+ entirely using the <code>~shareTemplate</code> relation.</p>
<p>To do so:</p>
<ol>
<li>Create a&nbsp;<a class="reference-link" href="#root/_help_6f9hih2hXXZk">Code</a>&nbsp;note
with the language <em>Embedded JavaScript</em> (EJS).</li>
- <li>For a shared note to apply the newly created template, apply the <code
- spellcheck="false">~shareTemplate</code> relation pointing to the note created
- at step (1). Make use of&nbsp;<a class="reference-link" href="#root/_help_bwZpz2ajCEwO">Attribute Inheritance</a>&nbsp;to
- apply it to multiple shared notes.</li>
+ <li>For a shared note to apply the newly created template, apply the <code>~shareTemplate</code> relation
+ pointing to the note created at step (1). Make use of&nbsp;<a class="reference-link"
+ href="#root/_help_bwZpz2ajCEwO">Attribute Inheritance</a>&nbsp;to apply
+ it to multiple shared notes.</li>
</ol>
<p>There are two important constraints to be aware of:</p>
<ul>
- <li>Because EJS templates execute arbitrary server-side JavaScript, <code spellcheck="false">~shareTemplate</code> only
+ <li>Because EJS templates execute arbitrary server-side JavaScript, <code>~shareTemplate</code> only
takes effect when backend scripting is enabled. If it is disabled (see&nbsp;<a
class="reference-link" href="#root/_help_fiHicjpHjIRJ">Security</a>), the
relation is ignored and the default template is used. For the same reason, <strong>only apply templates from notes you trust</strong>.</li>
- <li>The template note must be part of the shared subtree (just like <code spellcheck="false">~shareCss</code>, <code
- spellcheck="false">~shareJs</code>) in order for it to be loaded. To prevent
- it from being shown in the navigation, apply <code spellcheck="false">#shareHiddenFromTree</code> to
- it.</li>
+ <li>The template note must be part of the shared subtree (just like <code>~shareCss</code>, <code>~shareJs</code>)
+ in order for it to be loaded. To prevent it from being shown in the navigation,
+ apply <code>#shareHiddenFromTree</code> to it.</li>
</ul>
<h2>Content of the share template</h2>
<p>Use the <a href="https://github.com/TriliumNext/Notes/blob/develop/packages/share-theme/src/templates/page.ejs">original template</a> as
@@ -42,61 +41,59 @@
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">note</code>
+ <td><code>note</code>
</td>
- <td>The note being rendered. Use it to read attributes (<code spellcheck="false">note.getLabelValue(...)</code>), <code
- spellcheck="false">note.title</code>, child notes, etc.</td>
+ <td>The note being rendered. Use it to read attributes (<code>note.getLabelValue(...)</code>), <code>note.title</code>,
+ child notes, etc.</td>
</tr>
<tr>
- <td><code spellcheck="false">content</code>
+ <td><code>content</code>
</td>
<td>The note's already-rendered HTML content, as a string.</td>
</tr>
<tr>
- <td><code spellcheck="false">header</code>
+ <td><code>header</code>
</td>
<td>Extra HTML to place in the document head for this note (used by some note
types).</td>
</tr>
<tr>
- <td><code spellcheck="false">isEmpty</code>
+ <td><code>isEmpty</code>
</td>
- <td><code spellcheck="false">true</code> when the note has no content of its
- own.</td>
+ <td><code>true</code> when the note has no content of its own.</td>
</tr>
<tr>
- <td><code spellcheck="false">subRoot</code>
+ <td><code>subRoot</code>
</td>
- <td>The root of the shared subtree as <code spellcheck="false">{ note, branch }</code> —
- handy for a site-wide title or logo.</td>
+ <td>The root of the shared subtree as <code>{ note, branch }</code> — handy
+ for a site-wide title or logo.</td>
</tr>
<tr>
- <td><code spellcheck="false">cssToLoad</code> / <code spellcheck="false">jsToLoad</code>
+ <td><code>cssToLoad</code> / <code>jsToLoad</code>
</td>
<td>Arrays of stylesheet / script URLs the default theme would inject (includes
- anything added via <code spellcheck="false">~shareCss</code> / <code spellcheck="false">~shareJs</code>).</td>
+ anything added via <code>~shareCss</code> / <code>~shareJs</code>).</td>
</tr>
<tr>
- <td><code spellcheck="false">faviconUrl</code> / <code spellcheck="false">logoUrl</code>
+ <td><code>faviconUrl</code> / <code>logoUrl</code>
</td>
<td>Resolved favicon and logo URLs.</td>
</tr>
<tr>
- <td><code spellcheck="false">isStatic</code>
+ <td><code>isStatic</code>
</td>
- <td><code spellcheck="false">true</code> during a static HTML export, <code
- spellcheck="false">false</code> for a live server render.</td>
+ <td><code>true</code> during a static HTML export, <code>false</code> for a live
+ server render.</td>
</tr>
<tr>
- <td><code spellcheck="false">t</code>
+ <td><code>t</code>
</td>
- <td>The <code spellcheck="false">i18next</code> translation function.</td>
+ <td>The <code>i18next</code> translation function.</td>
</tr>
<tr>
- <td><code spellcheck="false">utils</code>
+ <td><code>utils</code>
</td>
- <td>Helper utilities such as <code spellcheck="false">slugify()</code> and <code
- spellcheck="false">stripTags()</code>.</td>
+ <td>Helper utilities such as <code>slugify()</code> and <code>stripTags()</code>.</td>
</tr>
</tbody>
</table>
@@ -107,9 +104,8 @@
takes the shared page down.</p>
<h2>Splitting a template into partials</h2>
<p>A template can pull in other EJS notes as partials. Create them as <strong>child notes</strong> of
- the template note (each also a <code spellcheck="false">code</code> / <code
- spellcheck="false">application/x-ejs</code> note) and reference them by
- title:</p><pre><code class="language-text-x-trilium-auto">&lt;%- include("header") %&gt;
+ the template note (each also a <code>code</code> / <code>application/x-ejs</code> note)
+ and reference them by title:</p><pre><code class="language-text-x-trilium-auto">&lt;%- include("header") %&gt;
&lt;main&gt;
&lt;h1&gt;&lt;%= note.title %&gt;&lt;/h1&gt;
@@ -118,6 +114,6 @@
&lt;%- include("footer") %&gt;
</code></pre>
-<p>Here <code spellcheck="false">header</code> and <code spellcheck="false">footer</code> are
- the titles of child notes of the template. Only direct children are resolvable,
- and they must be EJS code notes.</p>
\ No newline at end of file
+<p>Here <code>header</code> and <code>footer</code> are the titles of child notes
+ of the template. Only direct children are resolvable, and they must be
+ EJS code notes.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Exporting static HTML for web publishing.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Exporting static HTML for web publishing.html
index 15ff2cabae..f36ee6be74 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Exporting static HTML for web publishing.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Exporting static HTML for web publishing.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 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>
+ 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>
<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 spellcheck="false">shareAlias</code> to
- allow for clean URLs.</li>
+ <li>The name of the files/URLs will prefer <code>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 spellcheck="false">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>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 spellcheck="false">http-server</code>.</li>
+ <li>Inside the extracted directory, run <code>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 84562742d5..cb72124628 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 spellcheck="false">/assets</code>.<a
+ for older versions it's required to also include <code>/assets</code>.<a
href="#fn2b8mg20aol8"><sup>[1]</sup></a>
</p>
<ol>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Serving directly the content of a note.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Serving directly the content of a note.html
index 2e40183409..4854f51f92 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Serving directly the content of a note.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Serving directly the content of a note.html
@@ -25,12 +25,12 @@
</table>
</figure>
<h2>By adding an attribute to the note</h2>
-<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>
+<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>
<h2>By altering the URL</h2>
-<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>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>
<img src="Serving directly the content of a note_image.png">
</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Snippets/Code Snippets.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Snippets/Code Snippets.html
index c59475ef4e..a36034636b 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Snippets/Code Snippets.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Snippets/Code Snippets.html
@@ -14,8 +14,8 @@
<p>The note's title becomes the title of the snippet. Optionally, you can
add a description in the&nbsp;<a class="reference-link" href="#root/_help_OFXdgB2nNk1F">Promoted Attributes</a>&nbsp;section.</p>
<h2>Inserting a snippet</h2>
-<p>To insert a snippet, type <code spellcheck="false">/snippet</code> and select
- its title from the dropdown.</p>
+<p>To insert a snippet, type <code>/snippet</code> and select its title from
+ the dropdown.</p>
<aside class="admonition important">
<p>Only code snippets whose language mode matches the current code note are
listed. For example, a CSS code note shows only CSS snippets, not JavaScript
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Snippets/Markdown Snippets.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Snippets/Markdown Snippets.html
index 932b75d915..cd4179b550 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Snippets/Markdown Snippets.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Snippets/Markdown Snippets.html
@@ -14,8 +14,8 @@
<p>The note's title becomes the title of the snippet. Optionally, you can
add a description in the&nbsp;<a class="reference-link" href="#root/_help_OFXdgB2nNk1F">Promoted Attributes</a>&nbsp;section.</p>
<h2>Inserting a snippet</h2>
-<p>To insert a snippet, type <code spellcheck="false">/snippet</code> and select
- its title from the dropdown.</p>
+<p>To insert a snippet, type <code>/snippet</code> and select its title from
+ the dropdown.</p>
<p><a class="reference-link" href="#root/_help_IEgsWp5hHH35">Code Snippets</a>&nbsp;with
their language mode set to "Plain text" are also listed here.</p>
<h2>Limitations</h2>
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 62b93fbd7b..735ee7bd93 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
@@ -24,7 +24,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 spellcheck="false">&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>&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 0562685b82..7761975cad 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 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>
+ 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>
<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>
@@ -34,34 +34,30 @@
<p>
<img src="Templates_template-create-instance-note.png" alt="show child note templates">
</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>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>Templates can also be added or changed after note creation by creating
- 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
+ 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
pointing to the appropriate template note. There is no limit to the depth
- 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">
+ of the hierarchy — you can use <code>~child:child:template</code>, <code>~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 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>
+ <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>
</aside>
<h2>Default parent for new notes</h2>
<p>A template can gather the notes created from it in one place, instead
- of having them land wherever they happen to be created. To do so, add a <code
- spellcheck="false">~template:newNoteDefaultParent</code> relation to the
- template note, pointing at the note that should hold the instances, for
- example a <em>Person</em> template pointing to a <em>People</em> note.</p>
+ of having them land wherever they happen to be created. To do so, add a <code>~template:newNoteDefaultParent</code> relation
+ to the template note, pointing at the note that should hold the instances,
+ for example a <em>Person</em> template pointing to a <em>People</em> note.</p>
<p>Adding the relation several times places the new note in every target,
as&nbsp;<a class="reference-link" href="#root/_help_IakOLONlIfGI">Cloning Notes</a>.
The relation can also be inherited (e.g. from a folder holding several
@@ -72,8 +68,7 @@ class="admonition important">
<p>The default parent is used whenever a note is created from the template
through the <em>Choose note type</em> dialog:</p>
<ul>
- <li>Via <code spellcheck="false">@</code>-completion in a&nbsp;<a class="reference-link"
- href="#root/_help_iPIMuisry3hd">Text</a>&nbsp;note</li>
+ <li>Via <code>@</code>-completion in a&nbsp;<a class="reference-link" href="#root/_help_iPIMuisry3hd">Text</a>&nbsp;note</li>
<li>Via the <em>Create note</em> or <em>Create child note</em> options of the
note search (new tab or&nbsp;<a class="reference-link" href="#root/_help_hrZ1D00cLbal">Internal (reference) links</a>),
but only if the default/empty location is set.</li>
@@ -86,9 +81,9 @@ class="admonition important">
is meant as the instances' permanent location.</p>
<h2>Regarding note types</h2>
<p>By default, newly created notes are&nbsp;<a class="reference-link" href="#root/_help_iPIMuisry3hd">Text</a>&nbsp;notes.
- If a parent note defines a <code spellcheck="false">child:template</code> pointing
- to a template of a different type (e.g. a Code note), the behavior depends
- on how the new note is created:</p>
+ If a parent note defines a <code>child:template</code> pointing to a template
+ of a different type (e.g. a Code note), the behavior depends on how the
+ new note is created:</p>
<ul>
<li>If no note type is explicitly chosen (e.g. the + button in the&nbsp;<a
class="reference-link" href="#root/_help_oPVyFC7WL2Lp">Note Tree</a>),
@@ -104,16 +99,15 @@ class="admonition important">
</li>
</ul>
<p>Selecting a specific template from the creation menu always takes precedence
- over <code spellcheck="false">child:template</code>.</p>
+ over <code>child:template</code>.</p>
<h2>Additional Notes</h2>
-<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>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>Explore the concept further in the&nbsp;<a class="reference-link" href="#root/_help_6tZeKvSHEUiB">Demo Notes</a>,
including examples like the&nbsp;<a class="reference-link" href="#root/_help_iRwzGnHPzonm">Relation Map</a>,&nbsp;<a
class="reference-link" href="#root/_help_xYjQUYhpbUEW">Task Manager</a>,
and&nbsp;<a class="reference-link" href="#root/_help_l0tKav7yLHGF">Day Notes</a>.</p>
<p>Additionally, see&nbsp;<a class="reference-link" href="#root/_help_47ZrP6FNuoG8">Default Note Title</a>&nbsp;for
creating title templates. Note templates and title templates can be combined
- by creating a <code spellcheck="false">#titleTemplate</code> for a template
- note.</p>
\ No newline at end of file
+ by creating a <code>#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/Advanced Usage/Text Extraction (OCR).html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Text Extraction (OCR).html
index b804316abd..c4dd7e774e 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Text Extraction (OCR).html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Text Extraction (OCR).html
@@ -102,7 +102,7 @@ class="admonition note">
<p>After making this change, the automatic processing or manual reprocessing
will take into consideration the new languages.</p>
<p>To enforce the detection in a particular language for a given note, use
- the <code spellcheck="false">language</code> <a href="#root/_help_zEY4DaJG4YT5">attribute</a>,
+ the <code>language</code> <a href="#root/_help_zEY4DaJG4YT5">attribute</a>,
similar to <a href="#root/_help_veGu4faJErEM">text content language</a>.
For&nbsp;<a class="reference-link" href="#root/_help_0vhv7lsOLy82">Attachments</a>,
it's not possible to manually adjust the language.</p>
@@ -112,7 +112,7 @@ class="admonition note">
needed. As such, when the trained data will be downloaded automatically
via <a href="https://github.com/naptha/tesseract.js/">Tesseract.js</a>.</p>
<p>The downloaded trained data is located in the&nbsp;<a class="reference-link"
- href="#root/_help_tAassRL4RSQL">Data directory</a>, in the <code spellcheck="false">ocr-cache</code> directory.</p>
+ href="#root/_help_tAassRL4RSQL">Data directory</a>, in the <code>ocr-cache</code> directory.</p>
</aside>
<h2>Viewing extracted content for a single note</h2>
<p>To access the extracted content of a note:</p>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Active content.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Active content.html
index 5984c20572..39c9df5af4 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Active content.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Active content.html
@@ -8,8 +8,8 @@
<p>When <a href="#root/_help_mHbBMPDPkVV5">importing</a> .zip archives into
Trilium, <em>safe mode</em> is active by default which will try to prevent
untrusted code from executing. For example, a <a href="#root/_help_MgibgPcfeuGz">custom widget</a> needs
- the <code spellcheck="false">#widget</code> <a href="#root/_help_HI6GBBIduIgv">label</a> in
- order to function; safe import works by renaming that label to <code spellcheck="false">#disabled:widget</code>.</p>
+ the <code>#widget</code> <a href="#root/_help_HI6GBBIduIgv">label</a> in order
+ to function; safe import works by renaming that label to <code>#disabled:widget</code>.</p>
<h2>Safe mode</h2>
<p>Sometimes active content can cause issues with the UI or the server, preventing
it from functioning properly.&nbsp;<a class="reference-link" href="#root/_help_64ZTlUPgEPtW">Safe mode</a>&nbsp;allows
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 2bf33f6d9e..690c92451a 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
@@ -4,8 +4,7 @@
<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 spellcheck="false">&lt;strong&gt;</code>, <code
- spellcheck="false">&lt;table&gt;</code>, <code spellcheck="false">&lt;pre&gt;</code>).</li>
+ to represent basic formatting and layout (e.g. <code>&lt;strong&gt;</code>, <code>&lt;table&gt;</code>, <code>&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>
@@ -28,8 +27,8 @@
see&nbsp;<a class="reference-link" href="#root/_help_ckZ2uNWQmVeX">Importing data from other applications</a>.</p>
<h2>Maximum import size</h2>
<p>Versions prior to v0.104.0 had an upload limit of 250 MiB that could be
- bypassed via a <code spellcheck="false">TRILIUM_NO_UPLOAD_LIMIT</code> environment
- variable; with v0.104.0 this limit was removed.</p>
+ bypassed via a <code>TRILIUM_NO_UPLOAD_LIMIT</code> environment variable;
+ with v0.104.0 this limit was removed.</p>
<p>Nevertheless, there is still a limit for the maximum size of a <strong>single item</strong> (whether
it's a&nbsp;<a class="reference-link" href="#root/_help_W8vYD3Q1zjCR">File</a>,
an&nbsp;<a class="reference-link" href="#root/_help_0vhv7lsOLy82">Attachments</a>&nbsp;or
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Anytype.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Anytype.html
index c0ba5b0fa3..adbc54bed7 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Anytype.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Anytype.html
@@ -118,22 +118,22 @@
<tbody>
<tr>
<td>Text / Select</td>
- <td>Single-valued <code spellcheck="false">text</code> label</td>
+ <td>Single-valued <code>text</code> label</td>
</tr>
<tr>
<td>Number</td>
- <td>Single-valued <code spellcheck="false">number</code> label</td>
+ <td>Single-valued <code>number</code> label</td>
</tr>
<tr>
<td>Multi-select</td>
- <td>One <code spellcheck="false">text</code> label per option (multi)</td>
+ <td>One <code>text</code> label per option (multi)</td>
</tr>
<tr>
<td>Date / Date with time</td>
<td>
<ul>
- <li><code spellcheck="false">datetime</code> if the time is included.</li>
- <li><code spellcheck="false">date</code> if only dates.</li>
+ <li><code>datetime</code> if the time is included.</li>
+ <li><code>date</code> if only dates.</li>
</ul>
</td>
</tr>
@@ -144,13 +144,11 @@
</tr>
<tr>
<td>Checkbox</td>
- <td><code spellcheck="false">boolean</code> label (<code spellcheck="false">true</code>/<code
- spellcheck="false">false</code>).</td>
+ <td><code>boolean</code> label (<code>true</code>/<code>false</code>).</td>
</tr>
<tr>
<td>URL / Email / Phone</td>
- <td><code spellcheck="false">url</code> label (<code spellcheck="false">mailto:</code>, <code
- spellcheck="false">tel:</code> prefix)</td>
+ <td><code>url</code> label (<code>mailto:</code>, <code>tel:</code> prefix)</td>
</tr>
</tbody>
</table>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Evernote.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Evernote.html
index 4237096274..fab2c72f87 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Evernote.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Evernote.html
@@ -113,7 +113,7 @@
<li>If there are to notes with the same name, internal links will not be created
to avoid pointing to the wrong note.</li>
<li>Links that couldn't be rewritten (e.g. referring to a missing/duplicate
- note) will be kept with their original <code spellcheck="false">evernote://</code> URL.</li>
+ note) will be kept with their original <code>evernote://</code> URL.</li>
<li>It will not fix links to anchors and links to notes that you renamed in
Evernote after you created the links.</li>
</ul>
@@ -150,8 +150,8 @@
note is imported; in that case consider <a href="#root/_help_wy8So3yZZlH9">reporting</a> it.</p>
<p>When reporting such an issue make sure to provide the following information:</p>
<ul>
- <li>A <code spellcheck="false">.enex</code> export of the original note. This
- allows us to reproduce the issue.</li>
+ <li>A <code>.enex</code> export of the original note. This allows us to reproduce
+ the issue.</li>
<li>A screenshot with how it originally looked like before the import and
how it looks after the import.</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/Import & Export/Importing data from other applications/Google Keep.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Google Keep.html
index c3e9ea6985..a9b10a997b 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Google Keep.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Google Keep.html
@@ -60,9 +60,8 @@
<li>A sample of the note is required to better understand what happened.
<ul>
<li>Because Google Keep has no per-note export, extract the Google Takeout
- ZIP and copy the files corresponding to the problematic note (<code spellcheck="false">.html</code>, <code
- spellcheck="false">.json</code> and any attachments if you are able to identify
- them).</li>
+ ZIP and copy the files corresponding to the problematic note (<code>.html</code>, <code>.json</code> and
+ any attachments if you are able to identify them).</li>
</ul>
</li>
<li>A screenshot with how it originally looked like before the import and
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Microsoft OneNote.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Microsoft OneNote.html
index e900cc412b..c89814aa5f 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Microsoft OneNote.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Microsoft OneNote.html
@@ -64,7 +64,7 @@
<li>Links between other imported pages are converted to&nbsp;<a class="reference-link"
href="#root/_help_hrZ1D00cLbal">Internal (reference) links</a>&nbsp;if
the text of the link matches the name of the page, or plain links otherwise.
- If the pages are not part of the import, the original <code spellcheck="false">onenote:</code> link
+ If the pages are not part of the import, the original <code>onenote:</code> link
is kept.</li>
<li>Tags (apart from to-do lists) are mildly preserved by converting them
to emojis. This loses their searchability. Since Trilium has no concept
@@ -110,12 +110,12 @@
<h2>Attributes</h2>
<p>Pages imported from OneNote have a few built-in <a href="#root/_help_HI6GBBIduIgv">labels</a>:</p>
<ul>
- <li><code spellcheck="false">oneNotePageId</code>, with the corresponding
- page ID in OneNote. This can be used to identify the original OneNote page.
- Trilium doesn't use it in any way at this moment.</li>
- <li><code spellcheck="false">oneNoteImportFailed</code> attached to notes that
- couldn't be imported. This can be used to quickly&nbsp;<a class="reference-link"
- href="#root/_help_eIg8jdvaoNNd">Search</a>&nbsp;for failed notes.</li>
+ <li><code>oneNotePageId</code>, with the corresponding page ID in OneNote.
+ This can be used to identify the original OneNote page. Trilium doesn't
+ use it in any way at this moment.</li>
+ <li><code>oneNoteImportFailed</code> attached to notes that couldn't be imported.
+ This can be used to quickly&nbsp;<a class="reference-link" href="#root/_help_eIg8jdvaoNNd">Search</a>&nbsp;for
+ failed notes.</li>
</ul>
<h2>Limitations</h2>
<h3>Regarding OneNote's freehand structure</h3>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Notion.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Notion.html
index f26d9ca294..7334b6b1e9 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Notion.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Notion.html
@@ -111,18 +111,18 @@
<tbody>
<tr>
<td>Text / Select / Status / Place</td>
- <td>Single-valued <code spellcheck="false">text</code> label</td>
+ <td>Single-valued <code>text</code> label</td>
</tr>
<tr>
<td>Number</td>
- <td>Single-valued <code spellcheck="false">number</code> label for plain numbers.
- Formatted values (currency, percent, thousands separators) are normalized
- to a bare number, e.g. <code spellcheck="false">$1,200.50</code> → <code spellcheck="false">1200.50</code>.</td>
+ <td>Single-valued <code>number</code> label for plain numbers. Formatted values
+ (currency, percent, thousands separators) are normalized to a bare number,
+ e.g. <code>$1,200.50</code> → <code>1200.50</code>.</td>
</tr>
<tr>
<td>ID</td>
- <td>Single-valued <code spellcheck="false">number</code> or <code spellcheck="false">text</code> label
- (depending on whether a prefix is configured)</td>
+ <td>Single-valued <code>number</code> or <code>text</code> label (depending on
+ whether a prefix is configured)</td>
</tr>
<tr>
<td>Multi-select</td>
@@ -130,23 +130,21 @@
</tr>
<tr>
<td>URL / Email / Phone</td>
- <td><code spellcheck="false">url</code> label (<code spellcheck="false">mailto:</code>, <code
- spellcheck="false">tel:</code> prefix)</td>
+ <td><code>url</code> label (<code>mailto:</code>, <code>tel:</code> prefix)</td>
</tr>
<tr>
<td>Date</td>
<td>
<ul>
- <li><code spellcheck="false">datetime</code> if at least one has time.</li>
- <li><code spellcheck="false">date</code> if only dates.</li>
+ <li><code>datetime</code> if at least one has time.</li>
+ <li><code>date</code> if only dates.</li>
<li>Two attributes if any of the dates have an end date.</li>
</ul>
</td>
</tr>
<tr>
<td>Checkbox</td>
- <td><code spellcheck="false">boolean</code> label (<code spellcheck="false">true</code>/<code
- spellcheck="false">false</code>).</td>
+ <td><code>boolean</code> label (<code>true</code>/<code>false</code>).</td>
</tr>
<tr>
<td>Person</td>
@@ -154,7 +152,7 @@
</tr>
<tr>
<td>Created by / Edited by</td>
- <td>Single-valued <code spellcheck="false">text</code> label</td>
+ <td>Single-valued <code>text</code> label</td>
</tr>
<tr>
<td>Created time / Last edited time</td>
@@ -174,10 +172,9 @@
<tr>
<td>Formulas / Rollup</td>
<td>
- <p>A <code spellcheck="false">text</code>, <code spellcheck="false">number</code> or <code
- spellcheck="false">boolean</code> label depending on the value. Dates are
- rendered as <code spellcheck="false">text</code> because the export doesn't
- offer any type information.</p>
+ <p>A <code>text</code>, <code>number</code> or <code>boolean</code> label depending
+ on the value. Dates are rendered as <code>text</code> because the export
+ doesn't offer any type information.</p>
<p>The Notion export does not preserve the formula/rollup configuration itself,
instead it just exports the value.</p>
</td>
@@ -200,7 +197,7 @@
collection level. This also makes the columns visible in the table collection.
The promoted attributes are made inheritable so that they appear when navigating
in the child notes as well.</p>
- <p>The names of the labels are intentionally converted to <code spellcheck="false">camelCase</code> to
+ <p>The names of the labels are intentionally converted to <code>camelCase</code> to
match Trilium's conventions, but the full name of the column is preserved
through the <em>Alias</em> mechanism of promoted attributes.</p>
</aside>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Obsidian.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Obsidian.html
index da125a4310..15be3bbb6b 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Obsidian.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Obsidian.html
@@ -14,7 +14,7 @@
<aside class="admonition tip">
<p>When zipping, you can either ZIP the outer folder of the vault, or the
contents of the vault as Trilium will automatically determine the position
- of the vault in the archive via the <code spellcheck="false">.obsidian</code> directory.</p>
+ of the vault in the archive via the <code>.obsidian</code> directory.</p>
</aside>
<p>Then, in Trilium Notes:</p>
<ol>
@@ -50,8 +50,7 @@
<li>Links between pages are converted to&nbsp;<a class="reference-link" href="#root/_help_hrZ1D00cLbal">Internal (reference) links</a>.</li>
<li>Callouts are converted to Trilium's <a href="#root/_help_NwBbFdNZ9h7O">Admonitions</a>.
<ul>
- <li>Obsidian has many more types of callouts (<code spellcheck="false">tldr</code>, <code
- spellcheck="false">question</code>, <code spellcheck="false">attention</code>),
+ <li>Obsidian has many more types of callouts (<code>tldr</code>, <code>question</code>, <code>attention</code>),
these are all mapped to one of Trilium's existing admonition types (e.g.
Note, Tip, Important).</li>
<li>Custom titles are kept and shown as a bold line at the top of the admonition,
@@ -96,29 +95,28 @@
<tbody>
<tr>
<td>Text or not defined</td>
- <td>Single-valued <code spellcheck="false">text</code> label</td>
+ <td>Single-valued <code>text</code> label</td>
</tr>
<tr>
<td>Number</td>
- <td>Single-valued <code spellcheck="false">number</code> label</td>
+ <td>Single-valued <code>number</code> label</td>
</tr>
<tr>
<td>Multitext</td>
- <td>Multi-valued <code spellcheck="false">text</code> label</td>
+ <td>Multi-valued <code>text</code> label</td>
</tr>
<tr>
<td>Checkbox</td>
- <td><code spellcheck="false">boolean</code> label (<code spellcheck="false">true</code>/<code
- spellcheck="false">false</code>).</td>
+ <td><code>boolean</code> label (<code>true</code>/<code>false</code>).</td>
</tr>
<tr>
<td>Date</td>
- <td><code spellcheck="false">date</code>
+ <td><code>date</code>
</td>
</tr>
<tr>
<td>Date &amp; Time</td>
- <td><code spellcheck="false">datetime</code>
+ <td><code>datetime</code>
</td>
</tr>
</tbody>
@@ -128,17 +126,14 @@
<p>Obsidian has a few reserved property names, which are treated differently
in Trilium as well:</p>
<ul>
- <li><code spellcheck="false">tags</code>, where every tag is turned into its
- own <a href="#root/_help_HI6GBBIduIgv">label</a> (e.g. <code spellcheck="false">#one</code>, <code
- spellcheck="false">#two</code> when <code spellcheck="false">tags: [ one, two ]</code>).</li>
- <li><code spellcheck="false">aliases</code> are simply mapped to individual <code
- spellcheck="false">#alias</code> labels</li>
- <li><code spellcheck="false">cssclasses</code>, <code spellcheck="false">publish</code>, <code
- spellcheck="false">permalink</code> are ignored.</li>
+ <li><code>tags</code>, where every tag is turned into its own <a href="#root/_help_HI6GBBIduIgv">label</a> (e.g. <code>#one</code>, <code>#two</code> when <code>tags: [ one, two ]</code>).</li>
+ <li><code>aliases</code> are simply mapped to individual <code>#alias</code> labels</li>
+ <li><code>cssclasses</code>, <code>publish</code>, <code>permalink</code> are
+ ignored.</li>
</ul>
<h2>Limitations</h2>
<ul>
- <li>Comments (<code spellcheck="false">%%</code> syntax) are simply stripped.</li>
+ <li>Comments (<code>%%</code> syntax) are simply stripped.</li>
<li>Obsidian <em>bases</em> functionality is not preserved.
<ul>
<li>The closest equivalent in Trilium would be&nbsp;<a class="reference-link"
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 344361cfe4..b89f7f5e2c 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,8 +13,7 @@
<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 spellcheck="false">$</code> and <code
- spellcheck="false">$$</code> syntaxes.</p>
+<p>Both inline and display equations are supported, using the <code>$</code> and <code>$$</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]
@@ -29,16 +28,14 @@
&gt; [!CAUTION]
&gt; This is a caution.</code></pre>
<p>There are currently no plans of supporting alternative admonition syntaxes
- such as <code spellcheck="false">!!! note</code>.</p>
+ such as <code>!!! note</code>.</p>
<h2>Wikilinks</h2>
<p>Basic support for wikilinks has been added in v0.96.0:</p>
<ul>
- <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>
+ <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>
</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
@@ -59,12 +56,12 @@
<p>Background highlights are supported in two ways:</p>
<ul>
<li>
- <p>The Markdown <code spellcheck="false">==</code> extension which is supported
- by other Markdown-based applications such as Obsidian:</p><pre><code class="language-text-x-trilium-auto">==highlighted==</code></pre>
+ <p>The Markdown <code>==</code> extension which is supported by other Markdown-based
+ applications such as Obsidian:</p><pre><code class="language-text-x-trilium-auto">==highlighted==</code></pre>
</li>
<li>
<p>The canonical HTML representation of highlights, as supported by Trilium:</p><pre><code class="language-text-html">&lt;span style="background-color:hsl(0,0%,100%);"&gt;Highlighted&lt;/span&gt;</code></pre>
</li>
</ul>
-<p>When the yellow highlight is used, import/export prefers the <code spellcheck="false">==</code> syntax
+<p>When the yellow highlight is used, import/export prefers the <code>==</code> syntax
whereas the canonical HTML reprepresentation is used otherwise.</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/Keyboard Shortcuts.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts.html
index 43d737db93..156ed53a92 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
@@ -29,11 +29,11 @@
<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 spellcheck="false">#keyboardShortcut</code> with
- e.g. value <code spellcheck="false">Ctrl + I</code> . 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 be in effect.</li>
+ <li>you can define a <a href="#root/_help_zEY4DaJG4YT5">label</a> <code>#keyboardShortcut</code> with
+ e.g. value <code>Ctrl + I</code> . 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 be
+ in effect.</li>
</ul>
<p>See demo of some of these features in <a href="#root/_help_MMiBEQljMQh2">note navigation</a>.</p>
<h3>Tabs</h3>
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 07943c9924..f4ed28c94f 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
@@ -9,7 +9,7 @@
<h2>Bookmark folder</h2>
<p>Space in the left panel is limited, and you might want to bookmark many
items. One possible solution is to bookmark a folder, so it shows its children:</p>
-<p>To do this, bookmark a folder and assign it the <code spellcheck="false">#bookmarkFolder</code> label.</p>
+<p>To do this, bookmark a folder and assign it the <code>#bookmarkFolder</code> label.</p>
<h2>Mobile</h2>
<p>On mobile, bookmarks are only displayed starting with v0.102.0. Because
of the more constrained screen size, the bookmarks are grouped under a
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Jump to & command palette.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Jump to & command palette.html
index f9563c46fc..a1cfd3c32e 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Jump to & command palette.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Jump to & command palette.html
@@ -25,10 +25,10 @@
note title and selecting one of two options:
<ul>
<li><em>Create note</em> places it in the&nbsp;<a class="reference-link" href="#root/_help_S0Fos78ZfcY7">Note Inbox</a>:
- the note labelled <code spellcheck="false">#inbox</code>, today's&nbsp;<a
- class="reference-link" href="#root/_help_l0tKav7yLHGF">Day Notes</a>&nbsp;if
- there is none, or the top level if there is no journal either. While hoisted
- into a&nbsp;<a class="reference-link" href="#root/_help_9sRHySam5fXb">Workspaces</a>,
+ the note labelled <code>#inbox</code>, today's&nbsp;<a class="reference-link"
+ href="#root/_help_l0tKav7yLHGF">Day Notes</a>&nbsp;if there is none, or
+ the top level if there is no journal either. While hoisted into a&nbsp;<a
+ class="reference-link" href="#root/_help_9sRHySam5fXb">Workspaces</a>,
the workspace's own inbox is used, falling back to the workspace root itself.
The option names the destination, so it is always visible before the note
is created.</li>
@@ -39,9 +39,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 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>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>Alternatively you can click on the "time" icon on the right.</p>
<h2>Command Palette</h2>
<figure class="image image-style-align-center">
@@ -57,8 +57,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 spellcheck="false">&gt;</code> in
- the search to switch to the command palette.</li>
+ <li>If in the “Jump to” dialog, type <code>&gt;</code> in the search to switch
+ to the command palette.</li>
</ul>
<p>Interaction:</p>
<ul>
@@ -68,8 +68,7 @@
</ul>
<p>To exit the command palette:</p>
<ul>
- <li>Remove the <code spellcheck="false">&gt;</code> in the search to go back
- to the note search.</li>
+ <li>Remove the <code>&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 3e928061cc..7b999c53b3 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,9 +9,8 @@
<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
- 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>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>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 2454983031..7fcf0ae87b 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
@@ -66,9 +66,9 @@
empty.</p>
<h3>Keyboard Navigation</h3>
<ul>
- <li>Press <code spellcheck="false">Enter</code> to open the first result</li>
+ <li>Press <code>Enter</code> to open the first result</li>
<li>Use arrow keys to navigate through results</li>
- <li>Press <code spellcheck="false">Escape</code> to close the quick search</li>
+ <li>Press <code>Escape</code> to close the quick search</li>
</ul>
<h2>Using Quick Search</h2>
<ol>
@@ -82,11 +82,10 @@
<h2>Quick Search - Exact Match Operator</h2>
<p>Quick Search shares the same search engine as the full&nbsp;<a class="reference-link"
href="#root/_help_eIg8jdvaoNNd">Search</a>, so the exact match operator
- (<code spellcheck="false">=</code>) behaves identically in both. Start
- your query with <code spellcheck="false">=</code> (no space after it) to
- switch from the default "contains" behavior to exact whole-word or phrase
- matching.</p>
-<p><strong>What</strong> <code spellcheck="false">**=**</code> <strong>actually does:</strong> it
+ (<code>=</code>) behaves identically in both. Start your query with <code>=</code> (no
+ space after it) to switch from the default "contains" behavior to exact
+ whole-word or phrase matching.</p>
+<p><strong>What</strong> <code>**=**</code> <strong>actually does:</strong> it
finds notes where the title or content contains your term as a <strong>whole word or phrase</strong>,
ignoring surrounding punctuation. It does <strong>not</strong> require the
whole note to equal your term, and it does <strong>not</strong> do substring
@@ -103,34 +102,33 @@
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">sync</code>
+ <td><code>sync</code>
</td>
- <td><code spellcheck="false">synchronize the database now</code>
+ <td><code>synchronize the database now</code>
</td>
<td>Yes</td>
<td>default search matches the substring</td>
</tr>
<tr>
- <td><code spellcheck="false">=sync</code>
+ <td><code>=sync</code>
</td>
- <td><code spellcheck="false">see (sync) mode</code>
+ <td><code>see (sync) mode</code>
</td>
<td>Yes</td>
- <td><code spellcheck="false">=</code> matches the whole word <code spellcheck="false">sync</code>,
- punctuation ignored</td>
+ <td><code>=</code> matches the whole word <code>sync</code>, punctuation ignored</td>
</tr>
<tr>
- <td><code spellcheck="false">=sync</code>
+ <td><code>=sync</code>
</td>
- <td><code spellcheck="false">synchronize the database now</code>
+ <td><code>synchronize the database now</code>
</td>
<td>No</td>
- <td><code spellcheck="false">=</code> never matches substrings</td>
+ <td><code>=</code> never matches substrings</td>
</tr>
<tr>
- <td><code spellcheck="false">="project plan"</code>
+ <td><code>="project plan"</code>
</td>
- <td><code spellcheck="false">the (project plan) is ready to share</code>
+ <td><code>the (project plan) is ready to share</code>
</td>
<td>Yes</td>
<td>quote a multi-word phrase to match it exactly</td>
@@ -144,20 +142,18 @@
full Search documentation.</p>
<h3>Limitations</h3>
<ul>
- <li>The <code spellcheck="false">=</code> operator must be at the very beginning
- of the search query.</li>
- <li>A space immediately after <code spellcheck="false">=</code> is treated 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>
+ <li>The <code>=</code> operator must be at the very beginning of the search
+ query.</li>
+ <li>A space immediately after <code>=</code> is treated as a regular search.</li>
+ <li>Multiple <code>=</code> operators (like <code>==example</code>) are treated
+ as regular text search.</li>
</ul>
<h3>Related Features</h3>
<ul>
<li>For attribute, property, boolean and ordering queries, use the full <a
href="#root/_help_eIg8jdvaoNNd">Search</a> functionality.</li>
- <li>For fuzzy matching (finding results despite typos), use the <code spellcheck="false">~=</code> or <code
- spellcheck="false">~*</code> operators 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>
+ <li>For fuzzy matching (finding results despite typos), use the <code>~=</code> or <code>~*</code> operators
+ 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>
</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 bc76c89798..01091351f8 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 spellcheck="false">hello</code>).</li>
+ from lower case (e.g. searching for Hello will not match <code>hello</code>).</li>
<li><em>Match words</em> - the search will find only exact word matches (e.g.
- searching for <code spellcheck="false">Java</code> will not match <code spellcheck="false">JavaScript</code>).</li>
+ searching for <code>Java</code> will not match <code>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 c96a3121c7..b0894389ee 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
@@ -132,8 +132,8 @@
immediately tell how broad a query is.</li>
<li>A <strong>page-size selector</strong> lets you choose how many results to
display per page. Your choice is remembered and synced across your devices
- (stored in the <code spellcheck="false">searchResultsPageSize</code> option),
- so you do not have to reset it on every device.</li>
+ (stored in the <code>searchResultsPageSize</code> option), so you do not
+ have to reset it on every device.</li>
<li><strong>Clicking a result</strong> opens the note and jumps straight to
the first match. The in-note find bar opens pre-filled with your search
terms, so you can step through the remaining matches with the find controls.</li>
@@ -142,7 +142,7 @@
visible.</li>
</ul>
<h2>How search matches your text</h2>
-<p>The single most common source of confusion is that the <code spellcheck="false">=</code> sign
+<p>The single most common source of confusion is that the <code>=</code> sign
means two <em>different</em> things depending on where it appears. Read this
section once and the rest of search becomes predictable.</p>
<p>There are three matching modes:</p>
@@ -170,7 +170,7 @@
<tr>
<td><strong>Exact full-text</strong>
</td>
- <td>a leading <code spellcheck="false">=</code> (e.g. <code spellcheck="false">=sync</code>)</td>
+ <td>a leading <code>=</code> (e.g. <code>=sync</code>)</td>
<td>the exact whole word or phrase, ignoring surrounding punctuation</td>
<td>No</td>
<td>No</td>
@@ -178,8 +178,7 @@
<tr>
<td><strong>Attribute / property equality</strong>
</td>
- <td><code spellcheck="false">=</code> inside a <code spellcheck="false">#label=value</code> or <code
- spellcheck="false">note.property=value</code> clause</td>
+ <td><code>=</code> inside a <code>#label=value</code> or <code>note.property=value</code> clause</td>
<td>the <em>entire</em> attribute or property value, exactly</td>
<td>No</td>
<td>No</td>
@@ -205,33 +204,33 @@
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">sync</code>
+ <td><code>sync</code>
</td>
- <td><code spellcheck="false">please sync the folders</code>
+ <td><code>please sync the folders</code>
</td>
<td>Yes (ranked higher)</td>
- <td>contains the exact word <code spellcheck="false">sync</code>
+ <td>contains the exact word <code>sync</code>
</td>
</tr>
<tr>
- <td><code spellcheck="false">sync</code>
+ <td><code>sync</code>
</td>
- <td><code spellcheck="false">synchronize the database now</code>
+ <td><code>synchronize the database now</code>
</td>
<td>Yes (ranked lower)</td>
- <td><code spellcheck="false">sync</code> is a substring of <code spellcheck="false">synchronize</code>
+ <td><code>sync</code> is a substring of <code>synchronize</code>
</td>
</tr>
</tbody>
</table>
</figure>
-<h3>Exact match with the <code spellcheck="false">=</code> prefix</h3>
-<p><strong>Rule:</strong> a leading <code spellcheck="false">=</code> switches
- the full-text search to exact matching. It finds the whole word or phrase
- only, ignoring surrounding punctuation, with <strong>no</strong> substring
- and <strong>no</strong> fuzzy matching. Use it when a normal search returns
- too many near-matches.</p>
-<figure class="table">
+<h3>Exact match with the <code>=</code> prefix</h3>
+<p><strong>Rule:</strong> a leading <code>=</code> switches the full-text search
+ to exact matching. It finds the whole word or phrase only, ignoring surrounding
+ punctuation, with <strong>no</strong> substring and <strong>no</strong> fuzzy
+ matching. Use it when a normal search returns too many near-matches.</p>
+<figure
+class="table">
<table>
<thead>
<tr>
@@ -243,52 +242,52 @@
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">=sync</code>
+ <td><code>=sync</code>
</td>
- <td><code spellcheck="false">see (sync) mode</code>
+ <td><code>see (sync) mode</code>
</td>
<td>Yes</td>
- <td><code spellcheck="false">(sync)</code> is the whole word <code spellcheck="false">sync</code>;
- punctuation is ignored</td>
+ <td><code>(sync)</code> is the whole word <code>sync</code>; punctuation is
+ ignored</td>
</tr>
<tr>
- <td><code spellcheck="false">=sync</code>
+ <td><code>=sync</code>
</td>
- <td><code spellcheck="false">in sync, then continue</code>
+ <td><code>in sync, then continue</code>
</td>
<td>Yes</td>
- <td><code spellcheck="false">sync,</code> is the whole word <code spellcheck="false">sync</code>
+ <td><code>sync,</code> is the whole word <code>sync</code>
</td>
</tr>
<tr>
- <td><code spellcheck="false">=sync</code>
+ <td><code>=sync</code>
</td>
- <td><code spellcheck="false">he said "sync" out loud</code>
+ <td><code>he said "sync" out loud</code>
</td>
<td>Yes</td>
- <td><code spellcheck="false">"sync"</code> is the whole word <code spellcheck="false">sync</code>
+ <td><code>"sync"</code> is the whole word <code>sync</code>
</td>
</tr>
<tr>
- <td><code spellcheck="false">=sync</code>
+ <td><code>=sync</code>
</td>
- <td><code spellcheck="false">synchronize the database now</code>
+ <td><code>synchronize the database now</code>
</td>
<td>No</td>
- <td><code spellcheck="false">=</code> never matches substrings</td>
+ <td><code>=</code> never matches substrings</td>
</tr>
<tr>
- <td><code spellcheck="false">=sync</code>
+ <td><code>=sync</code>
</td>
- <td><code spellcheck="false">please send the file</code>
+ <td><code>please send the file</code>
</td>
<td>No</td>
- <td><code spellcheck="false">=</code> never matches typos / fuzzy</td>
+ <td><code>=</code> never matches typos / fuzzy</td>
</tr>
</tbody>
</table>
</figure>
-<p>To match an exact <strong>phrase</strong>, quote it after the <code spellcheck="false">=</code> (single,
+<p>To match an exact <strong>phrase</strong>, quote it after the <code>=</code> (single,
double or backtick quotes all work). The phrase must appear as consecutive
words, but punctuation between or around them is ignored:</p>
<figure class="table">
@@ -303,25 +302,25 @@
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">="project plan"</code>
+ <td><code>="project plan"</code>
</td>
- <td>title <code spellcheck="false">Project Plan</code>
+ <td>title <code>Project Plan</code>
</td>
<td>Yes</td>
<td>the title is exactly the phrase</td>
</tr>
<tr>
- <td><code spellcheck="false">="project plan"</code>
+ <td><code>="project plan"</code>
</td>
- <td><code spellcheck="false">the (project plan) is ready to share</code>
+ <td><code>the (project plan) is ready to share</code>
</td>
<td>Yes</td>
<td>the consecutive phrase appears; punctuation is ignored</td>
</tr>
<tr>
- <td><code spellcheck="false">="project plan"</code>
+ <td><code>="project plan"</code>
</td>
- <td><code spellcheck="false">the plan for this project is late</code>
+ <td><code>the plan for this project is late</code>
</td>
<td>No</td>
<td>the words are present but not consecutive</td>
@@ -329,17 +328,13 @@
</tbody>
</table>
</figure>
-<h3>Attribute and property equality (<code spellcheck="false">=</code>, <code spellcheck="false">!=</code>)</h3>
-<p><strong>Rule:</strong> when <code spellcheck="false">=</code> compares an
- attribute or property, as in <code spellcheck="false">#label=value</code> or <code
- spellcheck="false">note.title=value</code>, it is <strong>strict full-value equality</strong>:
+<h3>Attribute and property equality (<code>=</code>, <code>!=</code>)</h3>
+<p><strong>Rule:</strong> when <code>=</code> compares an attribute or property,
+ as in <code>#label=value</code> or <code>note.title=value</code>, it is <strong>strict full-value equality</strong>:
the <em>whole</em> value must equal what you typed, ignoring case and diacritics.
- This is <strong>not</strong> word matching. <code spellcheck="false">!=</code> inverts
- it.</p>
-<p>The examples below assume four notes: <em>Austria</em> (<code spellcheck="false">#capital=Vienna</code>), <em>Somewhere</em> (<code
- spellcheck="false">#capital=Vienna Austria</code>), <em>Czech Republic</em> (<code
- spellcheck="false">#capital=Prague</code>) and <em>Switzerland</em> (<code
- spellcheck="false">#capital=Zürich</code>).</p>
+ This is <strong>not</strong> word matching. <code>!=</code> inverts it.</p>
+<p>The examples below assume four notes: <em>Austria</em> (<code>#capital=Vienna</code>), <em>Somewhere</em> (<code>#capital=Vienna Austria</code>), <em>Czech Republic</em> (<code>#capital=Prague</code>)
+ and <em>Switzerland</em> (<code>#capital=Zürich</code>).</p>
<figure class="table">
<table>
<thead>
@@ -352,78 +347,74 @@
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">#capital=Vienna</code>
+ <td><code>#capital=Vienna</code>
</td>
- <td><code spellcheck="false">Vienna</code>
+ <td><code>Vienna</code>
</td>
<td>Yes</td>
- <td>the whole value equals <code spellcheck="false">Vienna</code>
+ <td>the whole value equals <code>Vienna</code>
</td>
</tr>
<tr>
- <td><code spellcheck="false">#capital=Vienna</code>
+ <td><code>#capital=Vienna</code>
</td>
- <td><code spellcheck="false">Vienna Austria</code>
+ <td><code>Vienna Austria</code>
</td>
<td>No</td>
- <td>the whole value is <code spellcheck="false">Vienna Austria</code>, not <code
- spellcheck="false">Vienna</code>
+ <td>the whole value is <code>Vienna Austria</code>, not <code>Vienna</code>
</td>
</tr>
<tr>
- <td><code spellcheck="false">#capital="Vienna Austria"</code>
+ <td><code>#capital="Vienna Austria"</code>
</td>
- <td><code spellcheck="false">Vienna Austria</code>
+ <td><code>Vienna Austria</code>
</td>
<td>Yes</td>
<td>quote a multi-word value to match it in full</td>
</tr>
<tr>
- <td><code spellcheck="false">#capital=Zurich</code>
+ <td><code>#capital=Zurich</code>
</td>
- <td><code spellcheck="false">Zürich</code>
+ <td><code>Zürich</code>
</td>
<td>Yes</td>
<td>equality ignores diacritics</td>
</tr>
<tr>
- <td><code spellcheck="false">#capital!=Vienna</code>
+ <td><code>#capital!=Vienna</code>
</td>
- <td><code spellcheck="false">Prague</code>
+ <td><code>Prague</code>
</td>
<td>Yes</td>
- <td><code spellcheck="false">!=</code> matches every value that is not <code
- spellcheck="false">Vienna</code>
+ <td><code>!=</code> matches every value that is not <code>Vienna</code>
</td>
</tr>
<tr>
- <td><code spellcheck="false">#capital!=Vienna</code>
+ <td><code>#capital!=Vienna</code>
</td>
- <td><code spellcheck="false">Vienna</code>
+ <td><code>Vienna</code>
</td>
<td>No</td>
- <td><code spellcheck="false">!=</code> excludes the exact value</td>
+ <td><code>!=</code> excludes the exact value</td>
</tr>
</tbody>
</table>
</figure>
<blockquote>
<p><strong>Quick search relaxes this.</strong> The <a href="#root/_help_Ms1nauBra7gq">Quick search</a> bar
- and autocomplete treat an attribute <code spellcheck="false">=</code> as
- "contains", so <code spellcheck="false">#capital=Vienna</code> typed there
- also matches <code spellcheck="false">Vienna Austria</code>. The strict
- full-value equality described here applies only in the full Search.</p>
+ and autocomplete treat an attribute <code>=</code> as "contains", so <code>#capital=Vienna</code> typed
+ there also matches <code>Vienna Austria</code>. The strict full-value equality
+ described here applies only in the full Search.</p>
</blockquote>
-<h3>Fuzzy operators (<code spellcheck="false">~=</code> and <code spellcheck="false">~*</code>)</h3>
-<p><strong>Rule:</strong> the fuzzy operators tolerate typos. <code spellcheck="false">~=</code> (fuzzy-equals)
- matches a value that is a close whole-word variant of your term. <code spellcheck="false">~*</code> (fuzzy-contains)
+<h3>Fuzzy operators (<code>~=</code> and <code>~*</code>)</h3>
+<p><strong>Rule:</strong> the fuzzy operators tolerate typos. <code>~=</code> (fuzzy-equals)
+ matches a value that is a close whole-word variant of your term. <code>~*</code> (fuzzy-contains)
matches when your term appears anywhere inside the value, either as a fragment
- or as a near-miss. Both work on note properties such as <code spellcheck="false">note.title</code> and <code
- spellcheck="false">note.content</code>, and on labels (<code spellcheck="false">#label</code>).
- Fuzzy operators require at least 3 characters.</p>
-<p>The examples assume a note titled <code spellcheck="false">Books</code> carrying
- the label <code spellcheck="false">#author=Tolkien</code>, and a note whose
- content is <code spellcheck="false">learn programming today</code>.</p>
+ or as a near-miss. Both work on note properties such as <code>note.title</code> and <code>note.content</code>,
+ and on labels (<code>#label</code>). Fuzzy operators require at least 3
+ characters.</p>
+<p>The examples assume a note titled <code>Books</code> carrying the label <code>#author=Tolkien</code>,
+ and a note whose content is <code>learn programming today</code>.</p>
<figure
class="table">
<table>
@@ -437,39 +428,39 @@ class="table">
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">note.title ~= boks</code>
+ <td><code>note.title ~= boks</code>
</td>
- <td>title <code spellcheck="false">Books</code>
+ <td>title <code>Books</code>
</td>
<td>Yes</td>
- <td>one edit away from <code spellcheck="false">books</code>
+ <td>one edit away from <code>books</code>
</td>
</tr>
<tr>
- <td><code spellcheck="false">#author ~= tolkein</code>
+ <td><code>#author ~= tolkein</code>
</td>
- <td>author <code spellcheck="false">Tolkien</code>
+ <td>author <code>Tolkien</code>
</td>
<td>Yes</td>
- <td><code spellcheck="false">tolkein</code> is a typo of <code spellcheck="false">tolkien</code>
+ <td><code>tolkein</code> is a typo of <code>tolkien</code>
</td>
</tr>
<tr>
- <td><code spellcheck="false">note.content ~* progr</code>
+ <td><code>note.content ~* progr</code>
</td>
- <td><code spellcheck="false">learn programming today</code>
+ <td><code>learn programming today</code>
</td>
<td>Yes</td>
- <td><code spellcheck="false">progr</code> is a fragment of <code spellcheck="false">programming</code>
+ <td><code>progr</code> is a fragment of <code>programming</code>
</td>
</tr>
<tr>
- <td><code spellcheck="false">note.content ~* programing</code>
+ <td><code>note.content ~* programing</code>
</td>
- <td><code spellcheck="false">learn programming today</code>
+ <td><code>learn programming today</code>
</td>
<td>Yes</td>
- <td><code spellcheck="false">programing</code> is one edit from <code spellcheck="false">programming</code>
+ <td><code>programing</code> is one edit from <code>programming</code>
</td>
</tr>
</tbody>
@@ -517,33 +508,33 @@ class="table">
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">cat</code>
+ <td><code>cat</code>
</td>
<td>3</td>
- <td><code spellcheck="false">a bright red car</code>
+ <td><code>a bright red car</code>
</td>
<td>Yes</td>
<td>1 edit is within budget for 3–5 character terms</td>
</tr>
<tr>
- <td><code spellcheck="false">ceck</code>
+ <td><code>ceck</code>
</td>
<td>4</td>
- <td><code spellcheck="false">the latest tech trends</code>
+ <td><code>the latest tech trends</code>
</td>
<td>No</td>
- <td><code spellcheck="false">ceck</code>→<code spellcheck="false">tech</code> needs
- 2 edits; only 1 is allowed at this length</td>
+ <td><code>ceck</code>→<code>tech</code> needs 2 edits; only 1 is allowed at
+ this length</td>
</tr>
<tr>
- <td><code spellcheck="false">combinef</code>
+ <td><code>combinef</code>
</td>
<td>8</td>
- <td><code spellcheck="false">the values were combined together</code>
+ <td><code>the values were combined together</code>
</td>
<td>Yes</td>
- <td><code spellcheck="false">combinef</code>→<code spellcheck="false">combined</code> is
- 1 edit; up to 2 are allowed at 6+ characters</td>
+ <td><code>combinef</code>→<code>combined</code> is 1 edit; up to 2 are allowed
+ at 6+ characters</td>
</tr>
</tbody>
</table>
@@ -566,20 +557,20 @@ class="table">
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">sync</code>
+ <td><code>sync</code>
</td>
- <td><code spellcheck="false">please sync the folders</code>
+ <td><code>please sync the folders</code>
</td>
- <td><code spellcheck="false">synchronize the database now</code>
+ <td><code>synchronize the database now</code>
</td>
<td>exact word beats substring</td>
</tr>
<tr>
- <td><code spellcheck="false">you and me</code>
+ <td><code>you and me</code>
</td>
- <td><code spellcheck="false">I like you and me as a phrase</code>
+ <td><code>I like you and me as a phrase</code>
</td>
- <td><code spellcheck="false">the menu is here and you know it</code>
+ <td><code>the menu is here and you know it</code>
</td>
<td>consecutive phrase beats scattered words</td>
</tr>
@@ -611,25 +602,25 @@ class="table">
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">special topic</code>
+ <td><code>special topic</code>
</td>
- <td>a note whose only content is a reference link to a note titled <code spellcheck="false">Special Topic</code>
+ <td>a note whose only content is a reference link to a note titled <code>Special Topic</code>
</td>
<td>Yes, and the linked target ranks first</td>
<td>the target's title is indexed into the linking note's searchable text</td>
</tr>
<tr>
- <td><code spellcheck="false">special</code>
+ <td><code>special</code>
</td>
- <td>the same note (only a reference link to <code spellcheck="false">Special Topic</code>)</td>
+ <td>the same note (only a reference link to <code>Special Topic</code>)</td>
<td>Yes, one word from the target's title is enough</td>
<td>the indexed title is normalized just like body text, so even one lowercased
word matches</td>
</tr>
<tr>
- <td><code spellcheck="false">zurich</code>
+ <td><code>zurich</code>
</td>
- <td>a note whose only content is a reference link to a note titled <code spellcheck="false">Zürich</code>
+ <td>a note whose only content is a reference link to a note titled <code>Zürich</code>
</td>
<td>Yes</td>
<td>the indexed title has its accents normalized, so the plain form matches
@@ -652,25 +643,25 @@ class="table">
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">ktory</code>
+ <td><code>ktory</code>
</td>
- <td><code spellcheck="false">slovo ktorý znamena nieco</code>
+ <td><code>slovo ktorý znamena nieco</code>
</td>
<td>Yes</td>
</tr>
<tr>
- <td><code spellcheck="false">ktorý</code>
+ <td><code>ktorý</code>
</td>
- <td><code spellcheck="false">the word ktory appears here</code>
+ <td><code>the word ktory appears here</code>
</td>
<td>Yes</td>
</tr>
</tbody>
</table>
</figure>
-<h3>Regular expressions (<code spellcheck="false">%=</code>)</h3>
-<p><strong>Rule:</strong> the <code spellcheck="false">%=</code> operator matches
- a property or label value against a regular expression.</p>
+<h3>Regular expressions (<code>%=</code>)</h3>
+<p><strong>Rule:</strong> the <code>%=</code> operator matches a property or
+ label value against a regular expression.</p>
<figure class="table">
<table>
<thead>
@@ -682,16 +673,16 @@ class="table">
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">note.content %= 'colou?r'</code>
+ <td><code>note.content %= 'colou?r'</code>
</td>
- <td><code spellcheck="false">my favorite color of all</code>
+ <td><code>my favorite color of all</code>
</td>
<td>Yes</td>
</tr>
<tr>
- <td><code spellcheck="false">note.content %= 'colou?r'</code>
+ <td><code>note.content %= 'colou?r'</code>
</td>
- <td><code spellcheck="false">my favourite colour of all</code>
+ <td><code>my favourite colour of all</code>
</td>
<td>Yes</td>
</tr>
@@ -700,42 +691,41 @@ class="table">
</figure>
<h3>Simple Note Search Examples</h3>
<ul>
- <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>:
+ <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>:
Use numeric operators to find all books published in the 1950s.</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>
+ <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>
</ul>
<h3>Advanced Use Cases</h3>
<ul>
- <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
+ <li><code>~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
@@ -760,43 +750,30 @@ class="table">
</li>
</ul>
</li>
- <li><code spellcheck="false">~author.title *= Tolkien OR (#publicationDate &gt;= 1954 AND #publicationDate &lt;= 1960)</code>:
+ <li><code>~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 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>
+ <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>
</ul>
<h3>Search with Note Properties</h3>
-<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>
+<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>
<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 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>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>Limit the results to the first 10 notes.</li>
</ol>
<h3>Negation</h3>
@@ -843,11 +820,11 @@ class="table">
~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 spellcheck="false">tolkien #book</code> contains:</p>
+ For example, <code>tolkien #book</code> contains:</p>
<ol>
- <li>Full-text tokens - <code spellcheck="false">tolkien</code>
+ <li>Full-text tokens - <code>tolkien</code>
</li>
- <li>Attribute expressions - <code spellcheck="false">#book</code>
+ <li>Attribute expressions - <code>#book</code>
</li>
</ol>
<p>Trilium detects the separation between full text search and attribute/property
@@ -864,13 +841,13 @@ class="table">
<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 spellcheck="false">#publicationYear &gt;= 1960</code> convert
+<p>This finds notes created in May 2019. Numeric operators like <code>#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 spellcheck="false">http://localhost:8080/#?searchString=abc</code>
+<p><code>http://localhost:8080/#?searchString=abc</code>
</p>
<h2>Search Configuration</h2>
<h3>Parameters</h3>
@@ -885,26 +862,26 @@ class="table">
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">MIN_FUZZY_TOKEN_LENGTH</code>
+ <td><code>MIN_FUZZY_TOKEN_LENGTH</code>
</td>
<td>3</td>
<td>Minimum characters for fuzzy matching</td>
</tr>
<tr>
- <td><code spellcheck="false">MAX_EDIT_DISTANCE</code>
+ <td><code>MAX_EDIT_DISTANCE</code>
</td>
<td>2</td>
<td>Ceiling on character changes, reached only by 6+ character terms; shorter
terms allow fewer. See the <em>Fuzzy tolerance (AUTO)</em> section above</td>
</tr>
<tr>
- <td><code spellcheck="false">RESULT_SUFFICIENCY_THRESHOLD</code>
+ <td><code>RESULT_SUFFICIENCY_THRESHOLD</code>
</td>
<td>5</td>
<td>Minimum exact results before fuzzy fallback</td>
</tr>
<tr>
- <td><code spellcheck="false">MAX_CONTENT_SIZE</code>
+ <td><code>MAX_CONTENT_SIZE</code>
</td>
<td>10MB</td>
<td>Maximum note content size for search processing</td>
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 1570de7ca4..5d34d76c5a 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
@@ -5,9 +5,8 @@
class="reference-link" href="#root/_help_BFs8mudNFgCS">Notes</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 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>
+ 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>
<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&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/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 2f57ddf815..0bbc753320 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
@@ -33,44 +33,44 @@
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">workspace</code>
+ <td><code>workspace</code>
</td>
<td>Marks this note as a workspace, button to enter the workspace is controlled
by this</td>
</tr>
<tr>
- <td><code spellcheck="false">workspaceIconClass</code>
+ <td><code>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 spellcheck="false">workspaceTabBackgroundColor</code>
+ <td><code>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 spellcheck="false">workspaceCalendarRoot</code>
+ <td><code>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 spellcheck="false">workspaceTemplate</code>
+ <td><code>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 spellcheck="false">workspaceSearchHome</code>
+ <td><code>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 spellcheck="false">workspaceInbox</code>
+ <td><code>workspaceInbox</code>
</td>
<td>Default inbox location for new notes when hoisted to some ancestor of
this workspace note. See&nbsp;<a class="reference-link" href="#root/_help_S0Fos78ZfcY7">Note Inbox</a>&nbsp;for
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 c6da60badf..d90b9813a0 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,5 @@
-<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>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>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 & Colors.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Icons & Colors.html
index 7f9855c4b9..e313c53fbe 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Icons & Colors.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Icons & Colors.html
@@ -14,8 +14,8 @@
href="#root/_help_KC1HB96bqqHX">Templates</a>, or&nbsp;<a class="reference-link"
href="#root/_help_bwZpz2ajCEwO">Attribute Inheritance</a>.</p>
<aside class="admonition note">
- <p>At the technical level, they 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
+ <p>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.</p>
</aside>
@@ -27,8 +27,8 @@
<p>To set a custom color, right click on the note in the&nbsp;<a class="reference-link"
href="#root/_help_oPVyFC7WL2Lp">Note Tree</a>&nbsp;and select a predefined
color from there or use the color picker (last option).</p>
-<p>Alternatively, a custom color can be set manually through the <code spellcheck="false">#color</code> <a
+<p>Alternatively, a custom color can be set manually through the <code>#color</code> <a
href="#root/_help_HI6GBBIduIgv">label</a>, whose value must be a valid
- hex color including the leading <code spellcheck="false">#</code> (e.g. <code
- spellcheck="false">#ff0000</code> for red). This color can be carried over
- across multiple notes via&nbsp;<a class="reference-link" href="#root/_help_bwZpz2ajCEwO">Attribute Inheritance</a>.</p>
\ No newline at end of file
+ hex color including the leading <code>#</code> (e.g. <code>#ff0000</code> for
+ red). This color can be carried over across multiple notes via&nbsp;<a
+ class="reference-link" href="#root/_help_bwZpz2ajCEwO">Attribute Inheritance</a>.</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 Inbox.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Inbox.html
index 7e8c35fae0..1a77c5fede 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Inbox.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Inbox.html
@@ -9,12 +9,11 @@
<li>The&nbsp;<a class="reference-link" href="#root/_help_MtPxeAWVAzMg">Web Clipper</a>&nbsp;extension.</li>
<li>The <em>Create note</em> option offered when a search finds no match, in&nbsp;<a
class="reference-link" href="#root/_help_F1r9QtzQLZqm">Jump to &amp; command palette</a>,
- in an empty tab and in the <code spellcheck="false">@</code> completion of
- a text note.</li>
+ in an empty tab and in the <code>@</code> completion of a text note.</li>
</ul>
<h2>Setting a note inbox</h2>
-<p>To create a note inbox, apply the <code spellcheck="false">#inbox</code> <a
- href="#root/_help_HI6GBBIduIgv">label</a> to it.</p>
+<p>To create a note inbox, apply the <code>#inbox</code> <a href="#root/_help_HI6GBBIduIgv">label</a> to
+ it.</p>
<p>Only one note should carry this label. If there are multiple notes, only
one will be used by the application.</p>
<aside class="admonition note">
@@ -25,12 +24,11 @@
</aside>
<h2>Workspace inboxes</h2>
<p>Each <a href="#root/_help_9sRHySam5fXb">workspace</a> can have its own inbox,
- set via the <code spellcheck="false">#workspaceInbox</code> label.</p>
+ set via the <code>#workspaceInbox</code> label.</p>
<p>When a new note is created while hoisted in a workspace, the location
is determined in the following order:</p>
<ul>
- <li>A note carrying the <code spellcheck="false">#workspaceInbox</code> label
- in that workspace.</li>
- <li>A note carrying the <code spellcheck="false">#inbox</code> within that workspace.</li>
+ <li>A note carrying the <code>#workspaceInbox</code> label in that workspace.</li>
+ <li>A note carrying the <code>#inbox</code> within that workspace.</li>
<li>The workspace root note itself.</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/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 5c4f55b50f..7fa4b56086 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,11 +6,11 @@
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 spellcheck="false">hideChildrenOverview</code> <a
+ <li>To hide the note list for a particular note, simply apply the <code>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 spellcheck="false">pageSize</code> to
+ performance reasons. To adjust the number of notes per page, set <code>pageSize</code> to
the desired number.</li>
</ul>
<h2>View types</h2>
@@ -20,4 +20,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 spellcheck="false">#viewType</code> attribute.</p>
\ No newline at end of file
+ it can also be changed manually on any type of note using the <code>#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 a2802662cc..5ce6a6f0b8 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
@@ -106,15 +106,14 @@
<p>Time interval of taking note snapshot is configurable in the Options -&gt;
Other dialog. This provides a trade-off between more revisions and more
data to store.</p>
-<p>To turn off note versioning for a particular note (or sub-tree), add <code
- spellcheck="false">disableVersioning</code> <a href="#root/_help_zEY4DaJG4YT5">label</a> to
- the note.</p>
+<p>To turn off note versioning for a particular note (or sub-tree), add <code>disableVersioning</code> <a
+ href="#root/_help_zEY4DaJG4YT5">label</a> to the note.</p>
<h4>Maximum revisions</h4>
<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 spellcheck="false">versioningLimit=X</code> label.</p>
+ for a single note through the <code>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 <em>Erase excess revision snapshots now</em> button to
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 b4eb441d87..cab4d423b1 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
@@ -64,8 +64,7 @@
<aside class="admonition note">
<p>Most of the options here (expect printer &amp; which pages to print) are
managed at note level through&nbsp;<a class="reference-link" href="#root/_help_zEY4DaJG4YT5">Attributes</a>&nbsp;(such
- as <code spellcheck="false">#printLandscape</code>, <code spellcheck="false">#printPageSize</code>, <code
- spellcheck="false">#printScale</code>, <code spellcheck="false">#printMargins</code>).</p>
+ as <code>#printLandscape</code>, <code>#printPageSize</code>, <code>#printScale</code>, <code>#printMargins</code>).</p>
<p>This means that the print settings will be restored when printing the
same note. There are no default settings that can be configured for all
the notes, but this can be achieved via <a href="#root/_help_bwZpz2ajCEwO">inheritable attributes</a>.</p>
@@ -104,7 +103,7 @@
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 spellcheck="false">gio mime application/pdf</code> and
+ this command line. First, list the available applications via <code>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>
<h2>Printing multiple notes</h2>
<p>Since v0.100.0, it is possible to print more than one note at the time
@@ -166,7 +165,7 @@
<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 spellcheck="false">#printLandscape</code> if
+ <li>Consider printing in landscape mode, or using <code>#printLandscape</code> if
exporting to PDF.</li>
</ul>
</li>
@@ -175,7 +174,7 @@
</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 spellcheck="false">printCss</code> relation
+ printing is no longer supported, instead a custom <code>printCss</code> relation
needs to be used (see below).</li>
</ul>
<h2>Customizing the print CSS</h2>
@@ -186,8 +185,8 @@
<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 spellcheck="false">~printCss</code> relation
- to point to the newly created CSS code note.</li>
+ <li>On the note being printed, apply the <code>~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>
</ul>
@@ -197,28 +196,25 @@
--print-font-size: 11pt;
}</code></pre>
<aside class="admonition important">
- <p>When altering <code spellcheck="false">--print-font-family</code>, make
- sure the change is done at <code spellcheck="false">body</code> level and
- not <code spellcheck="false">:root</code>, since otherwise it won't be picked
- up due to specificity rules.</p>
+ <p>When altering <code>--print-font-family</code>, make sure the change is
+ done at <code>body</code> level and not <code>:root</code>, since otherwise
+ it won't be picked up due to specificity rules.</p>
</aside>
<p>To remark:</p>
<ul>
- <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>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>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 spellcheck="false">@media print {</code>  since the style-sheet
- is used only for printing.</li>
+ for <code>@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 spellcheck="false">http://localhost:8080/#root/WWRGzqHUfRln/RRZsE9Al8AIZ?ntxId=0o4fzk</code> becomes <code
- spellcheck="false">http://localhost:8080/?print#root/WWRGzqHUfRln/RRZsE9Al8AIZ</code>.</p>
+ browser. For example <code>http://localhost:8080/#root/WWRGzqHUfRln/RRZsE9Al8AIZ?ntxId=0o4fzk</code> becomes <code>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 b045edf30f..35fdeb6eb1 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
@@ -41,9 +41,8 @@
<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 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>
+ <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>
</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 e373d24a87..ae02964c95 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
@@ -23,7 +23,7 @@
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">#sorted</code>
+ <td><code>#sorted</code>
</td>
<td>
<p>Keeps child notes sorted by title alphabetically.</p>
@@ -33,45 +33,44 @@
</td>
</tr>
<tr>
- <td><code spellcheck="false">#sortDirection</code>
+ <td><code>#sortDirection</code>
</td>
<td>
- <p>If <code spellcheck="false">sorted</code> is applied, specifies the direction
- of the sort:</p>
+ <p>If <code>sorted</code> is applied, specifies the direction of the sort:</p>
<ul>
- <li><code spellcheck="false">ASC</code>, ascending (default)</li>
- <li><code spellcheck="false">DESC</code>, descending</li>
+ <li><code>ASC</code>, ascending (default)</li>
+ <li><code>DESC</code>, descending</li>
</ul>
</td>
</tr>
<tr>
- <td><code spellcheck="false">#sortFoldersFirst</code>
+ <td><code>#sortFoldersFirst</code>
</td>
- <td>If <code spellcheck="false">sorted</code> is applied, folders (notes with
- children) will be sorted as a group at the top, and the rest will be sorted.</td>
+ <td>If <code>sorted</code> is applied, folders (notes with children) will be
+ sorted as a group at the top, and the rest will be sorted.</td>
</tr>
<tr>
- <td><code spellcheck="false">#sortNatural</code>
+ <td><code>#sortNatural</code>
</td>
<td>Sort numbers naturally instead of alphabetically, so 2 comes before 10.</td>
</tr>
<tr>
- <td><code spellcheck="false">#sortLocale</code>
+ <td><code>#sortLocale</code>
</td>
- <td>The language code driving the natural sort (e.g. <code spellcheck="false">zh-CN</code>, <code
- spellcheck="false">de</code>). Only meaningful together with <code spellcheck="false">#sortNatural</code>.</td>
+ <td>The language code driving the natural sort (e.g. <code>zh-CN</code>, <code>de</code>).
+ Only meaningful together with <code>#sortNatural</code>.</td>
</tr>
<tr>
- <td><code spellcheck="false">#top</code>
+ <td><code>#top</code>
</td>
- <td>If <code spellcheck="false">sorted</code> is applied to the parent note,
- keeps given note on top in its parent.</td>
+ <td>If <code>sorted</code> is applied to the parent note, keeps given note on
+ top in its parent.</td>
</tr>
<tr>
- <td><code spellcheck="false">#bottom</code>
+ <td><code>#bottom</code>
</td>
- <td>If <code spellcheck="false">sorted</code> is applied to the parent note,
- keeps given note on bottom in its parent.</td>
+ <td>If <code>sorted</code> is applied to the parent note, keeps given note on
+ bottom in its parent.</td>
</tr>
</tbody>
</table>
@@ -81,25 +80,22 @@
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 spellcheck="false">#top</code> label
+ <li><strong>Top Label Sorting</strong>: Child notes with the <code>#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 spellcheck="false">#bottom</code> label will appear
- at the bottom of the folder.</li>
+ notes with the <code>#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 spellcheck="false">#sorted</code> label:
+ parent note's <code>#sorted</code> label:
<ul>
- <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>,
+ <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>
</ul>
</li>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Title.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Title.html
index 1be0bae9d3..3248739ff0 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Title.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Title.html
@@ -74,7 +74,7 @@
<h2>Protected notes</h2>
<p>The titles of&nbsp;<a class="reference-link" href="#root/_help_bwg0e8ewQMak">Protected Notes</a>&nbsp;are
encrypted along with their content. Before entering your password, Trilium
- cannot decrypt the title, so it is shown as <code spellcheck="false">[protected]</code> in
- instead and the title cannot be modified.</p>
+ cannot decrypt the title, so it is shown as <code>[protected]</code> in instead
+ and the title cannot be modified.</p>
<p>Once you enter your password and a protected session is active, the real
title is decrypted and displayed, and becomes editable again.</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.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Themes.html
index 1df939711d..7c32f140c8 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,11 +11,9 @@
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 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>
+ 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>
<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 {
@@ -76,17 +74,16 @@ 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 spellcheck="false">#appTheme</code> <a
- href="#root/_help_zEY4DaJG4YT5">label</a>.</li>
+ under the name you provided with the <code>#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 Ctrl + R to reload the frontend
and apply your updates.</p>
<h3>Sharing and Importing Themes</h3>
-<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>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>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">
@@ -100,16 +97,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 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>
+ 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>
<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 spellcheck="false">appCss</code> are
+<p>When Trilium's frontend starts, all notes labeled with <code>appCss</code> are
automatically included in the style element of the HTML page.</p>
<p>After making changes, press Ctrl + R to reload the frontend and apply
your new styles.</p>
@@ -119,23 +116,22 @@ 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 spellcheck="false">cssClass</code> <strong>Attribute</strong>:
- Add the <code spellcheck="false">cssClass</code> <a href="#root/_help_zEY4DaJG4YT5">attribute</a> to
+ <li><strong>Use the</strong> <code>cssClass</code> <strong>Attribute</strong>:
+ Add the <code>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 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>
+ <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>
</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 spellcheck="false">type-image mime-image-png</code>.</p>
+ containing PNG images, you can target them with classes like <code>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 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
+ 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
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 bd5edfee5b..1c7cc1a52b 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
@@ -52,7 +52,7 @@
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 spellcheck="false">#iconPack</code> <a
+ clues and make sure that the icon pack has the <code>#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
@@ -64,18 +64,18 @@
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
- spellcheck="false">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>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
- 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>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>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 spellcheck="false">iconClass</code>.</p>
\ No newline at end of file
+ pack (by looking for the prefix) and changing or removing their <code>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/Themes/Personalizing the font.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Themes/Personalizing the font.html
index 3a7dab295f..21bb6e4efe 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Themes/Personalizing the font.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Themes/Personalizing the font.html
@@ -16,7 +16,7 @@
them along with it.</p>
<p>The list of fonts contains the following items:</p>
<ul>
- <li class="ck-list-marker-bold"><strong>Generic fonts</strong>
+ <li><strong>Generic fonts</strong>
<ul>
<li><em>Theme defined</em> which uses the font that is embedded with the current <a
href="#root/_help_Wy267RK4M69c">theme</a>. For example on the default modern
@@ -50,10 +50,10 @@
<ol>
<li>Import the font file, by dragging it into the&nbsp;<a class="reference-link"
href="#root/_help_oPVyFC7WL2Lp">Note Tree</a>&nbsp;or through <em>Import into note</em>.
- TrueType (<code spellcheck="false">.ttf</code>), OpenType (<code spellcheck="false">.otf</code>)
- and Web Open Font Format (<code spellcheck="false">.woff</code>, <code spellcheck="false">.woff2</code>)
- files are recognized; the note takes the font's name without its extension
- and is marked with a font icon (an “A” icon).</li>
+ TrueType (<code>.ttf</code>), OpenType (<code>.otf</code>) and Web Open
+ Font Format (<code>.woff</code>, <code>.woff2</code>) files are recognized;
+ the note takes the font's name without its extension and is marked with
+ a font icon (an “A” icon).</li>
<li>Select the resulting note where a preview of a font will be displayed:
a specimen line to type your own text into, a slider for its size, a preview
in multiple sizes, and the Latin character set.</li>
@@ -63,10 +63,9 @@
families, and can be set for any of the four areas.</li>
</ol>
<aside class="admonition note">
- <p>Embedded OpenType (<code spellcheck="false">.eot</code>) files and TrueType
- collections (<code spellcheck="false">.ttc</code>) cannot be drawn by the
- browser, so they are treated as ordinary files: no preview, and no entry
- in the picker.</p>
+ <p>Embedded OpenType (<code>.eot</code>) files and TrueType collections (<code>.ttc</code>)
+ cannot be drawn by the browser, so they are treated as ordinary files:
+ no preview, and no entry in the picker.</p>
</aside>
<h3>How custom fonts behave</h3>
<ul>
@@ -101,10 +100,9 @@
</ol>
<h2>Programming ligatures</h2>
<p>Some fonts support programming ligatures, which will turn character combinations
- such as <code spellcheck="false">!=</code> into <code spellcheck="false">≠</code> or <code
- spellcheck="false">-&gt;</code> as <code spellcheck="false">→</code> in&nbsp;<a
+ such as <code>!=</code> into <code>≠</code> or <code>-&gt;</code> as <code>→</code> in&nbsp;<a
class="reference-link" href="#root/_help_QxEyIjRBizuC">Code blocks</a>&nbsp;and&nbsp;<a
class="reference-link" href="#root/_help_6f9hih2hXXZk">Code</a>&nbsp;notes.</p>
<p>These are only a display affordance, so copying the text is not affected.
Regardless, this feature can be disabled in Trilium by unchecking <em>Programming ligatures</em> in
- the font settings.&nbsp;</p>
\ No newline at end of file
+ the font settings.</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/Content width.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Content width.html
index 7c23e3a64b..98df8787c9 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Content width.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Content width.html
@@ -22,8 +22,8 @@
<li>Since v0.104.0 in the&nbsp;<a class="reference-link" href="#root/_help_IjZS7iK5EXtb">New Layout</a>&nbsp;only,
go to&nbsp;<a class="reference-link" href="#root/_help_8YBEPzcpUgxw">Note buttons</a>&nbsp;and
toggle <em>Full width</em>.</li>
- <li>Or manually apply the <code spellcheck="false">fullContentWidth</code> <a
- href="#root/_help_HI6GBBIduIgv">label</a> to the note.</li>
+ <li>Or manually apply the <code>fullContentWidth</code> <a href="#root/_help_HI6GBBIduIgv">label</a> to
+ the note.</li>
</ul>
<aside class="admonition note">
<p>Some <a href="#root/_help_KSZ04uQ2D1St">note types</a> are full width by
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 1dd5f11af1..f8f75eb7f2 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
@@ -73,13 +73,11 @@
<p><strong>Note Launcher</strong>
<br>A note launcher will simply navigate to a specified note.</p>
<ol>
- <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 class="reference-link" href="#root/_help_OR8WJ7Iz9K4U">Note Hoisting</a>&nbsp;for
+ <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
+ class="reference-link" 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>
+ <li>Optionally, set a <code>keyboardShortcut</code> to trigger the launcher.</li>
</ol>
</li>
<li>
@@ -88,10 +86,8 @@
class="reference-link" href="#root/_help_CdNpE2pqjmI6">Scripting</a>&nbsp;for
more information.</p>
<ol>
- <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>
+ <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>
</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 475846e953..e3e7087881 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
@@ -186,13 +186,13 @@ width="735" height="143">
<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 spellcheck="false">#pageUrl</code>).</li>
+ <li>Original URL indicator for clipped web pages (<code>#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 spellcheck="false">toggleRibbonTabClassicEditor</code>)
+ <p>The ribbon keyboard shortcuts (e.g. <code>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 c7b2694f78..0d5c13c0ef 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
@@ -26,8 +26,8 @@
</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
- spellcheck="false">CTRL-C</code> ( <a href="#root/_help_IakOLONlIfGI">copy</a>), <kbd>Ctrl</kbd> + <kbd>X</kbd> (cut)
+ 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>
<p>See&nbsp;<a class="reference-link" href="#root/_help_YtSN43OrfzaA">Note tree contextual menu</a>&nbsp;for
more information.</p>
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 2a53f39c35..549f23768c 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 spellcheck="false">#root/Hb2E70L7HPuf/4sRFgMZhYFts/2IVuShedRJ3U/LJVMvKXOFv7n</code>.</li>
+ note, such as <code>#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/Attributes tab.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Attributes tab.html
index 52c3a3575e..18912f1479 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Attributes tab.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Attributes tab.html
@@ -38,7 +38,7 @@
<ul>
<li>The input box follows the type defined in a corresponding label definition
(date, color, dropdown, numbers), as well as for system attributes that
- have a specific type (e.g. <code spellcheck="false">color</code>).</li>
+ have a specific type (e.g. <code>color</code>).</li>
<li>For labels, clicking on the value edits its in-place.
<ul>
<li>Press <kbd>Enter</kbd> to confirm or click outside the input box, or <kbd>Esc</kbd> to
@@ -66,8 +66,8 @@
<ul>
<li>The name field will be focused first. By default, a label will be created
instead but it can be toggled to a relation by typing <kbd>~</kbd> or pressing
- the icon (similarly, typing <code spellcheck="false">#</code> will switch
- back to a label instead of a relation).</li>
+ the icon (similarly, typing <code>#</code> will switch back to a label instead
+ of a relation).</li>
<li>Once the name is filled, press <kbd>Enter</kbd> to continue to the value.
Type in a value if desired and then press <kbd>Enter</kbd> again to create
the attribute.</li>
@@ -95,8 +95,7 @@
of it.</li>
</ul>
</li>
- <li>The name indicates the name of the attribute it defines (without the <code
- spellcheck="false">label:</code> or <code spellcheck="false">relation:</code> prefix).</li>
+ <li>The name indicates the name of the attribute it defines (without the <code>label:</code> or <code>relation:</code> prefix).</li>
<li>To the right of the name a short summary is displayed which indicates
the display name (alias), whether it has multiple values or an inverse
relation.</li>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Connections tab.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Connections tab.html
index 3ebdd8bf0c..86bcdb8ed9 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Connections tab.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Connections tab.html
@@ -21,9 +21,9 @@ class="admonition note">
<li>The <em>Tree map</em>, which displays the hierarchical structure.</li>
</ul>
<p>The sidebar will remember which visualization is selected, as a global
- option. Note that note maps also have a <code spellcheck="false">#mapType</code> which
- describes which visualization to use, but the sidebar deliberately ignores
- that to keep consistency when switching between notes.</p>
+ option. Note that note maps also have a <code>#mapType</code> which describes
+ which visualization to use, but the sidebar deliberately ignores that to
+ keep consistency when switching between notes.</p>
<p>The map can also be expanded by pressing the button in the top-right of
the section. When expanded, the map is displayed in a separate dialog.
Alternatively, all other sections can be collapsed, which will make the
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Outline tab.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Outline tab.html
index 737e9b5654..9d2935da6a 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Outline tab.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Outline tab.html
@@ -49,10 +49,10 @@
<li>Use&nbsp;<a class="reference-link" href="#root/_help_zEY4DaJG4YT5">Attributes</a>&nbsp;to
configure the table of contents for a particular note:
<ul>
- <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>
+ <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>
</ul>
</li>
</ul>
@@ -95,7 +95,7 @@
</li>
<li>For the old layout only, 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 spellcheck="false">#hideHighlightWidget</code> label.</li>
+ add the <code>#hideHighlightWidget</code> label.</li>
</ul>
<h2>PDF-specific outline</h2>
<p>When&nbsp;<a class="reference-link" href="#root/_help_XJGJrpu7F9sh">PDFs</a>&nbsp;are
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 94aecbad7a..7d10cb7861 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 spellcheck="false">toggleZenMode</code> in
+ and <kbd>Alt</kbd>+<kbd>Z</kbd> for older versions). Look for <code>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,10 +37,9 @@
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 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>)
+ 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>)
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.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections.html
index f13df500a9..c751a38a67 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections.html
@@ -87,7 +87,7 @@
but also works recursively.</li>
</ul>
<p>Classic collections make use of pagination to support a large number of
- notes. The size of a page can be customized via <code spellcheck="false">pageSize</code>.</p>
+ notes. The size of a page can be customized via <code>pageSize</code>.</p>
<h2>Creating a new collection</h2>
<p>To create a new collections, right click in the&nbsp;<a class="reference-link"
href="#root/_help_oPVyFC7WL2Lp">Note Tree</a>&nbsp;and look for the <em>Collections</em> entry
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 1ad0d02e15..1349f80a01 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
@@ -41,7 +41,7 @@
content of the event (including recurrence), click on it to bring it into
the popup view.</p>
<aside class="admonition note">
- <p>Creating new notes from the calendar will respect the <code spellcheck="false">~child:template</code> relation
+ <p>Creating new notes from the calendar will respect the <code>~child:template</code> relation
if set on the Collection note.</p>
</aside>
<h2>Interacting with events</h2>
@@ -143,34 +143,34 @@ class="table">
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">#calendar:hideWeekends</code>
+ <td><code>#calendar:hideWeekends</code>
</td>
<td>When present (regardless of value), it will hide Saturday and Sundays
from the calendar.</td>
</tr>
<tr>
- <td><code spellcheck="false">#calendar:weekNumbers</code>
+ <td><code>#calendar:weekNumbers</code>
</td>
<td>When present (regardless of value), it will show the number of the week
on the calendar.</td>
</tr>
<tr>
- <td><code spellcheck="false">#calendar:initialDate</code>
+ <td><code>#calendar:initialDate</code>
</td>
<td>Change the date the calendar opens on. When not present, the calendar
opens on the current date.</td>
</tr>
<tr>
- <td><code spellcheck="false">#calendar:view</code>
+ <td><code>#calendar:view</code>
</td>
<td>
<p>Which view to display in the calendar:</p>
<ul>
- <li><code spellcheck="false">timeGridDay</code> for the <em>day</em> view;</li>
- <li><code spellcheck="false">timeGridWeek</code> for the <em>week</em> view;</li>
- <li><code spellcheck="false">dayGridMonth</code> for the <em>month</em> view;</li>
- <li><code spellcheck="false">multiMonthYear</code> for the <em>year</em> view;</li>
- <li><code spellcheck="false">listMonth</code> for the <em>list</em> view.</li>
+ <li><code>timeGridDay</code> for the <em>day</em> view;</li>
+ <li><code>timeGridWeek</code> for the <em>week</em> view;</li>
+ <li><code>dayGridMonth</code> for the <em>month</em> view;</li>
+ <li><code>multiMonthYear</code> for the <em>year</em> view;</li>
+ <li><code>listMonth</code> for the <em>list</em> view.</li>
</ul>
<p>Any other value will be dismissed and the default view (month) will be
used instead.</p>
@@ -179,22 +179,21 @@ class="table">
</td>
</tr>
<tr>
- <td><code spellcheck="false">#calendar:slotDuration</code>
+ <td><code>#calendar:slotDuration</code>
</td>
- <td>Sets how long each timeslot is on the calendar. Defaults to <code spellcheck="false">00:15:00</code> (15
+ <td>Sets how long each timeslot is on the calendar. Defaults to <code>00:15:00</code> (15
minutes). Must have the format "HH:MM:SS". For example, to create timeslots
- for every 10 minutes, you would set <code spellcheck="false">#calendar:slotDuration="00:10:00"</code>.</td>
+ for every 10 minutes, you would set <code>#calendar:slotDuration="00:10:00"</code>.</td>
</tr>
<tr>
- <td><code spellcheck="false">#calendar:slotLabelInterval</code>
+ <td><code>#calendar:slotLabelInterval</code>
</td>
<td>Sets how often the timeslots on the calendar should be labeled. Defaults
- to <code spellcheck="false">01:00:00</code> (1 hour). Must have the format
- "HH:MM:SS". For example, to label timeslots every 30 minutes, you would
- set <code spellcheck="false">#calendar:slotLabelInterval="00:30:00"</code>.</td>
+ to <code>01:00:00</code> (1 hour). Must have the format "HH:MM:SS". For example,
+ to label timeslots every 30 minutes, you would set <code>#calendar:slotLabelInterval="00:30:00"</code>.</td>
</tr>
<tr>
- <td><code spellcheck="false">~child:template</code>
+ <td><code>~child:template</code>
</td>
<td>Defines the template for newly created notes in the calendar (via dragging
or clicking).</td>
@@ -217,77 +216,71 @@ class="table">
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">#startDate</code>
+ <td><code>#startDate</code>
</td>
<td>The date the event starts, which will display it in the calendar. The
- format is <code spellcheck="false">YYYY-MM-DD</code> (year, month and day
- separated by a minus sign).</td>
+ format is <code>YYYY-MM-DD</code> (year, month and day separated by a minus
+ sign).</td>
</tr>
<tr>
- <td><code spellcheck="false">#endDate</code>
+ <td><code>#endDate</code>
</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>
+ <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>
</tr>
<tr>
- <td><code spellcheck="false">#startTime</code>
+ <td><code>#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 spellcheck="false">HH:MM</code> (hours
- in 24-hour format and minutes).</td>
+ is considered a full-day event. The format is <code>HH:MM</code> (hours in
+ 24-hour format and minutes).</td>
</tr>
<tr>
- <td><code spellcheck="false">#endTime</code>
+ <td><code>#endTime</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>
+ <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>
</tr>
<tr>
- <td><code spellcheck="false">#recurrence</code>
+ <td><code>#recurrence</code>
</td>
- <td>This is an optional CalDAV <code spellcheck="false">RRULE</code> string
- that if present, determines whether a task should repeat or not. Note that
- it does not include the <code spellcheck="false">DTSTART</code> attribute,
- which is derived from the <code spellcheck="false">#startDate</code> and <code
- spellcheck="false">#startTime</code> directly. For examples of valid <code
- spellcheck="false">RRULE</code> strings see <a href="https://icalendar.org/rrule-tool.html">https://icalendar.org/rrule-tool.html</a>
+ <td>This is an optional CalDAV <code>RRULE</code> string that if present, determines
+ whether a task should repeat or not. Note that it does not include the <code>DTSTART</code> attribute,
+ which is derived from the <code>#startDate</code> and <code>#startTime</code> directly.
+ For examples of valid <code>RRULE</code> strings see <a href="https://icalendar.org/rrule-tool.html">https://icalendar.org/rrule-tool.html</a>
</td>
</tr>
<tr>
- <td><code spellcheck="false">#color</code>
+ <td><code>#color</code>
</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>
+ <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>
</tr>
<tr>
- <td><code spellcheck="false">#calendar:color</code>
+ <td><code>#calendar:color</code>
</td>
- <td><strong>❌️ Removed since v0.100.0. Use</strong> <code spellcheck="false">#color</code> <strong>instead.</strong>&nbsp;&nbsp;&nbsp;&nbsp;
+ <td><strong>❌️ Removed since v0.100.0. Use</strong> <code>#color</code> <strong>instead.</strong>&nbsp;&nbsp;&nbsp;&nbsp;
<br>
- <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>
+ <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>
</tr>
<tr>
- <td><code spellcheck="false">#iconClass</code>
+ <td><code>#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 spellcheck="false">#calendar:title</code>
+ <td><code>#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 spellcheck="false">#</code> or <code
- spellcheck="false">~</code> symbol). See <em>Use-cases</em> for more information.</td>
+ 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>
</tr>
<tr>
- <td><code spellcheck="false">#calendar:displayedAttributes</code>
+ <td><code>#calendar:displayedAttributes</code>
</td>
<td>Allows displaying the value of one or more attributes in the calendar
like this:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
@@ -295,39 +288,38 @@ class="table">
<br>
<img src="6_Calendar_image.png">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
- <br><code spellcheck="false">#weight="70" #Mood="Good" #calendar:displayedAttributes="weight,Mood"</code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+ <br><code>#weight="70" #Mood="Good" #calendar:displayedAttributes="weight,Mood"</code>&nbsp;&nbsp;&nbsp;&nbsp;&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;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
- <br><code spellcheck="false">~assignee=@My assignee #calendar:displayedAttributes="assignee"</code>
+ <br><code>~assignee=@My assignee #calendar:displayedAttributes="assignee"</code>
</td>
</tr>
<tr>
- <td><code spellcheck="false">#calendar:startDate</code>
+ <td><code>#calendar:startDate</code>
</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>.
+ <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>
</tr>
<tr>
- <td><code spellcheck="false">#calendar:endDate</code>
+ <td><code>#calendar:endDate</code>
</td>
- <td>Similar to <code spellcheck="false">#calendar:startDate</code>, allows
- changing the attribute which is being used to read the end date.</td>
+ <td>Similar to <code>#calendar:startDate</code>, allows changing the attribute
+ which is being used to read the end date.</td>
</tr>
<tr>
- <td><code spellcheck="false">#calendar:startTime</code>
+ <td><code>#calendar:startTime</code>
</td>
- <td>Similar to <code spellcheck="false">#calendar:startDate</code>, allows
- changing the attribute which is being used to read the start time.</td>
+ <td>Similar to <code>#calendar:startDate</code>, allows changing the attribute
+ which is being used to read the start time.</td>
</tr>
<tr>
- <td><code spellcheck="false">#calendar:endTime</code>
+ <td><code>#calendar:endTime</code>
</td>
- <td>Similar to <code spellcheck="false">#calendar:startDate</code>, allows
- changing the attribute which is being used to read the end time.</td>
+ <td>Similar to <code>#calendar:startDate</code>, allows changing the attribute
+ which is being used to read the end time.</td>
</tr>
</tbody>
</table>
@@ -337,8 +329,7 @@ class="table">
<img src="8_Calendar_image.png">
</p>
<p>The calendar displays all the child notes of the Collection that have
- a <code spellcheck="false">#startDate</code>. An <code spellcheck="false">#endDate</code> can
- optionally be added.</p>
+ a <code>#startDate</code>. An <code>#endDate</code> can optionally be added.</p>
<p>The start date &amp; end date can easily be edited from the calendar collection
itself by clicking on the event. To edit the date while in the event note
itself, 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"
@@ -358,34 +349,32 @@ class="table">
by clicking on an event and then selecting the <em>Repeats</em> option.</p>
<h3>Custom recurrence using a subset of RRULE</h3>
<p>If the existing recurrence editor from the event popup is not sufficient,
- more complex rules can be manually set via the <code spellcheck="false">#recurrence</code> label.</p>
+ more complex rules can be manually set via the <code>#recurrence</code> label.</p>
<p>For example, to make a note repeat on the calendar:</p>
<ul>
- <li>Every Day - <code spellcheck="false">#recurrence="FREQ=DAILY;INTERVAL=1"</code>
+ <li>Every Day - <code>#recurrence="FREQ=DAILY;INTERVAL=1"</code>
</li>
- <li>Every 3 days - <code spellcheck="false">#recurrence="FREQ=DAILY;INTERVAL=3"</code>
+ <li>Every 3 days - <code>#recurrence="FREQ=DAILY;INTERVAL=3"</code>
</li>
- <li>Every week - <code spellcheck="false">#recurrence="FREQ=WEEKLY;INTERVAL=1"</code>
+ <li>Every week - <code>#recurrence="FREQ=WEEKLY;INTERVAL=1"</code>
</li>
- <li>Every 2 weeks on Monday, Wednesday and Friday - <code spellcheck="false">#recurrence="FREQ=WEEKLY;INTERVAL=2;BYDAY=MO,WE,FR"</code>
+ <li>Every 2 weeks on Monday, Wednesday and Friday - <code>#recurrence="FREQ=WEEKLY;INTERVAL=2;BYDAY=MO,WE,FR"</code>
</li>
- <li>Every 3 months - <code spellcheck="false">#recurrence="FREQ=MONTHLY;INTERVAL=3"</code>
+ <li>Every 3 months - <code>#recurrence="FREQ=MONTHLY;INTERVAL=3"</code>
</li>
- <li>Every 2 months on the First Sunday - <code spellcheck="false">#recurrence="FREQ=MONTHLY;INTERVAL=2;BYDAY=1SU"</code>
+ <li>Every 2 months on the First Sunday - <code>#recurrence="FREQ=MONTHLY;INTERVAL=2;BYDAY=1SU"</code>
</li>
- <li>Every month on the Last Friday - <code spellcheck="false">#recurrence="FREQ=MONTHLY;INTERVAL=1;BYDAY=-1FR"</code>
+ <li>Every month on the Last Friday - <code>#recurrence="FREQ=MONTHLY;INTERVAL=1;BYDAY=-1FR"</code>
</li>
</ul>
-<p>For other examples of valid <code spellcheck="false">RRULE</code> strings
- see <a href="https://icalendar.org/rrule-tool.html">https://icalendar.org/rrule-tool.html</a>
+<p>For other examples of valid <code>RRULE</code> strings see <a href="https://icalendar.org/rrule-tool.html">https://icalendar.org/rrule-tool.html</a>
</p>
-<p>Note that the recurrence string does not include the <code spellcheck="false">DTSTART</code> attribute
- as defined in the iCAL specifications. This is derived directly from the <code
- spellcheck="false">startDate</code> and <code spellcheck="false">startTime</code> attributes</p>
+<p>Note that the recurrence string does not include the <code>DTSTART</code> attribute
+ as defined in the iCAL specifications. This is derived directly from the <code>startDate</code> and <code>startTime</code> attributes</p>
<p>If you want to override the label the calendar uses to fetch the recurrence
- string, you can use the <code spellcheck="false">#calendar:recurrence</code> attribute.
- For example, you can set <code spellcheck="false">#calendar:recurrence=taskRepeats</code>.
- Then you can set your recurrence string like <code spellcheck="false">#taskRepeats="FREQ=DAILY;INTERVAL=1"</code>
+ string, you can use the <code>#calendar:recurrence</code> attribute. For
+ example, you can set <code>#calendar:recurrence=taskRepeats</code>. Then
+ you can set your recurrence string like <code>#taskRepeats="FREQ=DAILY;INTERVAL=1"</code>
</p>
<p>Also note that the recurrence label can be made promoted as with the start
and end dates.&nbsp;</p>
@@ -397,11 +386,10 @@ class="table">
<h2>Slot Duration &amp; Slot Label Interval</h2>
<p>Trilium's calendar view is powered by FullCalendar, which gives you fine-grained
control over how the time grid looks and behaves for day and week views.
- Two labels you can use to configure these views are <code spellcheck="false">#calendar:slotDuration</code> and <code
- spellcheck="false">#calendar:slotLabelInterval</code>. Understanding what
- each one does — and how they interact — lets you tailor the calendar to
- match your workflow, whether you're scheduling in 15-minute increments
- or planning out your day in broad hourly blocks.</p>
+ Two labels you can use to configure these views are <code>#calendar:slotDuration</code> and <code>#calendar:slotLabelInterval</code>.
+ Understanding what each one does — and how they interact — lets you tailor
+ the calendar to match your workflow, whether you're scheduling in 15-minute
+ increments or planning out your day in broad hourly blocks.</p>
<p>These settings can also be adjusted from the <em>Collections</em> tab in
the&nbsp;<a class="reference-link" href="#root/_help_BlN9DFI679QC">Ribbon</a>.</p>
<h3>Slot duration</h3>
@@ -421,17 +409,17 @@ class="table">
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">#calendar:slotDuration="00:15:00"</code>
+ <td><code>#calendar:slotDuration="00:15:00"</code>
</td>
<td>One row every 15 minutes</td>
</tr>
<tr>
- <td><code spellcheck="false">#calendar:slotDuration="00:30:00"</code>
+ <td><code>#calendar:slotDuration="00:30:00"</code>
</td>
<td>One row every 30 minutes</td>
</tr>
<tr>
- <td><code spellcheck="false">#calendar:slotDuration="01:00:00"</code>
+ <td><code>#calendar:slotDuration="01:00:00"</code>
</td>
<td>One row every hour</td>
</tr>
@@ -455,12 +443,12 @@ class="table">
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">#calendar:slotLabelInterval="00:30:00"</code>
+ <td><code>#calendar:slotLabelInterval="00:30:00"</code>
</td>
<td>Show a time label every 30 minutes</td>
</tr>
<tr>
- <td><code spellcheck="false">#calendar:slotLabelInterval="01:00:00"</code>
+ <td><code>#calendar:slotLabelInterval="01:00:00"</code>
</td>
<td>Show a time label every hour</td>
</tr>
@@ -472,39 +460,39 @@ class="table">
<table>
<thead>
<tr>
- <th><code spellcheck="false">#calendar:slotDuration</code>
+ <th><code>#calendar:slotDuration</code>
</th>
- <th><code spellcheck="false">#calendar:slotLabelInterval</code>
+ <th><code>#calendar:slotLabelInterval</code>
</th>
<th>Result</th>
</tr>
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">00:15:00</code>
+ <td><code>00:15:00</code>
</td>
- <td><code spellcheck="false">01:00:00</code>
+ <td><code>01:00:00</code>
</td>
<td>Fine grid, clean axis — good for busy schedules</td>
</tr>
<tr>
- <td><code spellcheck="false">00:30:00</code>
+ <td><code>00:30:00</code>
</td>
- <td><code spellcheck="false">01:00:00</code>
+ <td><code>01:00:00</code>
</td>
<td>Standard calendar feel</td>
</tr>
<tr>
- <td><code spellcheck="false">01:00:00</code>
+ <td><code>01:00:00</code>
</td>
- <td><code spellcheck="false">01:00:00</code>
+ <td><code>01:00:00</code>
</td>
<td>Simple hourly grid — good for day planning</td>
</tr>
<tr>
- <td><code spellcheck="false">00:15:00</code>
+ <td><code>00:15:00</code>
</td>
- <td><code spellcheck="false">00:30:00</code>
+ <td><code>00:30:00</code>
</td>
<td>Fine grid, labels every 30 min — balanced detail</td>
</tr>
@@ -512,11 +500,9 @@ class="table">
</table>
</figure>
<h3>Format</h3>
-<p>Both values use <code spellcheck="false">HH:mm:ss</code> format. Hours can
- go up to <code spellcheck="false">24</code> (<code spellcheck="false">24:00:00</code>),
- while minutes and seconds must be between <code spellcheck="false">00</code> and <code
- spellcheck="false">59</code>. The minimum meaningful duration is 1 minute
- (<code spellcheck="false">00:01:00</code>).</p>
+<p>Both values use <code>HH:mm:ss</code> format. Hours can go up to <code>24</code> (<code>24:00:00</code>),
+ while minutes and seconds must be between <code>00</code> and <code>59</code>.
+ The minimum meaningful duration is 1 minute (<code>00:01:00</code>).</p>
<h2>Use-cases</h2>
<h3>Using with the Journal / calendar</h3>
<p>It is possible to integrate the calendar view into the Journal with day
@@ -524,19 +510,19 @@ class="table">
root) to Collection and then select the Calendar View.</p>
<p>While in journal mode, the popup editor will not show dates, recurrence,
colors or removal, since day notes aren't editable events.</p>
-<p>Based on the <code spellcheck="false">#calendarRoot</code> (or <code spellcheck="false">#workspaceCalendarRoot</code>)
+<p>Based on the <code>#calendarRoot</code> (or <code>#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 spellcheck="false">dateNote</code> attribute
- rather than <code spellcheck="false">startDate</code>.</li>
+ <li>The calendar events are now rendered based on their <code>dateNote</code> attribute
+ rather than <code>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 spellcheck="false">dateNote</code> attribute. Children
- of the child notes will not be displayed.</li>
+ not having a <code>dateNote</code> attribute. Children of the child notes
+ will not be displayed.</li>
</ul>
<img src="5_Calendar_image.png" width="1217" height="724">
<h3>Using a different attribute as event title</h3>
@@ -545,25 +531,23 @@ class="table">
height="124">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 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><pre><code class="language-text-x-trilium-auto">#startDate=2025-02-11 #endDate=2025-02-13 #name="My vacation" #calendar:title="name"</code></pre>
+<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><pre><code class="language-text-x-trilium-auto">#startDate=2025-02-11 #endDate=2025-02-13 #name="My vacation" #calendar:title="name"</code></pre>
<h3>Using a relation attribute as event title</h3>
<p>
<img class="image-style-align-right image_resized" style="aspect-ratio:294/151;width:21.22%;"
- src="3_Calendar_image.png" width="294" height="151">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>
+ src="3_Calendar_image.png" width="294" height="151">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>Moreover, if there are more relations of the same name, they will be displayed
as multiple events coming from the same note.</p><pre><code class="language-text-x-trilium-auto">#startDate=2025-02-14 #endDate=2025-02-15 ~for=@John Smith ~for=@Jane Doe #calendar:title="for"</code></pre>
<p>
<img class="image-style-align-left" src="Calendar_image.png" width="296"
- height="150">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
+ height="150">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
reasons (an accidental recursion &nbsp;of attributes could cause the application
to loop infinitely).</p><pre><code class="language-text-x-trilium-auto">#calendar:title="shortName" #shortName="John S."</code></pre>
\ No newline at end of file
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 555c219404..e102d06e30 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
@@ -13,7 +13,7 @@
world.</li>
<li>Turn a place the map already shows into a marker by clicking it.</li>
<li>Draw paths, areas, rectangles and circles onto the map.</li>
- <li>Display tracks on the map using <code spellcheck="false">.gpx</code> files.</li>
+ <li>Display tracks on the map using <code>.gpx</code> files.</li>
<li>Show your own location on the map and follow it as you move.</li>
<li>3D view of the map, which displays buildings when using a vector map.</li>
</ul>
@@ -108,12 +108,12 @@
<h3>Searching the notes already on the map</h3>
<p>Type in the search bar, and the notes on the map are matched by their
title as you type. Accents are ignored, both in what you type and in the
- titles, so <code spellcheck="false">zurich</code> finds <em>Zürich Hauptbahnhof</em>.
- Each word is searched for on its own, so <code spellcheck="false">hotel paris</code> finds <em>Paris Hotel</em>.
- Notes without a <code spellcheck="false">#geolocation</code> attribute are
- not offered, since there would be nowhere to go. Drawn shapes and GPS tracks
- are offered, even though they carry no such attribute: selecting one brings
- the whole shape or route into view.</p>
+ titles, so <code>zurich</code> finds <em>Zürich Hauptbahnhof</em>. Each word
+ is searched for on its own, so <code>hotel paris</code> finds <em>Paris Hotel</em>.
+ Notes without a <code>#geolocation</code> attribute are not offered, since
+ there would be nowhere to go. Drawn shapes and GPS tracks are offered,
+ even though they carry no such attribute: selecting one brings the whole
+ shape or route into view.</p>
<p>If more notes match than the list can show, you are offered the ones closest
to the area you are viewing.</p>
<h3>Searching for places online</h3>
@@ -142,20 +142,19 @@
The note is therefore given the same name as any other new note, which
is the name you also get from the <em>Add marker</em> button and from the
+ button in the note tree. The note opens with that name selected, so you
- can type over it. If the map has a&nbsp;<a class="reference-link" href="#root/_help_47ZrP6FNuoG8">Default Note Title</a>&nbsp;label,
+ can type over it. If the map has a&nbsp;<a class="reference-link" href="#root/_help_47ZrP6FNuoG8">[missing note]</a>&nbsp;label,
the marker is named by that template instead.</p>
<p>The forms understood are:</p>
<ul>
- <li>A plain pair, such as <code spellcheck="false">45.9432, 24.9668</code>.
- This is what Google Maps and OpenStreetMap both give you when you ask for
- the coordinates of a place, and it is also what the <code spellcheck="false">#geolocation</code> attribute
- holds.</li>
- <li>The <code spellcheck="false">geo:</code> link that the map itself offers
- for a place, through the <em>Open location</em> action.</li>
+ <li>A plain pair, such as <code>45.9432, 24.9668</code>. This is what Google
+ Maps and OpenStreetMap both give you when you ask for the coordinates of
+ a place, and it is also what the <code>#geolocation</code> attribute holds.</li>
+ <li>The <code>geo:</code> link that the map itself offers for a place, through
+ the <em>Open location</em> action.</li>
<li>The address of a place on Google Maps or OpenStreetMap, pasted whole.</li>
</ul>
-<p>A pair that is not a place on Earth, such as <code spellcheck="false">1234, 5678</code>,
- is not offered.</p>
+<p>A pair that is not a place on Earth, such as <code>1234, 5678</code>, is
+ not offered.</p>
<h3>Reading the results</h3>
<p>Results are gathered under headings, and each group is ordered by distance
from the middle of the map:</p>
@@ -185,7 +184,7 @@
<h3>Keeping a place as a marker</h3>
<p>Press <em>Add as marker</em> in that panel to keep the place. A child note
is created under the map. It takes the name of the place, as well as the
- icon, which matches the kind of place it is. Its <code spellcheck="false">#geolocation</code> attribute
+ icon, which matches the kind of place it is. Its <code>#geolocation</code> attribute
is already set. The note opens beside the map, so you can edit it straight
away. The temporary pin disappears, because the place is now a marker like
any other.</p>
@@ -213,10 +212,8 @@
<h2>Adding a marker using the map</h2>
<h3>Adding a new note using the plus button</h3>
<ol>
- <li>
- <p>To create a marker, first navigate to the desired point on the map. Then
- press the <em>Add marker</em> button at the center-bottom of the map.</p>
- </li>
+ <li>To create a marker, first navigate to the desired point on the map. Then
+ press the <em>Add marker</em> button at the center-bottom of the map.</li>
<li>
<p>Once pressed, the map will enter in the insert mode, as illustrated by
the notification. Additionally, a preview of the marker will be shown at
@@ -224,10 +221,8 @@
<p>Simply click the point on the map where to place the marker. To cancel,
press either the &nbsp;Escape key or press again the <em>Add marker</em> button.</p>
</li>
- <li>
- <p>Once clicked, the marker will show up on the map and a popup will show
- to the right with the title already selected to be changed.</p>
- </li>
+ <li>Once clicked, the marker will show up on the map and a popup will show
+ to the right with the title already selected to be changed.</li>
</ol>
<h3>Adding a new note using the contextual menu</h3>
<ol>
@@ -291,7 +286,7 @@
keep it as a marker.</li>
</ul>
<h2>How the location of the markers is stored</h2>
-<p>The location of a marker is stored in the <code spellcheck="false">#geolocation</code> attribute
+<p>The location of a marker is stored in the <code>#geolocation</code> attribute
of the child notes:</p>
<p>This value can be added manually if needed. The value of the attribute
is made up of the latitude and longitude separated by a comma.</p>
@@ -311,7 +306,7 @@ class="admonition note">
</aside>
<h2>Interaction with the markers, tracks or shapes</h2>
<ul>
- <li>Hovering over a marker will display a&nbsp;<a class="reference-link" href="#root/_help_lgKX7r3aL30x">Note Tooltip</a>&nbsp;with
+ <li>Hovering over a marker will display a&nbsp;<a class="reference-link" href="#root/_help_lgKX7r3aL30x">[missing note]</a>&nbsp;with
the content of the note it belongs to.
<ul>
<li>Clicking on the note title in the tooltip will navigate to the note in
@@ -342,11 +337,10 @@ class="admonition note">
<li>Button to remove the marker from the map, which can optionally delete
its corresponding note.
<ul>
- <li>Removing a marker without deleting the note will only remove its <code
- spellcheck="false">#geolocation</code> attribute (case in which the coordinates
- have to be manually added back in in order to get the note to show on the
- map again).</li>
- <li>Similarly, removing a shape will remove its <code spellcheck="false">#geoShape</code> attribute.</li>
+ <li>Removing a marker without deleting the note will only remove its <code>#geolocation</code> attribute
+ (case in which the coordinates have to be manually added back in in order
+ to get the note to show on the map again).</li>
+ <li>Similarly, removing a shape will remove its <code>#geoShape</code> attribute.</li>
</ul>
</li>
</ul>
@@ -392,9 +386,9 @@ class="admonition note">
<li>Open the note in a new tab, split or window.</li>
<li>Button to remove the marker from the map, which can optionally delete
its corresponding note. Removing a marker without deleting the note will
- only remove its <code spellcheck="false">#geolocation</code> attribute (case
- in which the coordinates have to be manually added back in in order to
- get the note to show on the map again).</li>
+ only remove its <code>#geolocation</code> attribute (case in which the coordinates
+ have to be manually added back in in order to get the note to show on the
+ map again).</li>
</ol>
</li>
<li>Shapes can also be right-clicked and the menu is similar to markers except
@@ -406,8 +400,8 @@ class="admonition note">
height="321">
</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
- spellcheck="false">#color</code> attribute such as <code spellcheck="false">#color=green</code>.</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>This also applies to tracks and <a href="#root/_help_C2H9HK4BzwG7">shapes</a>.</p>
<aside
class="admonition note">
@@ -418,7 +412,7 @@ class="admonition note">
<p>Searching for the place is usually quicker (see <em>Searching the map</em> above).
The steps below remain useful for a coordinate that is already to hand,
or for a place the search cannot find.</p>
-<p>In a nutshell, create a child note and set the <code spellcheck="false">#geolocation</code> attribute
+<p>In a nutshell, create a child note and set the <code>#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>
@@ -433,9 +427,8 @@ class="admonition note">
</ol>
</li>
<li>In Trilium, create a child note under the map.</li>
- <li>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).</li>
+ <li>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).</li>
</ol>
<h4>Adding from OpenStreetMap</h4>
<p>Similarly to the Google Maps approach:</p>
@@ -444,24 +437,24 @@ class="admonition note">
context menu. Select the <em>Show address</em> item.</li>
<li>The address will be visible in the top-left of the screen, in the place
of the search bar.&nbsp;Select the coordinates and copy them into the clipboard.</li>
- <li>Simply paste the value inside the text box into the <code spellcheck="false">#geolocation</code> attribute
+ <li>Simply paste the value inside the text box into the <code>#geolocation</code> attribute
of a child note of the map and then it should be displayed on the map.</li>
</ol>
<h2>Drawing shapes on the map</h2>
-<p>See the dedicated&nbsp;<a class="reference-link" href="#root/_help_C2H9HK4BzwG7">Drawing shapes</a>&nbsp;page.</p>
+<p>See the dedicated&nbsp;<a class="reference-link" href="#root/_help_C2H9HK4BzwG7">[missing note]</a>&nbsp;page.</p>
<h2>Adding GPS tracks (.gpx)</h2>
<figure class="image">
<img style="aspect-ratio:1566/1155;" src="1_Geo Map_image.png" width="1566"
height="1155">
</figure>
-<p>Trilium can display GPS tracks on the geo map, in the form of <code spellcheck="false">.gpx</code> files.</p>
+<p>Trilium can display GPS tracks on the geo map, in the form of <code>.gpx</code> files.</p>
<p>To add a track, either:</p>
<ol>
- <li>Drag &amp; drop a <code spellcheck="false">.gpx</code> file inside the geo
- map in the note tree.
+ <li>Drag &amp; drop a <code>.gpx</code> file inside the geo map in the note
+ tree.
<ol>
<li>In order for the file to be recognized as a GPS track, it needs to show
- up as <code spellcheck="false">application/gpx+xml</code> in the <em>File type</em> field.</li>
+ up as <code>application/gpx+xml</code> in the <em>File type</em> field.</li>
</ol>
</li>
<li>Press the <em>Add a GPS track from a GPX file</em> which will directly prompt
@@ -470,8 +463,8 @@ class="admonition note">
<p>When going back to the map, the track should now be visible.</p>
<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 spellcheck="false">color</code> of the note. The end marker
- is displayed with a distinct icon.</p>
+ and the <code>color</code> of the note. The end marker is displayed with
+ a distinct icon.</p>
<p>If the track file contains multiple tracks, they will all be displayed
as well as markers. Trilium will also split a single track that happens
to have non-continuous points.</p>
@@ -480,7 +473,7 @@ class="admonition note">
<p>When the track is clicked, the entire route is brought into view, as well
as the right popup will indicate details about the track such as distance,
duration and the elevation map. This information is also displayed when
- clicking the <code spellcheck="false">.gpx</code> note itself.</p>
+ clicking the <code>.gpx</code> note itself.</p>
<p>When clicking on the markers of a track (whether it's the start or stop
builtin markers, or custom markers that are part of the track), only that
marker is brought into view, as opposed to the entire route.</p>
@@ -496,14 +489,14 @@ class="admonition note">
a place and copy its coordinates.</li>
<li>Drawing <a href="#root/_help_C2H9HK4BzwG7">shapes</a>.</li>
</ul>
-<p>To set a map as read-only, go to&nbsp;<a class="reference-link" href="#root/_help_8YBEPzcpUgxw">Note buttons</a>&nbsp;→ <em>Editable</em> → <em>Read-only</em> (on
+<p>To set a map as read-only, go to&nbsp;<a class="reference-link" href="#root/_help_8YBEPzcpUgxw">[missing note]</a>&nbsp;→ <em>Editable</em> → <em>Read-only</em> (on
the new layout, or in Basic Properties on the&nbsp;<a class="reference-link"
href="#root/_help_BlN9DFI679QC">Ribbon</a>&nbsp;for the old layout).</p>
<h2>Configuration</h2>
<h3>Map Style</h3>
<p>The styling of the map can be adjusted in the&nbsp;<a class="reference-link"
href="#root/_help_CssoWBu8I7jF">Collection Properties</a>&nbsp;or manually
- via the <code spellcheck="false">#map:style</code> attribute.</p>
+ via the <code>#map:style</code> attribute.</p>
<p>The geo map comes with two different types of styles:</p>
<ul>
<li>Raster styles
@@ -541,21 +534,21 @@ class="admonition note">
<aside
class="admonition note">
<p>To get 3D buildings, make sure you are using the <em>VersaTiles</em> styles
- which provide the building informatia via the <code spellcheck="false">versatiles-shortbread</code> source.</p>
+ which provide the building informatia via the <code>versatiles-shortbread</code> source.</p>
</aside>
<h3>Custom map style / tiles</h3>
<p>Starting with v0.102.0 it is possible to use custom tile sets, but only
in raster format.</p>
-<p>To do so, manually set the <code spellcheck="false">#map:style</code> <a
- href="#root/_help_HI6GBBIduIgv">label</a> to the URL of the tile set. For
- example, to use Esri.NatGeoWorldMap, set the value to <a href="https://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer/tile/%7Bz%7D/%7By%7D/%7Bx%7D."><code spellcheck="false">https://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer/tile/{z}/{y}/{x}</code>.</a>
+<p>To do so, manually set the <code>#map:style</code> <a href="#root/_help_HI6GBBIduIgv">label</a> to
+ the URL of the tile set. For example, to use Esri.NatGeoWorldMap, set the
+ value to <a href="https://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer/tile/%7Bz%7D/%7By%7D/%7Bx%7D."><code>https://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer/tile/{z}/{y}/{x}</code>.</a>
</p>
<p>Additionally:</p>
<ul>
- <li>Hi-DPI tiles are supported via the <code spellcheck="false">{r}</code> placeholder.</li>
+ <li>Hi-DPI tiles are supported via the <code>{r}</code> placeholder.</li>
<li>To mark the custom style as dark (which affects the styling of the UI),
- apply the <code spellcheck="false">map:darkStyle</code> label. This attribute
- also overrides builtin themes.</li>
+ apply the <code>map:darkStyle</code> label. This attribute also overrides
+ builtin themes.</li>
</ul>
<aside class="admonition note">
<p>For a list of tile sets, see the <a href="https://leaflet-extras.github.io/leaflet-providers/preview/">Leaflet Providers preview</a> page.
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Geo Map/Drawing shapes.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Geo Map/Drawing shapes.html
index cea2336f07..8477f45a78 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Geo Map/Drawing shapes.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Geo Map/Drawing shapes.html
@@ -36,23 +36,17 @@
<h2>Interaction</h2>
<p>Once a shape is created:</p>
<ul>
- <li>
- <p>Clicking a shape opens the standard panel which allows changing the title,
- the content and with buttons to open the note or remove it.</p>
+ <li>Clicking a shape opens the standard panel which allows changing the title,
+ the content and with buttons to open the note or remove it.
<ul>
<li>When clicking, a marker takes priority over the shape.</li>
</ul>
</li>
- <li>
- <p>Right-clicking a shape opens a contextual menu similar to the one for
- markers, which allows opening the corresponding note or removing the shape.</p>
- </li>
- <li>
- <p>Typing in the map's search bar finds shapes by their title, as it does
- markers. Selecting one brings the whole shape into view.</p>
- </li>
+ <li>Right-clicking a shape opens a contextual menu similar to the one for
+ markers, which allows opening the corresponding note or removing the shape.</li>
+ <li>Typing in the map's search bar finds shapes by their title, as it does
+ markers. Selecting one brings the whole shape into view.</li>
</ul>
<h2>How shapes are represented</h2>
<p>Shapes are represented quite similarly to markers, which means each shape
- is a note. The information about the same is stored using a <a href="#root/_help_HI6GBBIduIgv">label</a> called <code
- spellcheck="false">geoShape</code>.</p>
\ No newline at end of file
+ is a note. The information about the same is stored using a <a href="#root/_help_HI6GBBIduIgv">label</a> called <code>geoShape</code>.</p>
\ No newline at end of file
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 aa7df486c3..43467d2429 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
@@ -11,8 +11,8 @@
look for <em>Kanban Board</em>.</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 spellcheck="false">#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>#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
@@ -44,7 +44,7 @@
<ul>
<li>Enter the name of the note and press Enter or click away. To dismiss the
creation of a new note, simply press Escape or leave the name empty.</li>
- <li>Once created, the new note will have an attribute (<code spellcheck="false">status</code> label
+ <li>Once created, the new note will have an attribute (<code>status</code> label
by default) set to the name of the column.</li>
</ul>
</li>
@@ -130,10 +130,10 @@
target note title and icon.</li>
</ul>
<h3>Grouping by another label</h3>
-<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>
+<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>
<h3>Grouping by relations</h3>
<figure class="image image-style-align-right">
<img style="aspect-ratio:535/245;" src="1_Kanban Board_image.png" width="535"
@@ -163,13 +163,11 @@
<p>First, create a Kanban board from scratch and not a template:</p>
</li>
<li>
- <p>Assign <code spellcheck="false">#viewType=board #hidePromotedAttributes</code> to
- emulate the default template.</p>
+ <p>Assign <code>#viewType=board #hidePromotedAttributes</code> to emulate the
+ default template.</p>
</li>
<li>
- <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>
+ <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>
</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 0747917276..45d0a56719 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
@@ -49,8 +49,7 @@
<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 spellcheck="false">#expanded=100</code> to expand up to
- 100 levels of depth.</p>
+ For example: <code>#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 07896f676f..411ac99c0b 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
@@ -97,11 +97,10 @@
<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 spellcheck="false">#slide:background</code> to
- a hex color.</li>
+ color or manually setting <code>#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 spellcheck="false">#slide:background</code> to
- a CSS gradient definition such as: <code spellcheck="false">linear-gradient(to bottom, #283b95, #17b2c3)</code>.</li>
+ 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>
</ul>
<h2>Tips and tricks</h2>
<ul>
@@ -119,7 +118,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 spellcheck="false">transparent</code>).</p>
+ a custom color and write <code>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 ac4e06ab2a..eba0da48e0 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,14 +20,14 @@
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 spellcheck="false">name</code>,
+ <li>If there are multiple attribute definitions with the same <code>name</code>,
only one will be displayed.</li>
<li>If an attribute definition has multiple values, they will all be grouped
under a single column, with chips indicating individual values.</li>
</ul>
<p>There are also a few predefined columns:</p>
<ul>
- <li>The current item number, identified by the <code spellcheck="false">#</code> symbol.
+ <li>The current item number, identified by the <code>#</code> symbol.
<ul>
<li>This simply counts the note and is affected by sorting.</li>
</ul>
@@ -141,8 +141,7 @@
href="#root/_help_oPVyFC7WL2Lp">Note Tree</a>.</p>
<p>Reordering does have some limitations:</p>
<ul>
- <li>If the parent note has <code spellcheck="false">#sorted</code>, reordering
- will be disabled.</li>
+ <li>If the parent note has <code>#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>
@@ -165,8 +164,7 @@
<li>To re-enable unlimited nesting, remove the number and press Enter.</li>
</ul>
</li>
- <li>Manually set <code spellcheck="false">maxNestingDepth</code> to the desired
- value.</li>
+ <li>Manually set <code>maxNestingDepth</code> to the desired value.</li>
</ul>
<p>Limitations:</p>
<ul>
@@ -179,7 +177,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 spellcheck="false">#viewType=table</code> attribute.</p>
+ adding the <code>#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 a929e673cb..d2879d4875 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
@@ -43,13 +43,13 @@
instance of a <a href="#root/_help_wX4HbRucYSDD">database</a>. However,
you can run two Trilium processes (from one installation), each connected
to a separate document. To achieve this, you need to set a location for
- the <a 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>
-<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>
+ the <a href="#root/_help_tAassRL4RSQL">data directory</a> in the <code>TRILIUM_DATA_DIR</code> environment
+ variable and separate port on <code>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>
+<p>You can save this command into a <code>.sh</code> script file or make an
+ alias. Do this similarly for a second instance with different data directory
+ and port.</p>
<h2>Can I use Dropbox / Google Drive / OneDrive to sync data across multiple computers.</h2>
<p>No.</p>
<p>These general purpose sync apps are not suitable to sync database files
@@ -89,17 +89,17 @@
<h3>Why does search sometimes find results with typos?</h3>
<p>Trilium uses a progressive search strategy that includes fuzzy matching
when exact matches return fewer than 5 results. This finds notes despite
- minor typos in your search query. You can use fuzzy search operators (<code
- spellcheck="false">~=</code> for fuzzy exact match and <code spellcheck="false">~*</code> for
- fuzzy contains). See the&nbsp;<a class="reference-link" href="#root/_help_eIg8jdvaoNNd">Search</a>&nbsp;documentation
+ minor typos in your search query. You can use fuzzy search operators (<code>~=</code> for
+ fuzzy exact match and <code>~*</code> for fuzzy contains). See the&nbsp;<a
+ class="reference-link" href="#root/_help_eIg8jdvaoNNd">Search</a>&nbsp;documentation
for details.</p>
<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><code spellcheck="false">#title ~= "projct"</code> - finds notes with titles
- like "project" despite the typo</li>
- <li><code spellcheck="false">note.content ~* "algoritm"</code> - finds content
- containing "algorithm" or similar words</li>
+ <li><code>#title ~= "projct"</code> - finds notes with titles like "project"
+ despite the typo</li>
+ <li><code>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>
<p>Trilium places exact matches before fuzzy matches. When you search for
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 07ad596367..d5e02966ab 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,8 +9,7 @@
</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 spellcheck="false">backup</code> directory placed in
- the <a href="#root/_help_tAassRL4RSQL">data directory</a>.</p>
+ by default in <code>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
@@ -78,20 +77,17 @@
- easy 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 spellcheck="false">~/trilium-data</code> as data directory
- from now on</li>
+ <li>I'll refer to <code>~/trilium-data</code> as data directory from now on</li>
</ul>
</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>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>at this point stop/kill Trilium</li>
- <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
+ <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 spellcheck="false">~/trilium-data/backup/backup-weekly.db</code> to <code
- spellcheck="false">~/trilium-data/document.db</code>
+ <li>copy and rename this <code>~/trilium-data/backup/backup-weekly.db</code> to <code>~/trilium-data/document.db</code>
</li>
- <li>make sure that the file is writable, e.g. with <code spellcheck="false">chmod 600 document.db</code>
+ <li>make sure that the file is writable, e.g. with <code>chmod 600 document.db</code>
</li>
<li>start Trilium again</li>
</ul>
@@ -170,12 +166,11 @@ class="admonition note">
<p>To enable compression for new automatic and manual backups, navigate to <strong>Settings → Backup → Backup Options</strong> and
toggle <strong>Enable Compression</strong> to on.</p>
<h2>Disabling backup</h2>
-<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]
+<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]
... 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 spellcheck="false">config.ini</code> values as environment
- variables instead.</p>
+ to provide all <code>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 18e90ec5df..8329240654 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 spellcheck="false">document.db</code> - <a href="#root/_help_wX4HbRucYSDD">database</a>
+ <li><code>document.db</code> - <a href="#root/_help_wX4HbRucYSDD">database</a>
</li>
- <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
+ <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
documents</li>
- <li><code spellcheck="false">log</code> - contains application log files</li>
+ <li><code>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,14 +15,12 @@
<img src="Data directory_image.png">
</p>
<p>Here's how the location is decided:</p>
-<p>Data directory is normally named <code spellcheck="false">trilium-data</code> and
- it is stored in:</p>
+<p>Data directory is normally named <code>trilium-data</code> and it is stored
+ in:</p>
<ul>
- <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><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>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>
@@ -30,7 +28,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 spellcheck="false">TRILIUM_DATA_DIR</code> environment
+ default one, you may change it via <code>TRILIUM_DATA_DIR</code> environment
variable to some other location:</p>
<h3>Windows</h3>
<ol>
@@ -39,17 +37,16 @@
<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 spellcheck="false">TRILIUM_DATA_DIR</code>.</li>
+ <li>In the <em>Variable name</em> field insert <code>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 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>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>
<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
@@ -66,21 +63,18 @@
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 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>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>You can then save the above command as a shell script on your path for
convenience.</p>
<h2>Electron user data directory (desktop only)</h2>
<p>When running the desktop application, Electron stores internal data (caches,
spell-check dictionaries, session storage, etc.) separately from the Trilium
data directory. By default this goes to the system's application data folder
- (e.g. <code spellcheck="false">%APPDATA%</code> on Windows), which may be
- undesirable in corporate environments with roaming profiles or when running
- in portable mode.</p>
-<p>To keep Electron data out of the system's roaming profile, set the <code
- spellcheck="false">TRILIUM_ELECTRON_DATA_DIR</code> environment variable
- to an explicit path. The <code spellcheck="false">trilium-portable</code> script
- does this automatically, pointing it to <code spellcheck="false">trilium-electron-data/</code> next
+ (e.g. <code>%APPDATA%</code> on Windows), which may be undesirable in corporate
+ environments with roaming profiles or when running in portable mode.</p>
+<p>To keep Electron data out of the system's roaming profile, set the <code>TRILIUM_ELECTRON_DATA_DIR</code> environment
+ variable to an explicit path. The <code>trilium-portable</code> script does
+ this automatically, pointing it to <code>trilium-electron-data/</code> next
to the application.</p>
<h2>Fine-grained directory/path location</h2>
<p>Apart from the data directory, some of the subdirectories of it can be
@@ -96,54 +90,54 @@
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">TRILIUM_DOCUMENT_PATH</code>
+ <td><code>TRILIUM_DOCUMENT_PATH</code>
</td>
- <td><code spellcheck="false">${TRILIUM_DATA_DIR}/document.db</code>
+ <td><code>${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 spellcheck="false">TRILIUM_BACKUP_DIR</code>
+ <td><code>TRILIUM_BACKUP_DIR</code>
</td>
- <td><code spellcheck="false">${TRILIUM_DATA_DIR}/backup</code>
+ <td><code>${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 spellcheck="false">TRILIUM_LOG_DIR</code>
+ <td><code>TRILIUM_LOG_DIR</code>
</td>
- <td><code spellcheck="false">${TRILIUM_DATA_DIR}/log</code>
+ <td><code>${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 spellcheck="false">TRILIUM_TMP_DIR</code>
+ <td><code>TRILIUM_TMP_DIR</code>
</td>
- <td><code spellcheck="false">${TRILIUM_DATA_DIR}/tmp</code>
+ <td><code>${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 spellcheck="false">TRILIUM_ANONYMIZED_DB_DIR</code>
+ <td><code>TRILIUM_ANONYMIZED_DB_DIR</code>
</td>
- <td><code spellcheck="false">${TRILIUM_DATA_DIR}/anonymized-db</code>
+ <td><code>${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 spellcheck="false">TRILIUM_CONFIG_INI_PATH</code>
+ <td><code>TRILIUM_CONFIG_INI_PATH</code>
</td>
- <td><code spellcheck="false">${TRILIUM_DATA_DIR}/config.ini</code>
+ <td><code>${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>
<tr>
- <td><code spellcheck="false">TRILIUM_ELECTRON_DATA_DIR</code>
+ <td><code>TRILIUM_ELECTRON_DATA_DIR</code>
</td>
<td>System appData</td>
<td>Directory for Electron internal data (caches, spell-check dictionaries,
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 0c540e2b81..78a2d8fabb 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,29 +5,27 @@
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
- spellcheck="false">trilium</code> executable found within the unzipped folder.</li>
+ <li><strong>Run the Application</strong>: Launch Trilium by executing the <code>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 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.
+ <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 spellcheck="false">NODE_TLS_REJECT_UNAUTHORIZED=0</code> environment
+ <li>Alternatively, set the <code>NODE_TLS_REJECT_UNAUTHORIZED=0</code> environment
variable before starting Trilium.</li>
</ul>
</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. Electron's internal data (caches, dictionaries, etc.) is
- also stored within the data directory, so no files are written to the system's
- roaming profile.</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>
+ <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. Electron's
+ internal data (caches, dictionaries, etc.) is also stored within the data
+ directory, so no files are written to the system's roaming profile.</li>
+ <li><code>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/Network Access.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation/Network Access.html
index 69a788fdbd..2ddfc9aa38 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation/Network Access.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation/Network Access.html
@@ -3,8 +3,8 @@
href="#root/_help_pgxEVkzLl1OP">ETAPI (REST API)</a>&nbsp;or even use it
as a web server (see&nbsp;<a class="reference-link" href="#root/_help_nRqcgfTb97uV">Using the desktop application as a server</a>).</p>
<p>In order to reduce the attack surface, Trilium now enables these services
- only for the local device (e.g. <code spellcheck="false">localhost</code>)
- instead of serving them over the LAN.</p>
+ only for the local device (e.g. <code>localhost</code>) instead of serving
+ them over the LAN.</p>
<p>To better understand what is affected, refer to the following table:</p>
<figure
class="table">
@@ -20,33 +20,33 @@ class="table">
<tr>
<td><a class="reference-link" href="#root/_help_MtPxeAWVAzMg">Web Clipper</a>
</td>
- <td>🔒️ <code spellcheck="false">localhost</code> only (still accessible to
- the browser extension on the same device)</td>
- <td>🌐 <code spellcheck="false">localhost</code> + LAN</td>
+ <td>🔒️ <code>localhost</code> only (still accessible to the browser extension
+ on the same device)</td>
+ <td>🌐 <code>localhost</code> + LAN</td>
</tr>
<tr>
<td><a class="reference-link" href="#root/_help_pgxEVkzLl1OP">ETAPI (REST API)</a>
</td>
- <td>🔒️ <code spellcheck="false">localhost</code> only</td>
- <td>🌐 <code spellcheck="false">localhost</code> + LAN</td>
+ <td>🔒️ <code>localhost</code> only</td>
+ <td>🌐 <code>localhost</code> + LAN</td>
</tr>
<tr>
<td><a href="#root/_help_GBBMSlVSOIGP">LLM MCP</a> (only if enabled in settings)</td>
- <td>🔒️ <code spellcheck="false">localhost</code> only (needs auth)</td>
- <td>🌐 <code spellcheck="false">localhost</code> + LAN (needs auth)</td>
+ <td>🔒️ <code>localhost</code> only (needs auth)</td>
+ <td>🌐 <code>localhost</code> + LAN (needs auth)</td>
</tr>
<tr>
<td><a href="#root/_help_nRqcgfTb97uV">Web app</a>
</td>
<td>❌️ completely disabled (403), only the desktop app is usable.</td>
- <td>🌐 <code spellcheck="false">localhost</code> + LAN</td>
+ <td>🌐 <code>localhost</code> + LAN</td>
</tr>
<tr>
<td><a class="reference-link" href="#root/_help_R9pX4DGra2Vt">Sharing</a>&nbsp;notes</td>
<td>❌️ completely disabled (403), if you are using&nbsp;<a class="reference-link"
href="#root/_help_cbkrhQjrkKrh">Synchronization</a>&nbsp;this will still
work as part of the <a href="#root/_help_WOcw2SLH6tbX">server</a>.</td>
- <td>🌐 <code spellcheck="false">localhost</code> + LAN</td>
+ <td>🌐 <code>localhost</code> + LAN</td>
</tr>
</tbody>
</table>
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 a8aa730a56..6436cfbe85 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,16 +5,15 @@
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 spellcheck="false">nix run github:TriliumNext/Trilium/v0.95.0</code>
+ the desktop app can be started as: <code>nix run github:TriliumNext/Trilium/v0.95.0</code>
</p>
-<p>Running the server requires explicitly specifying the desired package: <code
- spellcheck="false">nix run github:TriliumNext/Trilium/v0.95.0#server</code>
+<p>Running the server requires explicitly specifying the desired package: <code>nix run github:TriliumNext/Trilium/v0.95.0#server</code>
</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>
+<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>
<h2>Install on NixOS</h2>
-<p>Add to your <code spellcheck="false">flake.nix</code>:</p><pre><code class="language-text-x-trilium-auto">{
+<p>Add to your <code>flake.nix</code>:</p><pre><code class="language-text-x-trilium-auto">{
inputs = {
nixpkgs.url = # ...;
trilium-notes = {
@@ -47,7 +46,7 @@
};
}
</code></pre>
-<p>Add to your <code spellcheck="false">configuration.nix</code>:</p><pre><code class="language-text-x-trilium-auto">{
+<p>Add to your <code>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 1cff099fae..f2f8126d5f 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 spellcheck="false">aarch64</code> (no ARM v7 support).</li>
+ <li>ARM is supported in <code>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/Troubleshooting.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation/Troubleshooting.html
index 1bf4f58625..a06ca313af 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation/Troubleshooting.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation/Troubleshooting.html
@@ -6,10 +6,10 @@
<p>To bypass this, try running Trilium with the following command line argument:</p><pre><code class="language-text-x-trilium-auto">trilium --disable-gpu</code></pre>
<p>If that doesn't work, try the following commands as well:</p>
<ul>
- <li><code spellcheck="false">trilium --disable-gpu-compositing</code>
+ <li><code>trilium --disable-gpu-compositing</code>
</li>
- <li><code spellcheck="false">ELECTRON_OZONE_PLATFORM_HINT=x11 trilium</code> (this
- one forces the rendering to X11 on Wayland)</li>
+ <li><code>ELECTRON_OZONE_PLATFORM_HINT=x11 trilium</code> (this one forces
+ the rendering to X11 on Wayland)</li>
</ul>
<p>If Trilium renders fine after this, Trilium offers a built-in option to
disable GPU acceleration: go to&nbsp;<a class="reference-link" href="#root/_help_4TIF1oA4VQRO">Options</a>&nbsp;→ <em>Appearance</em>,
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation/Using the desktop application as a server.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation/Using the desktop application as a server.html
index a13bb4ed48..b2c191d600 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation/Using the desktop application as a server.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation/Using the desktop application as a server.html
@@ -19,8 +19,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 spellcheck="false">ipconfig</code> in
- your local terminal. Then try accessing <code spellcheck="false">http://&lt;ip&gt;:37840/login</code> on
+<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
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>
@@ -30,15 +30,15 @@ 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 spellcheck="false">37840</code> in the “Specific local ports”
- section and then press “Next”.</li>
+ <li>Type in <code>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>
<li>Add an appropriate name to the rule (e.g. “Trilium Notes”) and press “Finish”.</li>
</ol>
<aside class="admonition warning">
- <p>Since v0.104.0, the port used by Trilium is accessible only on <code spellcheck="false">localhost</code>.
+ <p>Since v0.104.0, the port used by Trilium is accessible only on <code>localhost</code>.
To enable across the local network, see&nbsp;<a class="reference-link"
href="#root/_help_swSFivWk6KkA">Network Access</a>.</p>
</aside>
\ No newline at end of file
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 80515de7ac..fee4c76c1f 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
@@ -119,17 +119,16 @@
<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 spellcheck="false">http://&lt;ip&gt;:37840/login?mobile</code> .</p>
+ To access it go to <code>http://&lt;ip&gt;:37840/login?mobile</code> .</p>
<h2>Forcing mobile/desktop frontend</h2>
<p>Trilium decides automatically whether to use mobile or desktop front-end.
- 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>
+ 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>
<p>Alternatively, simply select <em>Switch to Mobile/Desktop Version</em> in
the&nbsp;<a class="reference-link" href="#root/_help_x3i7MxGccDuM">Global menu</a>.</p>
<h2>Scripting</h2>
<p>You can alter the behavior with&nbsp;<a class="reference-link" href="#root/_help_CdNpE2pqjmI6">Scripting</a>,
just like for normal frontend. For script notes to be executed, they need
- to have labeled <code spellcheck="false">#run=mobileStartup</code>.</p>
+ to have labeled <code>#run=mobileStartup</code>.</p>
<p>Custom&nbsp;<a class="reference-link" href="#root/_help_xYmIYSP6wE3F">Launch Bar</a>&nbsp;widgets
are also supported.</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 0218436b8a..400e342aec 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,26 +26,25 @@
<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 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>
+ 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>
<p>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>
+ to provide all <code>config.ini</code> values as environment variables instead.</p>
<h3>Config Location</h3>
-<p>By default, <code spellcheck="false">config.ini</code>, the <a href="#root/_help_wX4HbRucYSDD">database</a>,
+<p>By default, <code>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
- 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>
+ 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>
<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 spellcheck="false">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>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;
@@ -53,7 +52,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 spellcheck="false">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>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 e5cb612428..b6d20457d3 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
@@ -19,8 +19,7 @@
<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
- 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>
+<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>
<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 dd77bad591..de3dce9111 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 @@
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 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>
+ <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>
</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 4955dda602..b965f62fc6 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 spellcheck="false">configuration.nix</code>:</p><pre><code class="language-text-x-trilium-auto">services.trilium-server.enable = true;
+<p>Add this to your <code>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 99256137ef..52566a4a00 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,15 +3,14 @@
<h2>Steps</h2>
<ul>
<li>SSH into your server</li>
- <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
+ <li>use <code>wget</code> (or <code>curl</code>) to download latest <code>TriliumNotes-Server-[VERSION]-linux-x64.tar.xz</code> (copy
link from <a href="https://github.com/TriliumNext/Trilium/releases">release page</a>,
- 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>
+ 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>
</li>
- <li><code spellcheck="false">cd trilium-linux-x64-server</code>
+ <li><code>cd trilium-linux-x64-server</code>
</li>
- <li><code spellcheck="false">./trilium.sh</code>
+ <li><code>./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>
@@ -19,10 +18,9 @@
<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
- 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>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>Configure systemd to automatically run Trilium in the background on every
boot</li>
</ul>
@@ -64,7 +62,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 spellcheck="false">apt install jq</code>
+<p>requires "jq" <code>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 3646bb13f9..a67fc288a6 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
@@ -10,23 +10,22 @@
<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 spellcheck="false">nobrl</code> and <code spellcheck="false">noperm</code> when
- mounting your SMB share.</p>
+ add the mount options of <code>nobrl</code> and <code>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 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>
+<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>
<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 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>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><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,27 +38,26 @@
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 spellcheck="false">docker ps</code>.</li>
- <li>Access Trilium via a web browser at <code spellcheck="false">127.0.0.1:8080</code>.</li>
+ <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>
</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 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
+ 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
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 spellcheck="false">docker stop &lt;CONTAINER ID&gt;</code>,
- where the container ID is obtained from <code spellcheck="false">docker ps</code>.</p>
+<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>
<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 spellcheck="false">-v ~/YourOwnDirectory:/home/node/trilium-data triliumnext/trilium:&lt;VERSION&gt;</code>.
+ volume switch as follows: <code>-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
@@ -72,24 +70,21 @@ docker inspect [container_name]</code></pre>
</li>
</ol>
<h3>Note on --user Directive</h3>
-<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
+<p>The <code>--user</code> directive is unsupported. Instead, use the <code>USER_UID</code> and <code>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 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
+ 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
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 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>
+ <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>
</aside>
<p>If you would prefer to run Trilium without having to run the Docker container
- 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>
+ 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>
<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
@@ -105,11 +100,10 @@ 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 spellcheck="false">trilium</code>) during
- build time</li>
+ <li>Creates a non-root user (<code>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 spellcheck="false">--user</code> flag</li>
- <li>Does not require a separate Docker <code spellcheck="false">entrypoint</code> script</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>
</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)
@@ -132,12 +126,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 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>
+ <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>
</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>
@@ -146,8 +140,8 @@ 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 spellcheck="false">TRILIUM_UID</code> and <code
- spellcheck="false">TRILIUM_GID</code> to match the owner of the host directory</li>
+ <li>You're setting both <code>TRILIUM_UID</code> and <code>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>
@@ -156,7 +150,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 spellcheck="false">usermod</code>/<code spellcheck="false">groupmod</code> commands</li>
+ script with <code>usermod</code>/<code>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>
@@ -166,7 +160,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 spellcheck="false">apps/server/Dockerfile.rootless</code>
+ <li>Dockerfile: <code>apps/server/Dockerfile.rootless</code>
</li>
<li>Recommended for most users</li>
</ul>
@@ -174,7 +168,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 spellcheck="false">apps/server/Dockerfile.alpine.rootless</code>
+ <li>Dockerfile: <code>apps/server/Dockerfile.alpine.rootless</code>
</li>
<li>Smaller image size, but may have compatibility issues with some systems</li>
</ul>
@@ -191,10 +185,7 @@ docker build --build-arg USER=myuser --build-arg UID=1001 --build-arg GID=1001 \
</code></pre>
<p>Available build arguments:</p>
<ul>
- <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>
+ <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>
</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 a79248fabe..40625593b3 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,18 +5,17 @@
<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 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>
+ 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>
</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 spellcheck="false">USER_UID</code> &amp; <code spellcheck="false">USER_GID</code> environment
+ please use the <code>USER_UID</code> &amp; <code>USER_GID</code> environment
variables.</p>
-<p>The docker image will also fix the permissions of <code spellcheck="false">/home/node</code> so
+<p>The docker image will also fix the permissions of <code>/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 +26,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 spellcheck="false">values.yaml</code></a> from
+<p>After reviewing the <a href="https://github.com/TriliumNext/helm-charts/blob/main/charts/trilium/values.yaml"><code>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.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy.html
index f81f223af8..564a61596b 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy.html
@@ -18,8 +18,7 @@
<p>Regardless of the proxy you choose, make sure of the following:</p>
<ul>
<li><strong>Forward the WebSocket upgrade.</strong> Trilium uses a WebSocket
- for synchronization and live UI updates. Your proxy must pass the <code
- spellcheck="false">Upgrade</code> and <code spellcheck="false">Connection</code> headers
+ for synchronization and live UI updates. Your proxy must pass the <code>Upgrade</code> and <code>Connection</code> headers
through, otherwise the client will appear to load but never receive updates.</li>
<li><strong>Configure the trusted proxy.</strong> So that Trilium sees the
real client IP (for rate limiting, logging, and secure cookies) rather
@@ -49,11 +48,11 @@ error: Unexpected token '&lt;', "&lt;!doctype "... is not valid JSON
you must keep auth at the proxy, exclude these paths from the forward-auth
check:
<ul>
- <li><code spellcheck="false">/api/setup/*</code>
+ <li><code>/api/setup/*</code>
</li>
- <li><code spellcheck="false">/api/login/sync</code>
+ <li><code>/api/login/sync</code>
</li>
- <li><code spellcheck="false">/api/sync/*</code>
+ <li><code>/api/sync/*</code>
</li>
</ul>
</li>
@@ -64,8 +63,7 @@ error: Unexpected token '&lt;', "&lt;!doctype "... is not valid JSON
setup seed request is password-protected — so exempting them at the proxy
does not expose unauthenticated access to your data.</p>
</aside>
-<p>An example for Nginx, where <code spellcheck="false">/auth</code> is your
- forward-auth endpoint:</p><pre><code class="language-text-x-trilium-auto">server {
+<p>An example for Nginx, where <code>/auth</code> is your forward-auth endpoint:</p><pre><code class="language-text-x-trilium-auto">server {
# ... TLS, server_name, etc. ...
# Sync and setup endpoints authenticate themselves — skip forward-auth.
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 58f5f67550..a3a9db1676 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 spellcheck="false">trilium.yourdomain.com</code> that
+<p>This tutorial assumes that you have created a DNS A record for <code>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 spellcheck="false">apachectl -S</code> to
+ <p>Create a new virtual host file for apache (you may want to use <code>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 spellcheck="false">sudo a2ensite trilium.yourdomain.com.conf</code>
+ <p>Enable the virtual host with <code>sudo a2ensite trilium.yourdomain.com.conf</code>
</p>
</li>
<li>
- <p>Reload apache2 with <code spellcheck="false">sudo systemctl reload apache2</code>
+ <p>Reload apache2 with <code>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 spellcheck="false">/lib/systemd/system/trilium.service</code> with
+ <p>Create a new empty file called <code>/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 c8a4cee60d..3ea96af027 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,11 +55,9 @@ 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 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>
+ 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>
</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 35b49e10c2..7ffb71c09e 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 spellcheck="false">search/%23workspace%20%23!template</code>)
+ URLs used by Trilium (such as <code>search/%23workspace%20%23!template</code>)
are automatically rejected by Traefik, resulting in HTTP 400 errors.</p>
<p>The easiest solution is to update to Traefik 3.6.7 or later which reverts
this configuration change. Alternatively, the configuration can be changed
@@ -42,7 +42,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 spellcheck="false">docker-compose.yaml</code></h3><pre><code class="language-text-x-yaml">services:
+<h3>Example <code>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 d18e9fadcb..e477571ac7 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 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>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>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 b97049e80e..55a085b4bb 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 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]
+<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]
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
@@ -11,9 +11,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 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]
+ 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]
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/Authentication/Resetting your password.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/Authentication/Resetting your password.html
index c9a6df962d..88e7bfe464 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/Authentication/Resetting your password.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/Authentication/Resetting your password.html
@@ -22,7 +22,7 @@
<ol>
<li>
<p>Access the <a href="#root/_help_wX4HbRucYSDD">database</a> file in the <a
- href="#root/_help_tAassRL4RSQL">data directory</a>. Open the <code spellcheck="false">document.db</code> file
+ 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>).</p>
</li>
<li>
@@ -32,8 +32,7 @@ UPDATE options SET value = 'Eb8af1/T57b89lCRuS97tPEl4CwxsAWAU7YNJ77oY+s=' WHERE
UPDATE options SET value = 'QpC8XoiYYeqHPtHKRtbNxfTHsk+pEBqVBODYp0FkPBa22tlBBKBMigdLu5GNX8Uu' WHERE name = 'encryptedDataKey';</code></pre>
</li>
<li>
- <p>After executing the changes, commit/write the changes. <strong>This sets the password to</strong> <code
- spellcheck="false">**password**</code><strong>, allowing you to log in again.</strong>
+ <p>After executing the changes, commit/write the changes. <strong>This sets the password to</strong> <code>**password**</code><strong>, allowing you to log in again.</strong>
</p>
</li>
<li>
@@ -46,5 +45,5 @@ UPDATE options SET value = 'QpC8XoiYYeqHPtHKRtbNxfTHsk+pEBqVBODYp0FkPBa22tlBBKBM
to the fact that they are encrypted with your password so there is no way
for Trilium to recover them.</p>
<p>For pre-existing protected notes (now unrecoverable), consider deleting
- them or exporting the unprotected notes. Then, delete <code spellcheck="false">document.db</code> and
+ them or exporting the unprotected notes. Then, delete <code>document.db</code> and
start fresh.</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/HTTPS (TLS).html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/HTTPS (TLS).html
index 33143f8ac9..f28b4da7ec 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 spellcheck="false">config.ini</code></h2>
-<p>Once you have your certificate, modify the <code spellcheck="false">config.ini</code> file
+<h2>Modifying <code>config.ini</code></h2>
+<p>Once you have your certificate, modify the <code>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,24 +30,23 @@ 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 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
+ 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
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 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>
+ 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>
<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 spellcheck="false">trilium-no-cert-check.bat</code> for
+<p>Trilium provides scripts to start in this mode, such as <code>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/Signing in with OpenID Connect.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/Signing in with OpenID Connect.html
index a9b7af0090..414bf0cf2d 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/Signing in with OpenID Connect.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/Signing in with OpenID Connect.html
@@ -20,7 +20,7 @@
configured properly. See&nbsp;<a class="reference-link" href="#root/_help_IgkTHSaFfq6A">Setting up with various providers</a>&nbsp;for
concrete examples.</p>
<ol>
- <li>The redirect URL of Trilium is <code spellcheck="false">https://&lt;your-trilium-domain&gt;/callback</code>.</li>
+ <li>The redirect URL of Trilium is <code>https://&lt;your-trilium-domain&gt;/callback</code>.</li>
<li>You should obtain the base URL, client ID and client secret.</li>
</ol>
</li>
@@ -32,7 +32,7 @@
<thead>
<tr>
<th>Configuration</th>
- <th><code spellcheck="false">config.ini</code> in <code spellcheck="false">[MultiFactorAuthentication]</code> section</th>
+ <th><code>config.ini</code> in <code>[MultiFactorAuthentication]</code> section</th>
<th>Environment variable</th>
<th>Description</th>
</tr>
@@ -40,50 +40,47 @@
<tbody>
<tr>
<td>Base URL*</td>
- <td><code spellcheck="false">oauthBaseUrl</code>
+ <td><code>oauthBaseUrl</code>
</td>
- <td><code spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHBASEURL</code>
+ <td><code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHBASEURL</code>
</td>
- <td>The URL of your Trilium instance (e.g. <code spellcheck="false">https://example.com</code>).</td>
+ <td>The URL of your Trilium instance (e.g. <code>https://example.com</code>).</td>
</tr>
<tr>
<td>Client ID*</td>
- <td><code spellcheck="false">oauthClientId</code>
+ <td><code>oauthClientId</code>
</td>
- <td><code spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHCLIENTID</code>
+ <td><code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHCLIENTID</code>
</td>
<td>The client ID from your provider configuration.</td>
</tr>
<tr>
<td>Client Secret*</td>
- <td><code spellcheck="false">oauthClientSecret</code>
+ <td><code>oauthClientSecret</code>
</td>
- <td><code spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHCLIENTSECRET</code>
+ <td><code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHCLIENTSECRET</code>
</td>
<td>The client secret from your provider configuration.</td>
</tr>
<tr>
<td>Client auth method</td>
- <td><code spellcheck="false">oauthClientAuthMethod</code>
+ <td><code>oauthClientAuthMethod</code>
</td>
- <td><code spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHCLIENTAUTHMETHOD</code>
+ <td><code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHCLIENTAUTHMETHOD</code>
</td>
- <td>Token-endpoint auth method: <code spellcheck="false">client_secret_basic</code> or <code
- spellcheck="false">client_secret_post</code>. Empty auto-detects. &nbsp;Only
- needed if sign-in fails with a <code spellcheck="false">WWW-Authenticate</code> or <code
- spellcheck="false">invalid_client</code> error.</td>
+ <td>Token-endpoint auth method: <code>client_secret_basic</code> or <code>client_secret_post</code>.
+ Empty auto-detects. &nbsp;Only needed if sign-in fails with a <code>WWW-Authenticate</code> or <code>invalid_client</code> error.</td>
</tr>
<tr>
<td>ID token algorithm</td>
- <td><code spellcheck="false">oauthIdTokenSigningAlg</code>
+ <td><code>oauthIdTokenSigningAlg</code>
</td>
- <td><code spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHIDTOKENSIGNINGALG</code>
+ <td><code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHIDTOKENSIGNINGALG</code>
</td>
- <td><span style="color:rgb(32,32,32);">The algorithm your provider signs ID tokens with, e.g.</span> <code
- spellcheck="false">RS256</code><span style="color:rgb(32,32,32);">,</span> <code
- spellcheck="false">EdDSA</code><span style="color:rgb(32,32,32);">,</span> <code
- spellcheck="false">ES256</code><span style="color:rgb(32,32,32);">. Empty auto-detects from the provider. Only needed if sign-in fails with an</span> <code
- spellcheck="false">unexpected JWT alg</code> <span style="color:rgb(32,32,32);">error.</span>
+ <td><span style="color:rgb(32,32,32);">The algorithm your provider signs ID tokens with, e.g.</span> <code>RS256</code><span
+ style="color:rgb(32,32,32);">,</span> <code>EdDSA</code><span style="color:rgb(32,32,32);">,</span> <code>ES256</code><span
+ style="color:rgb(32,32,32);">. Empty auto-detects from the provider. Only needed if sign-in fails with an</span> <code>unexpected JWT alg</code> <span
+ style="color:rgb(32,32,32);">error.</span>
</td>
</tr>
</tbody>
@@ -93,16 +90,15 @@
</li>
<li>
<p>The default OAuth issuer is Google. To use other services such as Authentik
- 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>
+ 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>
<figure class="table">
<table>
<thead>
<tr>
<th>Configuration</th>
- <th><code spellcheck="false">config.ini</code> in <code spellcheck="false">[MultiFactorAuthentication]</code> section</th>
+ <th><code>config.ini</code> in <code>[MultiFactorAuthentication]</code> section</th>
<th>Environment variable</th>
<th>Description</th>
</tr>
@@ -110,15 +106,14 @@
<tbody>
<tr>
<td>Issuer base URL</td>
- <td><code spellcheck="false">oauthIssuerBaseUrl</code>
+ <td><code>oauthIssuerBaseUrl</code>
</td>
- <td><code spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHISSUERBASEURL</code>
+ <td><code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHISSUERBASEURL</code>
</td>
- <td>Either the issuer itself (<code spellcheck="false">https://auth.example.com</code>)
- or a full discovery URL (<code spellcheck="false">https://auth.example.com/.well-known/openid-configuration</code>).
+ <td>Either the issuer itself (<code>https://auth.example.com</code>) or a
+ full discovery URL (<code>https://auth.example.com/.well-known/openid-configuration</code>).
<br>
- <br>A URL containing <code spellcheck="false">/.well-known/</code> is used as-is<span
- style="color:rgb(32,32,32);">, which is convenient when your provider hands you a discovery URL to copy. A trailing slash may be included or omitted; Trilium matches whichever spelling the provider advertises.</span>
+ <br>A URL containing <code>/.well-known/</code> is used as-is<span style="color:rgb(32,32,32);">, which is convenient when your provider hands you a discovery URL to copy. A trailing slash may be included or omitted; Trilium matches whichever spelling the provider advertises.</span>
<br>
<br>Use the full form when your provider advertises an issuer that differs
from the path serving its discovery document, such as Authentik in "global"
@@ -126,18 +121,18 @@
</tr>
<tr>
<td>Issuer name</td>
- <td><code spellcheck="false">oauthIssuerName</code>
+ <td><code>oauthIssuerName</code>
</td>
- <td><code spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHISSUERNAME</code>
+ <td><code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHISSUERNAME</code>
</td>
<td>The name of your authentication provider, used for reference on the login
screen and in settings. Default is “Google”.</td>
</tr>
<tr>
<td>Issuer icon</td>
- <td><code spellcheck="false">oauthIssuerIcon</code>
+ <td><code>oauthIssuerIcon</code>
</td>
- <td><code spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHISSUERICON</code>
+ <td><code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHISSUERICON</code>
</td>
<td>Optionally, the URL to a logo of the provider. By default it will try
to obtain the favicon from the website, so it's optional.</td>
@@ -155,7 +150,7 @@
<thead>
<tr>
<th>Configuration</th>
- <th><code spellcheck="false">config.ini</code> in <code spellcheck="false">[MultiFactorAuthentication]</code> section</th>
+ <th><code>config.ini</code> in <code>[MultiFactorAuthentication]</code> section</th>
<th>Environment variable</th>
<th>Description</th>
</tr>
@@ -163,45 +158,40 @@
<tbody>
<tr>
<td>HTTP timeout</td>
- <td><code spellcheck="false">oauthHttpTimeout</code>
+ <td><code>oauthHttpTimeout</code>
</td>
- <td><code spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHHTTPTIMEOUT</code>
+ <td><code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHHTTPTIMEOUT</code>
</td>
<td>Timeout in milliseconds for the provider HTTP requests (discovery, token
- exchange, userinfo). Defaults to <code spellcheck="false">30000</code> (30s).
- Raise this if your provider cold-starts slowly and you are occasionally
- asked to sign in twice. Minimum accepted value is <code spellcheck="false">500</code>.</td>
+ exchange, userinfo). Defaults to <code>30000</code> (30s). Raise this if
+ your provider cold-starts slowly and you are occasionally asked to sign
+ in twice. Minimum accepted value is <code>500</code>.</td>
</tr>
<tr>
<td>Scopes</td>
- <td><code spellcheck="false">oauthScope</code>
+ <td><code>oauthScope</code>
</td>
- <td><code spellcheck="false">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHSCOPE</code>
+ <td><code>TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHSCOPE</code>
</td>
- <td>Space-separated list of OIDC scopes requested at login. Defaults to <code
- spellcheck="false">openid profile email</code>. <code spellcheck="false">openid</code> is
+ <td>Space-separated list of OIDC scopes requested at login. Defaults to <code>openid profile email</code>. <code>openid</code> is
required and is prepended automatically if you omit it.</td>
</tr>
</tbody>
</table>
</figure>
<p>The OIDC session lifetime is automatically bound to Trilium's own session
- cookie lifetime (the <code spellcheck="false">cookieMaxAge</code> setting
- in the <code spellcheck="false">[Session]</code> section, 21 days by default),
- so a single sign-in stays valid for as long as your Trilium session does
- rather than expiring early on the OIDC library's shorter internal defaults.</p>
+ cookie lifetime (the <code>cookieMaxAge</code> setting in the <code>[Session]</code> section,
+ 21 days by default), so a single sign-in stays valid for as long as your
+ Trilium session does rather than expiring early on the OIDC library's shorter
+ internal defaults.</p>
</li>
<li>
<p>Restart the server so that the changes are applied.</p>
</li>
</ol>
<aside class="admonition note">
- <p>Legacy environment variables are also 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>,
- and for customizing the provider: <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>, <code
- spellcheck="false">TRILIUM_OAUTH_HTTP_TIMEOUT</code>, <code spellcheck="false">TRILIUM_OAUTH_SCOPE</code>, <code
- spellcheck="false">TRILIUM_OAUTH_CLIENT_AUTH_METHOD</code>, <code spellcheck="false">TRILIUM_OAUTH_ID_TOKEN_SIGNING_ALG</code>.</p>
+ <p>Legacy environment variables are also supported: <code>TRILIUM_OAUTH_BASE_URL</code>, <code>TRILIUM_OAUTH_CLIENT_ID</code>, <code>TRILIUM_OAUTH_CLIENT_SECRET</code>,
+ and for customizing the provider: <code>TRILIUM_OAUTH_ISSUER_BASE_URL</code>, <code>TRILIUM_OAUTH_ISSUER_NAME</code>, <code>TRILIUM_OAUTH_ISSUER_ICON</code>, <code>TRILIUM_OAUTH_HTTP_TIMEOUT</code>, <code>TRILIUM_OAUTH_SCOPE</code>, <code>TRILIUM_OAUTH_CLIENT_AUTH_METHOD</code>, <code>TRILIUM_OAUTH_ID_TOKEN_SIGNING_ALG</code>.</p>
</aside>
<h2>Connecting to the authentication provider</h2>
<p>Once the server has been configured at the previous step, the next step
@@ -249,39 +239,36 @@
<p>To disable the OpenID Connect authentication and instead rely on the local
password temporarily, you must:</p>
<ol>
- <li>Modify the <code spellcheck="false">config.ini</code> or environment variables
- (depending on how you set up the provider information) and temporarily
- deactivate the multi-factor authentication section by renaming <code spellcheck="false">[MultiFactorAuthentication]</code> to
- something else (e.g. <code spellcheck="false">[MultiFactorAuthentication.bak]</code>.</li>
+ <li>Modify the <code>config.ini</code> or environment variables (depending on
+ how you set up the provider information) and temporarily deactivate the
+ multi-factor authentication section by renaming <code>[MultiFactorAuthentication]</code> to
+ something else (e.g. <code>[MultiFactorAuthentication.bak]</code>.</li>
<li>Restart the server for the changes to take effect.</li>
</ol>
<h2>Troubleshooting</h2>
-<h3>Setup fails with a <code spellcheck="false">WWW-Authenticate</code> or <code spellcheck="false">invalid_client</code> error</h3>
+<h3>Setup fails with a <code>WWW-Authenticate</code> or <code>invalid_client</code> error</h3>
<p>Your provider disagrees with Trilium about how client credentials should
- be sent to the token endpoint. Set <code spellcheck="false">oauthClientAuthMethod</code> to <code
- spellcheck="false">client_secret_post</code> (or <code spellcheck="false">client_secret_basic</code> if
- it's already set to post) and restart. Providers vary: some reject <code
- spellcheck="false">client_secret_post</code> outright because the method
- is fixed when the client is registered (e.g. Authelia), so if one value
- doesn't work, try the other.</p>
-<h3>Setup fails with <code spellcheck="false">invalid user</code></h3>
+ be sent to the token endpoint. Set <code>oauthClientAuthMethod</code> to <code>client_secret_post</code> (or <code>client_secret_basic</code> if
+ it's already set to post) and restart. Providers vary: some reject <code>client_secret_post</code> outright
+ because the method is fixed when the client is registered (e.g. Authelia),
+ so if one value doesn't work, try the other.</p>
+<h3>Setup fails with <code>invalid user</code></h3>
<p>If you are running behind a <a href="#root/_help_vcjrb3VVYPZI">reverse proxy</a>,
a buffer overflow can also cause this issue. Here is a sample fix for&nbsp;<a
class="reference-link" href="#root/_help_ud6MShXL4WpO">Nginx</a>: </p><pre><code class="language-text-x-trilium-auto">proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;</code></pre>
-<h3>Setup fails with an <code spellcheck="false">unexpected JWT alg</code> error</h3>
-<p>Depending on your version the message reads <code spellcheck="false">unexpected JWT "alg" header parameter</code> or <code
- spellcheck="false">unexpected JWT alg received, expected RS256, got: EdDSA</code>.
+<h3>Setup fails with an <code>unexpected JWT alg</code> error</h3>
+<p>Depending on your version the message reads <code>unexpected JWT "alg" header parameter</code> or <code>unexpected JWT alg received, expected RS256, got: EdDSA</code>.
Both mean the same thing: your provider signs ID tokens with an algorithm
other than RS256. Pocket ID (Ed25519) and Kanidm (ES256) do this.</p>
<p>From v0.104.2 Trilium detects the algorithm from your provider automatically,
- and the log records the outcome (<code spellcheck="false">OAuth: the issuer does not sign ID tokens with RS256; expecting ES256</code>).
+ and the log records the outcome (<code>OAuth: the issuer does not sign ID tokens with RS256; expecting ES256</code>).
If detection can't reach the provider it falls back to RS256, so check
that the issuer URL is correct and reachable first. Should it still fail,
- set <code spellcheck="false">oauthIdTokenSigningAlg</code> explicitly to
- the algorithm your provider uses.</p>
-<h3>Setup fails with <code spellcheck="false">OAUTH_RESPONSE_IS_NOT_CONFORM</code></h3>
+ set <code>oauthIdTokenSigningAlg</code> explicitly to the algorithm your
+ provider uses.</p>
+<h3>Setup fails with <code>OAUTH_RESPONSE_IS_NOT_CONFORM</code></h3>
<p>Make sure the base URL is correct and that the identity provider actually
supports OpenID Connect. Some providers such as GitHub offer only OAuth
2.0.</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/Signing in with OpenID Connect/Setting up with various providers.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/Signing in with OpenID Connect/Setting up with various providers.html
index 1cf757c9e9..96a58cd8fc 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/Signing in with OpenID Connect/Setting up with various providers.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/Signing in with OpenID Connect/Setting up with various providers.html
@@ -10,13 +10,12 @@
<li>
<p>Generate a client secret:</p><pre><code class="language-text-x-trilium-auto">authelia crypto hash generate pbkdf2 --variant sha512 --random --random.length 72 --random.charset rfc3986
</code></pre>
- <p><code spellcheck="false">Random Password</code> goes to Trilium, <code spellcheck="false">Digest</code> (the <code
- spellcheck="false">$pbkdf2-sha512$…</code> string) goes to Authelia.</p>
+ <p><code>Random Password</code> goes to Trilium, <code>Digest</code> (the <code>$pbkdf2-sha512$…</code> string)
+ goes to Authelia.</p>
</li>
<li>
- <p>Add a client under <code spellcheck="false">identity_providers.oidc.clients</code> in
- Authelia's <code spellcheck="false">configuration.yml</code>, replacing <code
- spellcheck="false">&lt;server&gt;</code> with the URL of your Trilium instance:</p><pre><code class="language-text-x-yaml">identity_providers:
+ <p>Add a client under <code>identity_providers.oidc.clients</code> in Authelia's <code>configuration.yml</code>,
+ replacing <code>&lt;server&gt;</code> with the URL of your Trilium instance:</p><pre><code class="language-text-x-yaml">identity_providers:
oidc:
clients:
- client_id: 'trilium'
@@ -30,14 +29,14 @@
- 'openid'
- 'profile'
- 'email'</code></pre>
- <p>Unlike GitLab, <code spellcheck="false">client_id</code> is a name you choose
- rather than one the provider generates.</p>
+ <p>Unlike GitLab, <code>client_id</code> is a name you choose rather than one
+ the provider generates.</p>
</li>
<li>
<p>Restart Authelia.</p>
</li>
</ol>
-<p>Adjust <code spellcheck="false">config.ini</code>, using the <code spellcheck="false">Random Password</code> from
+<p>Adjust <code>config.ini</code>, using the <code>Random Password</code> from
step 1:</p><pre><code class="language-text-x-trilium-auto">[MultiFactorAuthentication]
oauthBaseUrl=https://&lt;server&gt;
oauthClientId=&lt;ClientId&gt;
@@ -45,11 +44,10 @@ oauthClientSecret=&lt;RandomPassword&gt;
oauthIssuerBaseUrl=https://&lt;server&gt;
oauthIssuerName=Authelia</code></pre>
<aside class="admonition important">
- <p>Do <strong>not</strong> set <code spellcheck="false">oauthClientAuthMethod</code> for
- Authelia. It defaults confidential clients to <code spellcheck="false">client_secret_basic</code> and
- rejects any other method with <code spellcheck="false">invalid_client</code>,
- which is the default Trilium already uses. This is the opposite of the
- GitLab case below.</p>
+ <p>Do <strong>not</strong> set <code>oauthClientAuthMethod</code> for Authelia.
+ It defaults confidential clients to <code>client_secret_basic</code> and
+ rejects any other method with <code>invalid_client</code>, which is the
+ default Trilium already uses. This is the opposite of the GitLab case below.</p>
</aside>
<h2>GitLab (self-hosted or cloud)</h2>
<ol>
@@ -57,7 +55,7 @@ oauthIssuerName=Authelia</code></pre>
your own self-hosted instance.</li>
<li>Press <em>Add new application</em>.</li>
<li>Give it a name (e.g. Trilium).</li>
- <li>Set <em>Redirect URI</em> to <code spellcheck="false">https://&lt;server&gt;/callback</code>
+ <li>Set <em>Redirect URI</em> to <code>https://&lt;server&gt;/callback</code>
</li>
<li>Make sure <em>Confidential</em> is checked and <em>Device authorization grant</em> is
unchecked.</li>
@@ -65,9 +63,8 @@ oauthIssuerName=Authelia</code></pre>
should be near the end).</li>
<li>Save the application and copy the <em>Application ID</em> and <em>Secret</em>.</li>
</ol>
-<p>Adjust <code spellcheck="false">config.ini</code> as follows, replacing <code
- spellcheck="false">&lt;ApplicationId&gt;</code> and <code spellcheck="false">&lt;Secret&gt;</code> with
- the values from the last step as well as the <code spellcheck="false">&lt;server&gt;</code> with
+<p>Adjust <code>config.ini</code> as follows, replacing <code>&lt;ApplicationId&gt;</code> and <code>&lt;Secret&gt;</code> with
+ the values from the last step as well as the <code>&lt;server&gt;</code> with
a URL to your Trilium instance.</p><pre><code class="language-text-x-trilium-auto">[MultiFactorAuthentication]
oauthBaseUrl=https://&lt;server&gt;
oauthClientId=&lt;ApplicationId&gt;
@@ -77,35 +74,31 @@ oauthIssuerName=GitLab
oauthClientAuthMethod=client_secret_post
</code></pre>
<aside class="admonition important">
- <p>If you are using a self-hosted instance of GitLab, make sure to also update <code
- spellcheck="false">oauthIssuerBaseUrl</code>, and keep the <code spellcheck="false">oauthClientAuthMethod</code> line
- above.</p>
+ <p>If you are using a self-hosted instance of GitLab, make sure to also update <code>oauthIssuerBaseUrl</code>,
+ and keep the <code>oauthClientAuthMethod</code> line above.</p>
<p>GitLab's token endpoint does not decode credentials sent via HTTP Basic,
- so without <code spellcheck="false">oauthClientAuthMethod</code>, sign-in
- fails with a <code spellcheck="false">server responded with a challenge in the WWW-Authenticate HTTP Header</code> error.
- Trilium applies this automatically for <code spellcheck="false">gitlab.com</code>,
- but a self-hosted issuer URL cannot be detected.</p>
+ so without <code>oauthClientAuthMethod</code>, sign-in fails with a <code>server responded with a challenge in the WWW-Authenticate HTTP Header</code> error.
+ Trilium applies this automatically for <code>gitlab.com</code>, but a self-hosted
+ issuer URL cannot be detected.</p>
</aside>
<h2>Kanidm</h2>
<ol>
<li>
- <p>Create the client, add the redirect URL and grant the scopes, replacing <code
- spellcheck="false">&lt;server&gt;</code> with the URL of your Trilium instance
- and <code spellcheck="false">&lt;group&gt;</code> with an existing Kanidm
- group whose members may sign in:</p><pre><code class="language-text-x-trilium-auto">kanidm system oauth2 create trilium "Trilium" "https://&lt;server&gt;"
+ <p>Create the client, add the redirect URL and grant the scopes, replacing <code>&lt;server&gt;</code> with
+ the URL of your Trilium instance and <code>&lt;group&gt;</code> with an existing
+ Kanidm group whose members may sign in:</p><pre><code class="language-text-x-trilium-auto">kanidm system oauth2 create trilium "Trilium" "https://&lt;server&gt;"
kanidm system oauth2 add-redirect-url trilium "https://&lt;server&gt;/callback"
kanidm system oauth2 update-scope-map trilium &lt;group&gt; openid profile email</code></pre>
- <p>The <code spellcheck="false">openid</code> scope is mandatory; without it
- Kanidm treats the client as plain OAuth 2.0.</p>
+ <p>The <code>openid</code> scope is mandatory; without it Kanidm treats the
+ client as plain OAuth 2.0.</p>
</li>
<li>
<p>Read the client secret:</p><pre><code class="language-text-x-trilium-auto">kanidm system oauth2 show-basic-secret trilium</code></pre>
</li>
</ol>
-<p>Adjust <code spellcheck="false">config.ini</code> as follows, replacing <code
- spellcheck="false">&lt;idm&gt;</code> with the URL of your Kanidm instance
- and <code spellcheck="false">&lt;BasicSecret&gt;</code> with the value from
- step 2:</p><pre><code class="language-text-x-trilium-auto">[MultiFactorAuthentication]
+<p>Adjust <code>config.ini</code> as follows, replacing <code>&lt;idm&gt;</code> with
+ the URL of your Kanidm instance and <code>&lt;BasicSecret&gt;</code> with
+ the value from step 2:</p><pre><code class="language-text-x-trilium-auto">[MultiFactorAuthentication]
oauthBaseUrl=https://&lt;server&gt;
oauthClientId=trilium
oauthClientSecret=&lt;BasicSecret&gt;
@@ -116,9 +109,9 @@ oauthIssuerName=Kanidm</code></pre>
<aside class="admonition important">
<p>Kanidm signs ID tokens with ES256, not RS256. Trilium detects this from
the provider on v0.105.0 and later, so no extra configuration is needed.
- Do <strong>not</strong> run <code spellcheck="false">kanidm system oauth2 warning-enable-legacy-crypto</code>,
+ Do <strong>not</strong> run <code>kanidm system oauth2 warning-enable-legacy-crypto</code>,
it downgrades the client to RS256 and disables ES256 entirely. On older
- Trilium versions sign-in fails with an <code spellcheck="false">unexpected JWT alg</code> error.</p>
+ Trilium versions sign-in fails with an <code>unexpected JWT alg</code> error.</p>
</aside>
<h2>Pocket ID</h2>
<aside class="admonition important">
@@ -130,43 +123,40 @@ oauthIssuerName=Kanidm</code></pre>
<ol>
<li>Sign in to Pocket ID as an administrator and go to <em>OIDC Clients</em> → <em>Add OIDC Client</em>.</li>
<li>Give it a name (e.g. Trilium).</li>
- <li>Set <em>Callback URLs</em> to <code spellcheck="false">https://&lt;server&gt;/callback</code>,
- replacing <code spellcheck="false">&lt;server&gt;</code> with the URL of
- your Trilium instance.</li>
+ <li>Set <em>Callback URLs</em> to <code>https://&lt;server&gt;/callback</code>,
+ replacing <code>&lt;server&gt;</code> with the URL of your Trilium instance.</li>
<li>Save, then copy the <em>Client ID</em>, <em>Client Secret</em> and <em>OIDC Discovery URL</em>.</li>
</ol>
-<p>Adjust <code spellcheck="false">config.ini</code> as follows, using the
- values from step 4:</p><pre><code class="language-text-x-trilium-auto">[MultiFactorAuthentication]
+<p>Adjust <code>config.ini</code> as follows, using the values from step 4:</p><pre><code class="language-text-x-trilium-auto">[MultiFactorAuthentication]
oauthBaseUrl=https://&lt;server&gt;
oauthClientId=&lt;ClientID&gt;
oauthClientSecret=&lt;ClientSecret&gt;
oauthIssuerBaseUrl=&lt;OIDCDiscoveryURL&gt;
oauthIssuerName=Pocket ID</code></pre>
<aside class="admonition note">
- <p>Pocket ID gives you an <em>OIDC Discovery URL</em> ending in <code spellcheck="false">/.well-known/openid-configuration</code>.
+ <p>Pocket ID gives you an <em>OIDC Discovery URL</em> ending in <code>/.well-known/openid-configuration</code>.
On v0.105.0 and later you can paste it as-is. On earlier versions, remove
that suffix and use only the part before it.</p>
</aside>
<aside class="admonition important">
<p>Pocket ID generates an RS256 signing key on first start, which works without
- further configuration. If you rotate it to Ed25519 (<code spellcheck="false">pocket-id key-rotate --alg EdDSA --crv Ed25519</code>),
+ further configuration. If you rotate it to Ed25519 (<code>pocket-id key-rotate --alg EdDSA --crv Ed25519</code>),
ID tokens are signed with EdDSA instead. Trilium detects this automatically
- on v0.105.0 and later; older versions fail with <code spellcheck="false">unexpected JWT alg received, expected RS256, got: EdDSA</code>.</p>
+ on v0.105.0 and later; older versions fail with <code>unexpected JWT alg received, expected RS256, got: EdDSA</code>.</p>
</aside>
<h2>GitHub</h2>
<p>GitHub cannot be used as an identity provider because it is plain OAuth
- 2.0 and not OpenID Connect, so it will fail with <code spellcheck="false">OAUTH_RESPONSE_IS_NOT_CONFORM</code>.</p>
+ 2.0 and not OpenID Connect, so it will fail with <code>OAUTH_RESPONSE_IS_NOT_CONFORM</code>.</p>
<h2>Google</h2>
<ol>
<li>Go to <a href="https://console.cloud.google.com/auth/clients">Google Cloud's Clients</a> dashboard
and select <em>Create client</em>.</li>
<li>For <em>Application type,</em> select <em>Web application</em>.</li>
- <li>In <em>Authorized redirect URIs</em>, set &nbsp;<code spellcheck="false">https://&lt;server&gt;/callback</code>.</li>
+ <li>In <em>Authorized redirect URIs</em>, set &nbsp;<code>https://&lt;server&gt;/callback</code>.</li>
<li>Press <em>Create</em> and copy <em>Client ID</em> and <em>Client secret</em>.</li>
</ol>
-<p>Adjust <code spellcheck="false">config.ini</code> as follows, replacing <code
- spellcheck="false">&lt;ClientID&gt;</code> and <code spellcheck="false">&lt;ClientSecret&gt;</code> with
- the values from the last step as well as the <code spellcheck="false">&lt;server&gt;</code> with
+<p>Adjust <code>config.ini</code> as follows, replacing <code>&lt;ClientID&gt;</code> and <code>&lt;ClientSecret&gt;</code> with
+ the values from the last step as well as the <code>&lt;server&gt;</code> with
a URL to your Trilium instance.</p><pre><code class="language-text-x-trilium-auto">[MultiFactorAuthentication]
oauthBaseUrl=https://&lt;server&gt;
oauthClientId=&lt;ClientID&gt;
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 3484d1c569..fa53b6404d 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,15 @@
<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 spellcheck="false">aarch64</code>).</li>
+ <li>Native binaries are provided for Linux x64 and ARM (<code>aarch64</code>).</li>
</ul>
<h2>Legacy ARM support</h2>
-<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
+<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>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 spellcheck="false">armv7</code> and <code
- spellcheck="false">armv8</code> will be dropped entirely.</p>
+ as soon Node.js 22 will no longer be compatible, support for <code>armv7</code> and <code>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 e5f4d03367..a29d59ddda 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
@@ -82,13 +82,12 @@ class="admonition warning">
<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 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>
+ 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>
<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 spellcheck="false">trilium-no-cert-check.sh</code> for
- this purpose.</p>
+ a script called <code>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 c8c8edadbf..d266361b6a 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
@@ -31,8 +31,8 @@
<p>Trilium will save these clippings as a new child note under a "clipper
inbox" note.</p>
<p>By default, that's the&nbsp;<a class="reference-link" href="#root/_help_l0tKav7yLHGF">Day Notes</a>&nbsp;but
- you can override that by setting the <a href="#root/_help_zEY4DaJG4YT5">label</a> <code
- spellcheck="false">clipperInbox</code>, on any other note.</p>
+ you can override that by setting the <a href="#root/_help_zEY4DaJG4YT5">label</a> <code>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>
<h2>Keyboard shortcuts</h2>
@@ -44,9 +44,9 @@
</ul>
<p>To set custom shortcuts, follow the directions for your browser.</p>
<ul>
- <li><strong>Firefox</strong>: <code spellcheck="false">about:addons</code> →
- Gear icon ⚙️ → Manage extension shortcuts</li>
- <li><strong>Chrome</strong>: <code spellcheck="false">chrome://extensions/shortcuts</code>
+ <li><strong>Firefox</strong>: <code>about:addons</code> → Gear icon ⚙️ → Manage
+ extension shortcuts</li>
+ <li><strong>Chrome</strong>: <code>chrome://extensions/shortcuts</code>
</li>
</ul>
<aside class="admonition note">
@@ -71,13 +71,13 @@
</li>
<li>Artifacts in GitHub Actions, by looking for the <a href="https://github.com/TriliumNext/Trilium/actions/workflows/web-clipper.yml"><em>Deploy web clipper extension</em> workflow</a>.
Once a workflow run is selected, the ZIP files are available in the <em>Artifacts</em> section,
- under the name <code spellcheck="false">web-clipper-extension</code>.</li>
+ under the name <code>web-clipper-extension</code>.</li>
</ul>
<h3>For Chrome</h3>
<ol>
- <li>Download <code spellcheck="false">trilium-web-clipper-[x.y.z]-chrome.zip</code>.</li>
+ <li>Download <code>trilium-web-clipper-[x.y.z]-chrome.zip</code>.</li>
<li>Extract the archive.</li>
- <li>In Chrome, navigate to <code spellcheck="false">chrome://extensions/</code>
+ <li>In Chrome, navigate to <code>chrome://extensions/</code>
</li>
<li>Toggle <em>Developer Mode</em> in top-right of the page.</li>
<li>Press the <em>Load unpacked</em> button near the header.</li>
@@ -88,16 +88,15 @@
<p>Firefox prevents installation of unsigned packages in the “retail” version.
To be able to install extensions from disk, consider using <em>Firefox Developer Edition</em> or
a non-branded version of Firefox (e.g. <em>GNU IceCat</em>).</p>
- <p>One time, go to <code spellcheck="false">about:config</code> and change <code
- spellcheck="false">xpinstall.signatures.required</code> to <code spellcheck="false">false</code>.</p>
+ <p>One time, go to <code>about:config</code> and change <code>xpinstall.signatures.required</code> to <code>false</code>.</p>
</aside>
<ol>
- <li>Navigate to <code spellcheck="false">about:addons</code>.</li>
+ <li>Navigate to <code>about:addons</code>.</li>
<li>Select <em>Extensions</em> in the left-side navigation.</li>
<li>Press the <em>Gear</em> icon on the right of the <em>Manage Your Extensions</em> title.</li>
<li>Select <em>Install Add-on From File…</em>
</li>
- <li>Point it to <code spellcheck="false">trilium-web-clipper-[x.y.z]-firefox.zip</code>.</li>
+ <li>Point it to <code>trilium-web-clipper-[x.y.z]-firefox.zip</code>.</li>
<li>Press the <em>Add</em> button to confirm.</li>
</ol>
<h2>Credits</h2>
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 472a064b52..284a26cd18 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
@@ -100,18 +100,18 @@
This doesn't mean I want to delete these notes though - typically I just
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
- 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>).
+ 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>).
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
- spellcheck="false">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>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 +153,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 spellcheck="false">CTRL-ALT-P</code> which
- will create new note in the day note.</p>
+ There's also global keyboard shortcut <code>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"
@@ -246,9 +246,8 @@ class="image">
<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 spellcheck="false">dateStarted</code> - <code
- spellcheck="false">dateFinished</code> to have nicer view of my reading
- sprints and trends.</p>
+ 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>
<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/Canvas.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Canvas.html
index 89039893bd..d937524bb8 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Canvas.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Canvas.html
@@ -19,7 +19,7 @@
<li>From the&nbsp;<a class="reference-link" href="#root/_help_oPVyFC7WL2Lp">Note Tree</a>,
drag the item onto the canvas.</li>
<li>Manually, by choosing <em>More tools</em> → <em>Web Embed</em> and pasting
- the link to the note (e.g. <code spellcheck="false">root/MujWAc9fQ1nj</code>).</li>
+ the link to the note (e.g. <code>root/MujWAc9fQ1nj</code>).</li>
</ul>
<p>Embedding notes in the canvas follows the same rules as&nbsp;<a class="reference-link"
href="#root/_help_nBAXQFj20hS1">Include Note</a>: some notes are rendered
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Code.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Code.html
index 94705fdea0..1f16834ed3 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Code.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Code.html
@@ -53,24 +53,24 @@
</li>
</ul>
<aside class="admonition note">
- <p>Word wrapping can also be adjusted at note level through the <code spellcheck="false">#wrapLines</code> <a
+ <p>Word wrapping can also be adjusted at note level through the <code>#wrapLines</code> <a
href="#root/_help_HI6GBBIduIgv">label</a>, which can also be inherited.</p>
</aside>
<h2>Adjusting options using the status bar</h2>
<aside class="admonition note">
<p>This feature is only available for the&nbsp;<a class="reference-link"
href="#root/_help_IjZS7iK5EXtb">New Layout</a>. For the old layout, the
- tab width can be adjusted at note level using the <code spellcheck="false">#tabWidth</code> attribute,
+ tab width can be adjusted at note level using the <code>#tabWidth</code> attribute,
but re-indentation is not available.</p>
</aside>
<p>The status bar at the bottom of the editor shows the current indentation
settings and language. Clicking on the indentation indicator opens a menu
with three sections:</p>
<ol>
- <li><strong>Indent Using</strong> — switch between Spaces and Tabs (<code spellcheck="false">#indentWithTabs</code>).
+ <li><strong>Indent Using</strong> — switch between Spaces and Tabs (<code>#indentWithTabs</code>).
If a per-note override is active, a "Reset to default" option appears.</li>
<li><strong>Display Width</strong> — choose from preset widths (1, 2, 3, 4,
- 6, 8). Changes are saved as a per-note <code spellcheck="false">#tabWidth</code> label.</li>
+ 6, 8). Changes are saved as a per-note <code>#tabWidth</code> label.</li>
<li><strong>Re-indent Content To</strong> — convert existing indentation to
a different style. For example, re-indent a file from 4 spaces to 2 spaces,
or from spaces to tabs. This rewrites the leading whitespace on every line
@@ -100,12 +100,11 @@
are defined in JavaScript and not at CSS level.</p>
</aside>
<h2>Programming ligatures</h2>
-<p>If you see <code spellcheck="false">!=</code> displayed as <code spellcheck="false">≠</code> or <code
- spellcheck="false">-&gt;</code> as <code spellcheck="false">→</code> inside
+<p>If you see <code>!=</code> displayed as <code>≠</code> or <code>-&gt;</code> as <code>→</code> inside
a code note, those are <em>font ligature</em>: the default monospace font
draws certain character pairs as a single symbol. The underlying text is
not changed by Trilium (unlike text notes which have&nbsp;<a class="reference-link"
href="#root/_help_oI7GoyilXXAr">Automatic replacements</a>), and copying
- it out gives you back <code spellcheck="false">!=</code> and <code spellcheck="false">-&gt;</code>.</p>
+ it out gives you back <code>!=</code> and <code>-&gt;</code>.</p>
<p>This can be turned off with&nbsp;<a class="reference-link" href="#root/_help_4TIF1oA4VQRO">Options</a><em>→ Appearance → Fonts → Programming ligatures.</em>
</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/File.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/File.html
index be17fe3376..81d7541c1c 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/File.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/File.html
@@ -15,10 +15,9 @@
as well as remembering the last page read. For more information, see the
dedicated&nbsp;<a class="reference-link" href="#root/_help_XJGJrpu7F9sh">PDFs</a>&nbsp;page.</p>
<h2>Office documents</h2>
-<p>Trilium offers previews for Office documents such as Word (<code spellcheck="false">.docx</code>),
- Excel (<code spellcheck="false">.xlsx</code>) and PowerPoint (<code spellcheck="false">.pptx</code>).
- For more information, see the dedicated&nbsp;<a class="reference-link"
- href="#root/_help_KG48zgNY31NW">Office documents</a>.</p>
+<p>Trilium offers previews for Office documents such as Word (<code>.docx</code>),
+ Excel (<code>.xlsx</code>) and PowerPoint (<code>.pptx</code>). For more
+ information, see the dedicated&nbsp;<a class="reference-link" href="#root/_help_KG48zgNY31NW">Office documents</a>.</p>
<h3>Images</h3>
<figure class="image image-style-align-center image_resized" style="width:50%;">
<img style="aspect-ratio:879/766;" src="2_File_image.png" width="879"
@@ -73,11 +72,11 @@
of characters. To view the full file, consider opening it in an external
application.</p>
<h3>GPS tracks</h3>
-<p>Trilium displays information about GPS tracks in <code spellcheck="false">.gpx</code> format,
+<p>Trilium displays information about GPS tracks in <code>.gpx</code> format,
such as the distance, duration, elevation profile, tracks, markers.</p>
-<p>When a <code spellcheck="false">.gpx</code> note is dropped in a&nbsp;<a
- class="reference-link" href="#root/_help_81SGnPGMk7Xc">Geo Map</a>, the
- track itself will also be displayed on the map.</p>
+<p>When a <code>.gpx</code> note is dropped in a&nbsp;<a class="reference-link"
+ href="#root/_help_81SGnPGMk7Xc">Geo Map</a>, the track itself will also
+ be displayed on the map.</p>
<figure class="image">
<img style="aspect-ratio:1500/807;" src="4_File_image.png" width="1500"
height="807">
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/File/Audio & Video.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/File/Audio & Video.html
index 2760ce19bb..8638796112 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/File/Audio & Video.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/File/Audio & Video.html
@@ -82,7 +82,7 @@
<ul>
<li><strong>Text notes:</strong> in the formatting toolbar, click “<strong>Insert”</strong> → <strong>“Include”.</strong>
</li>
- <li><strong>Markdown notes:</strong> type <code spellcheck="false">/include</code> press <kbd>Enter</kbd>.</li>
+ <li><strong>Markdown notes:</strong> type <code>/include</code> press <kbd>Enter</kbd>.</li>
</ul>
<p>Then select the audio/video file note to be included.</p>
<h2>Keyboard shortcuts</h2>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/File/Office documents.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/File/Office documents.html
index 548cae0dcd..89163e6602 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/File/Office documents.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/File/Office documents.html
@@ -3,17 +3,16 @@
external application.</p>
<h2>Supported formats</h2>
<ul>
- <li>Microsoft Office formats: Word (<code spellcheck="false">.docx</code>),
- Excel (<code spellcheck="false">.xlsx</code>) and PowerPoint (<code spellcheck="false">.pptx</code>).</li>
+ <li>Microsoft Office formats: Word (<code>.docx</code>), Excel (<code>.xlsx</code>)
+ and PowerPoint (<code>.pptx</code>).</li>
<li>The OpenDocument alternatives to the previous formats (Text, Spreadsheet,
Presentation), created by editors such as LibreOffice and OpenOffice.</li>
<li><a href="https://en.wikipedia.org/wiki/Rich_Text_Format">Rich Text Format (RTF)</a>.</li>
<li><a href="https://en.wikipedia.org/wiki/EPUB">EPUB</a> e-books.</li>
</ul>
<aside class="admonition note">
- <p>Older Microsoft Office formats (<code spellcheck="false">.doc</code>, <code
- spellcheck="false">.xls</code>, <code spellcheck="false">.ppt</code>) are
- not supported.</p>
+ <p>Older Microsoft Office formats (<code>.doc</code>, <code>.xls</code>, <code>.ppt</code>)
+ are not supported.</p>
</aside>
<h2>How it works</h2>
<p>The document is converted to a simplified representation on the server
@@ -56,7 +55,7 @@
also extracted in the background so that it can be found with&nbsp;<a class="reference-link"
href="#root/_help_eIg8jdvaoNNd">Search</a>&nbsp;via&nbsp;<a class="reference-link"
href="#root/_help_TiQbQDgP8L5t">Text Extraction (OCR)</a>.</li>
- <li><code spellcheck="false">.csv</code> and <code spellcheck="false">.xlsx</code> files
- can be converted to&nbsp;<a class="reference-link" href="#root/_help_GWHEkY4I4OE3">Spreadsheets</a>&nbsp;via
+ <li><code>.csv</code> and <code>.xlsx</code> files can be converted to&nbsp;<a
+ class="reference-link" href="#root/_help_GWHEkY4I4OE3">Spreadsheets</a>&nbsp;via
the <a href="#root/_help_mHbBMPDPkVV5">import</a> function.</li>
</ul>
\ No newline at end of file
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 c1d5052402..e354bf2951 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
@@ -39,7 +39,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 spellcheck="false">pdfHistory.json</code>.</p>
+ in a dedicated attachment called <code>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
@@ -107,8 +107,8 @@ 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 spellcheck="false">[host].com/pdfjs</code> directory
- is accessible. Note that this directory is outside the <code spellcheck="false">/share</code> route
+ 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
as it's common with the rest of the application.</p>
<h2>OCR</h2>
<p>PDFs are eligible for&nbsp;<a class="reference-link" href="#root/_help_TiQbQDgP8L5t">Text Extraction (OCR)</a>,
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Markdown.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Markdown.html
index 9e511071f6..8f34b6f628 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Markdown.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Markdown.html
@@ -36,14 +36,12 @@
<p>All standard and GitHub-flavored syntax (basic formatting, tables, blockquotes).</p>
</li>
<li>
- <p>Basic HTML is also supported (e.g. collapsible blocks using <code spellcheck="false">&lt;details&gt;</code> and <code
- spellcheck="false">&lt;summary&gt;</code>).</p>
+ <p>Basic HTML is also supported (e.g. collapsible blocks using <code>&lt;details&gt;</code> and <code>&lt;summary&gt;</code>).</p>
</li>
<li>
<p>Code blocks with syntax highlight.</p>
<ul>
- <li>The language must be specified for syntax highlight to be applied (e.g. <code
- spellcheck="false">```js</code>).</li>
+ <li>The language must be specified for syntax highlight to be applied (e.g. <code>```js</code>).</li>
<li>Code blocks will respect the text wrapping from the&nbsp;<a class="reference-link"
href="#root/_help_iPIMuisry3hd">Text</a>&nbsp;section in&nbsp;<a class="reference-link"
href="#root/_help_4TIF1oA4VQRO">Options</a>.</li>
@@ -58,8 +56,7 @@
inline and block)</p>
</li>
<li>
- <p><a class="reference-link" href="#root/_help_s1aBHPd79XYj">Mermaid Diagrams</a>&nbsp;using <code
- spellcheck="false">```mermaid</code>
+ <p><a class="reference-link" href="#root/_help_s1aBHPd79XYj">Mermaid Diagrams</a>&nbsp;using <code>```mermaid</code>
</p>
</li>
<li>
@@ -68,7 +65,7 @@
&amp;nbsp;
&lt;/section&gt;</code></pre>
<ul>
- <li>These can also be quickly created via the <code spellcheck="false">/include</code> command
+ <li>These can also be quickly created via the <code>/include</code> command
or via a dedicated keyboard shortcut (not assigned by default).</li>
</ul>
</li>
@@ -117,14 +114,14 @@
[^1]: the first footnote
[^2]: the second footnote</code></pre>
<ul>
- <li>These can also be quickly created using the <code spellcheck="false">/footnote</code> command.</li>
+ <li>These can also be quickly created using the <code>/footnote</code> command.</li>
</ul>
</li>
<li>
<p>Page breaks for&nbsp;<a class="reference-link" href="#root/_help_NRnIZmSMc5sj">Printing &amp; Exporting as PDF</a>:</p><pre><code class="language-text-x-trilium-auto">&lt;div class="page-break"&gt;&lt;/div&gt;</code></pre>
</li>
<li>
- <p>Highlights (background color) are supported both via the <code spellcheck="false">==</code> Markdown
+ <p>Highlights (background color) are supported both via the <code>==</code> Markdown
syntax, as well as the canonical HTML representation in Trilium:</p><pre><code class="language-text-x-trilium-auto">==highlighted==
&lt;span style="background-color:hsl(0,0%,100%);"&gt;Highlighted&lt;/span&gt;</code></pre>
</li>
@@ -148,7 +145,7 @@
<ul>
<li>Type it manually using the syntax described above.</li>
<li>Use the <em>Add link</em> dialog by pressing <kbd>Ctrl</kbd>+<kbd>L</kbd> or
- typing the <code spellcheck="false">/link</code> command.</li>
+ typing the <code>/link</code> command.</li>
</ul>
<p><a class="reference-link" href="#root/_help_UmgZAfcltxkS">Link Previews</a>&nbsp;are
also rendered, but there is no mechanism to insert them automatically as
@@ -172,7 +169,7 @@
<li><kbd>Ctrl</kbd>+<kbd>B</kbd> to toggle <strong>bold</strong>.</li>
<li><kbd>Ctrl</kbd>+<kbd>I</kbd> to toggle <em>italic</em>.</li>
<li><kbd>Ctrl</kbd>+<kbd>M</kbd> to wrap the current selection in an inline
- math (<code spellcheck="false">$</code>).</li>
+ math (<code>$</code>).</li>
<li><kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>X</kbd> to toggle <del>strikethrough</del>.</li>
</ul>
<h3>Images &amp; attachments</h3>
@@ -181,7 +178,7 @@
<li>Drag &amp; drop directly into the editor area.</li>
<li>Pasting an image from clipboard.</li>
<li>Pasting a reference to another <a href="#root/_help_0vhv7lsOLy82">attachment</a> (e.g. <em>Copy reference to clipboard</em> button).</li>
- <li>Use the <code spellcheck="false">/image</code> slash command.</li>
+ <li>Use the <code>/image</code> slash command.</li>
</ul>
<p>An image reference to an attachment looks like this:</p><pre><code class="language-text-x-trilium-auto">![Name.jpeg](api/attachments/z50RceuHXe9J/image/image)</code></pre>
<h3>Auto-completion</h3>
@@ -189,26 +186,22 @@
<p>Just like&nbsp;<a class="reference-link" href="#root/_help_iPIMuisry3hd">Text</a>&nbsp;notes,
Markdown notes support a selection of slash commands:</p>
<ul>
- <li>Inserting the current date &amp; time (<code spellcheck="false">/date</code>).</li>
- <li><a href="#root/_help_nBAXQFj20hS1">Including</a> another note (<code spellcheck="false">/include</code>).</li>
- <li>Uploading and inserting an image (<code spellcheck="false">/image</code>).</li>
- <li>Inserting a note link (<code spellcheck="false">/link</code>).</li>
- <li>Inserting a math equation block (<code spellcheck="false">/math</code>).</li>
- <li>Inserting a <a href="#root/_help_AgjCISero73a">footnote</a> (<code spellcheck="false">/footnote</code>).</li>
- <li>Inserting a <a href="#root/_help_s1aBHPd79XYj">Mermaid</a> diagram (<code
- spellcheck="false">/mermaid</code>), with one variant per sample template
- (e.g. <code spellcheck="false">/mermaid:flowchart</code>).</li>
- <li>Inserting a collapsible block (<code spellcheck="false">/collapsible</code>).</li>
- <li>Inserting a page break for printing (<code spellcheck="false">/page-break</code>).</li>
- <li>Inserting a table (<code spellcheck="false">/table</code>).</li>
- <li>Creating admonitions (e.g. <code spellcheck="false">/tip</code>, <code spellcheck="false">/note</code>, <code
- spellcheck="false">/important</code>, <code spellcheck="false">/caution</code>, <code
- spellcheck="false">/warning</code>).</li>
- <li>Inserting task items (<code spellcheck="false">/todo:&lt;state&gt;</code>,
- e.g. <code spellcheck="false">/todo:done</code>), one per configured task
- state.</li>
- <li>Inserting code snippets (<code spellcheck="false">/snippet:&lt;name&gt;</code>)
- from your Markdown/plain-text snippet notes.</li>
+ <li>Inserting the current date &amp; time (<code>/date</code>).</li>
+ <li><a href="#root/_help_nBAXQFj20hS1">Including</a> another note (<code>/include</code>).</li>
+ <li>Uploading and inserting an image (<code>/image</code>).</li>
+ <li>Inserting a note link (<code>/link</code>).</li>
+ <li>Inserting a math equation block (<code>/math</code>).</li>
+ <li>Inserting a <a href="#root/_help_AgjCISero73a">footnote</a> (<code>/footnote</code>).</li>
+ <li>Inserting a <a href="#root/_help_s1aBHPd79XYj">Mermaid</a> diagram (<code>/mermaid</code>),
+ with one variant per sample template (e.g. <code>/mermaid:flowchart</code>).</li>
+ <li>Inserting a collapsible block (<code>/collapsible</code>).</li>
+ <li>Inserting a page break for printing (<code>/page-break</code>).</li>
+ <li>Inserting a table (<code>/table</code>).</li>
+ <li>Creating admonitions (e.g. <code>/tip</code>, <code>/note</code>, <code>/important</code>, <code>/caution</code>, <code>/warning</code>).</li>
+ <li>Inserting task items (<code>/todo:&lt;state&gt;</code>, e.g. <code>/todo:done</code>),
+ one per configured task state.</li>
+ <li>Inserting code snippets (<code>/snippet:&lt;name&gt;</code>) from your
+ Markdown/plain-text snippet notes.</li>
</ul>
<p>Note that slash commands only work outside of code blocks and inline code.</p>
<h4>Code block language auto-completion</h4>
@@ -251,11 +244,11 @@
href="#root/_help_6f9hih2hXXZk">Code</a>&nbsp;notes with one of the following
MIME types:</p>
<ul>
- <li><code spellcheck="false">text/markdown</code>
+ <li><code>text/markdown</code>
</li>
- <li><code spellcheck="false">text/x-markdown</code>
+ <li><code>text/x-markdown</code>
</li>
- <li><code spellcheck="false">text/x-gfm</code> (GitHub Flavored Markdown)</li>
+ <li><code>text/x-gfm</code> (GitHub Flavored Markdown)</li>
</ul>
</aside>
<h2>Import/export</h2>
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 3836592ffa..631c83b8d5 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
@@ -16,9 +16,9 @@
<ul>
<li>The default root note is the parent note of the note map.</li>
<li>To use the currently <a href="#root/_help_OR8WJ7Iz9K4U">hoisted note</a> instead,
- set the <code spellcheck="false">mapRootNoteId</code> label to <code spellcheck="false">hoisted</code>.</li>
- <li>To use a specific note instead, set <code spellcheck="false">mapRootNoteId</code> to
- the&nbsp;<a class="reference-link" href="#root/_help_m1lbrzyKDaRB">Note ID</a>&nbsp;of
+ set the <code>mapRootNoteId</code> label to <code>hoisted</code>.</li>
+ <li>To use a specific note instead, set <code>mapRootNoteId</code> to the&nbsp;<a
+ class="reference-link" href="#root/_help_m1lbrzyKDaRB">Note ID</a>&nbsp;of
the desired note.</li>
</ul>
<h2>Customization</h2>
@@ -34,20 +34,20 @@
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">#mapIncludeRelation</code>
+ <td><code>#mapIncludeRelation</code>
</td>
<td>Comma-delimited relation names to include from the note map.</td>
</tr>
<tr>
- <td><code spellcheck="false">#mapExcludeRelation</code>
+ <td><code>#mapExcludeRelation</code>
</td>
<td>Comma-delimited relation names to exclude from the note map.</td>
</tr>
<tr>
- <td><code spellcheck="false">#mapRootNoteId</code>
+ <td><code>#mapRootNoteId</code>
</td>
- <td>The ID of the note the map roots from, or <code spellcheck="false">hoisted</code>.
- See the root note section above for more information.</td>
+ <td>The ID of the note the map roots from, or <code>hoisted</code>. See the
+ root note section above for more information.</td>
</tr>
</tbody>
</table>
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 f5e028e5fc..531ab95742 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
@@ -66,7 +66,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 spellcheck="false">isPartnerOf</code> <a
+ Philip and Queen Elizabeth II. These two notes already have <code>isPartnerOf</code> <a
href="#root/_help_zEY4DaJG4YT5">relations</a>defined.
<ul>
<li>There are actually two "inverse" relations (one from Philip to Elizabeth
@@ -74,27 +74,24 @@ width="812" height="585">
</ul>
</li>
<li>we drag both notes to relation map and place to suitable position. Notice
- how the existing <code spellcheck="false">isPartnerOf</code> relations are
- displayed.</li>
+ how the existing <code>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 spellcheck="false">isChildOf</code> targeting
- both Philip and Elizabeth
+ <li>we create two new relations <code>isChildOf</code> targeting both Philip
+ and Elizabeth
<ul>
<li>now there's something unexpected - we can also see the relation to display
- 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>
+ 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>
</ul>
</li>
- <li>we create another note for Princess Diana and create <code spellcheck="false">isPartnerOf</code> relation
+ <li>we create another note for Princess Diana and create <code>isPartnerOf</code> relation
from Charles. Again notice how the relation has arrows both ways - this
- is because <code spellcheck="false">isPartnerOf</code> definition specifies
- its inverse relation as again "isPartnerOf" so the opposite relation is
- created automatically.</li>
+ is because <code>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
@@ -102,10 +99,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 spellcheck="false">displayRelations</code> label.</p>
+ names of relations in <code>displayRelations</code> label.</p>
<p>Alternatively, you can specify comma delimited list of relation names
- in <code spellcheck="false">hideRelations</code> which will display all relations,
- except for the ones defined in the label.</p>
+ in <code>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 c6aa362989..6b92396fd0 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
@@ -12,12 +12,12 @@
with the:
<ol>
<li>HTML language for the legacy/vanilla method, with what needs to be displayed
- (for example <code spellcheck="false">&lt;p&gt;Hello world.&lt;/p&gt;</code>).</li>
+ (for example <code>&lt;p&gt;Hello world.&lt;/p&gt;</code>).</li>
<li>JSX for the Preact-based approach (see below).</li>
</ol>
</li>
<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
+ <li>Assign the <code>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>
@@ -33,7 +33,7 @@ The current date &amp; time is &lt;span class="date"&gt;&lt;/span&gt;</code></pr
language. Make sure the newly created note is a direct child of the HTML
note created previously; with the following content:</p><pre><code class="language-text-javascript">const $dateEl = api.$container.find(".date");
$dateEl.text(new Date());</code></pre>
-<p>Now create a render note at any place and set its <code spellcheck="false">~renderNote</code> relation
+<p>Now create a render note at any place and set its <code>~renderNote</code> relation
to point to the HTML note. When the render note is accessed it will display:</p>
<blockquote>
<p><strong>Current date &amp; time</strong>
@@ -61,8 +61,8 @@ $dateEl.text(new Date());</code></pre>
}</code></pre>
</li>
<li>
- <p>In the parent render note, define a <code spellcheck="false">~renderNote</code> relation
- pointing to the newly created child.</p>
+ <p>In the parent render note, define a <code>~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>
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 bbc85fc36f..5c18cb4f82 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
@@ -8,7 +8,7 @@ style="width:50%;">
</figure>
<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
- 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
+ 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
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Spreadsheets.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Spreadsheets.html
index bdd8a7d452..164dd88052 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Spreadsheets.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Spreadsheets.html
@@ -62,8 +62,8 @@
<li>For the old layout, choose the corresponding buttons in the&nbsp;<a class="reference-link"
href="#root/_help_XpOYSgsLkTJy">Floating buttons</a>&nbsp;area.</li>
<li>If exported as a single file via&nbsp;<a class="reference-link" href="#root/_help_mHbBMPDPkVV5">Import &amp; Export</a>,
- the resulting file will be a custom <code spellcheck="false">.triliumsheet</code> file
- that preserves the spreadsheet as-is.
+ the resulting file will be a custom <code>.triliumsheet</code> file that
+ preserves the spreadsheet as-is.
<ul>
<li>The export is intentionally a different process than the normal&nbsp;<a
class="reference-link" href="#root/_help_mHbBMPDPkVV5">Import &amp; Export</a>&nbsp;functionality
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Automatic replacements.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Automatic replacements.html
index cfa1db2ce7..1490e5bd45 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Automatic replacements.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Automatic replacements.html
@@ -1,9 +1,7 @@
<h2>Automatic replacements</h2>
<p>As you type in a text note, certain character sequences are replaced with
- the typographic symbol they represent. Typing <code spellcheck="false">(c)</code> gives
- you <code spellcheck="false">©</code>, <code spellcheck="false">...</code> gives
- you <code spellcheck="false">…</code>, and <code spellcheck="false">"quote"</code> gives
- you <code spellcheck="false">“quote”</code>.</p>
+ the typographic symbol they represent. Typing <code>(c)</code> gives you <code>©</code>, <code>...</code> gives
+ you <code>…</code>, and <code>"quote"</code> gives you <code>“quote”</code>.</p>
<p>These replacements are not applied inside code blocks or inline code,
and pasted text is never affected, only text you type. If you have pasted
a code snippet, or written one inside a code block, its characters are
@@ -11,17 +9,17 @@
<h3>Undoing a replacement</h3>
<p>Once an automatic replacement takes place, it can be undone by:</p>
<ul>
- <li>Pressing <kbd spellcheck="false">Backspace</kbd> immediately after a replacement
- undoes it and restores what you typed.
+ <li>Pressing <kbd>Backspace</kbd> immediately after a replacement undoes it
+ and restores what you typed.
<ul>
- <li>Note that this consumes the undo, so a further <kbd spellcheck="false">Ctrl</kbd>+<kbd
- spellcheck="false">Z</kbd> might delete your typed text.</li>
- <li>Pressing <kbd spellcheck="false">Space</kbd> or changing the cursor position
- disables this functionality.</li>
+ <li>Note that this consumes the undo, so a further <kbd>Ctrl</kbd>+<kbd>Z</kbd> might
+ delete your typed text.</li>
+ <li>Pressing <kbd>Space</kbd> or changing the cursor position disables this
+ functionality.</li>
</ul>
</li>
- <li>Pressing <kbd spellcheck="false">Ctrl</kbd>+<kbd spellcheck="false">Z</kbd>,
- which works even after pressing space.</li>
+ <li>Pressing <kbd>Ctrl</kbd>+<kbd>Z</kbd>, which works even after pressing
+ space.</li>
</ul>
<h3>Replacement groups &amp; configuration</h3>
<p>Each group can be turned off in&nbsp;<a class="reference-link" href="#root/_help_4TIF1oA4VQRO">Options</a>&nbsp;→ <em>Text notes</em> → <em>Automatic replacements</em>.</p>
@@ -37,25 +35,17 @@ class="table">
<tbody>
<tr>
<td>Punctuation</td>
- <td><code spellcheck="false">...</code> with an ellipsis (<code spellcheck="false">…</code>),
- and <code spellcheck="false">--</code> and <code spellcheck="false">---</code> <em>surrounded by spaces</em> with
- an en dash (<code spellcheck="false">–</code>) and an em dash (<code spellcheck="false">—</code>)</td>
+ <td><code>...</code> with an ellipsis (<code>…</code>), and <code>--</code> and <code>---</code> <em>surrounded by spaces</em> with
+ an en dash (<code>–</code>) and an em dash (<code>—</code>)</td>
</tr>
<tr>
<td>Mathematical symbols</td>
- <td>fractions such as <code spellcheck="false">1/2</code> with <code spellcheck="false">½</code>,
- and the operators <code spellcheck="false">&lt;=</code>, <code spellcheck="false">&gt;=</code>, <code
- spellcheck="false">!=</code>, <code spellcheck="false">&lt;-</code> and <code
- spellcheck="false">-&gt;</code> with <code spellcheck="false">≤</code>, <code
- spellcheck="false">≥</code>, <code spellcheck="false">≠</code>, <code spellcheck="false">←</code> and <code
- spellcheck="false">→</code>
+ <td>fractions such as <code>1/2</code> with <code>½</code>, and the operators <code>&lt;=</code>, <code>&gt;=</code>, <code>!=</code>, <code>&lt;-</code> and <code>-&gt;</code> with <code>≤</code>, <code>≥</code>, <code>≠</code>, <code>←</code> and <code>→</code>
</td>
</tr>
<tr>
<td>Copyright and trademark</td>
- <td><code spellcheck="false">(c)</code>, <code spellcheck="false">(r)</code> and <code
- spellcheck="false">(tm)</code> with <code spellcheck="false">©</code>, <code
- spellcheck="false">®</code> and <code spellcheck="false">™</code>
+ <td><code>(c)</code>, <code>(r)</code> and <code>(tm)</code> with <code>©</code>, <code>®</code> and <code>™</code>
</td>
</tr>
<tr>
@@ -69,22 +59,17 @@ class="table">
<p>Quotation marks are configured separately from the rest, with one setting
for the <strong>double</strong> quote key and one for the <strong>single</strong> quote
key, because which pair belongs on which key differs between conventions:
- British typography traditionally sets a quotation in <code spellcheck="false">‘…’</code> where
- American sets it in <code spellcheck="false">“…”</code>.</p>
+ British typography traditionally sets a quotation in <code>‘…’</code> where
+ American sets it in <code>“…”</code>.</p>
<p>Each offers:</p>
<ul>
- <li><em>Based on the note's content language</em> (the default) — English gives <code
- spellcheck="false">“quote”</code>, German <code spellcheck="false">„quote“</code>,
- French <code spellcheck="false">« quote »</code>, Japanese <code spellcheck="false">「quote」</code>.
+ <li><em>Based on the note's content language</em> (the default) — English gives <code>“quote”</code>,
+ German <code>„quote“</code>, French <code>« quote »</code>, Japanese <code>「quote」</code>.
See&nbsp;<a class="reference-link" href="#root/_help_veGu4faJErEM">Content language &amp; Right-to-left support</a>&nbsp;for
how a note's language is decided.</li>
<li><em>Disabled,</em> straight quotes stay straight.</li>
- <li>A specific pair<em>: </em><code spellcheck="false">“…”</code>, <code spellcheck="false">‘…’</code>, <code
- spellcheck="false">„…“</code>, <code spellcheck="false">„…”</code>, <code
- spellcheck="false">«…»</code>, <code spellcheck="false">« … »</code>, <code
- spellcheck="false">‹…›</code>, <code spellcheck="false">「…」</code>, <code
- spellcheck="false">『…』</code>. Choosing one applies it to every note, regardless
- of its content language.</li>
+ <li>A specific pair_:_ <code>“…”</code>, <code>‘…’</code>, <code>„…“</code>, <code>„…”</code>, <code>«…»</code>, <code>« … »</code>, <code>‹…›</code>, <code>「…」</code>, <code>『…』</code>.
+ Choosing one applies it to every note, regardless of its content language.</li>
</ul>
<h2>Custom replacements</h2>
<p>You can add your own under&nbsp;<a class="reference-link" href="#root/_help_4TIF1oA4VQRO">Options</a>&nbsp;→ <em>Text notes</em> → <em>Automatic replacements</em> → <em>Custom replacements</em>.
@@ -92,9 +77,8 @@ class="table">
ones are shown as chips and removed with the × on each.</p>
<p>A custom replacement is applied when the text is typed as a whole word
and followed by a space, so longer words that begin with it are left alone
- — a <code spellcheck="false">TN</code> replacement does not rewrite the end
- of <code spellcheck="false">BTN</code>, and <code spellcheck="false">TNT</code> can
- still be typed.</p>
+ — a <code>TN</code> replacement does not rewrite the end of <code>BTN</code>,
+ and <code>TNT</code> can still be typed.</p>
<p>Capitalization follows what you type, unless the replacement has capitals
of its own:</p>
<figure class="table">
@@ -111,21 +95,19 @@ class="table">
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">teh</code> → <code spellcheck="false">the</code>
+ <td><code>teh</code> → <code>the</code>
</td>
- <td><code spellcheck="false">teh</code> / <code spellcheck="false">Teh</code> / <code
- spellcheck="false">TEH</code>
+ <td><code>teh</code> / <code>Teh</code> / <code>TEH</code>
</td>
- <td><code spellcheck="false">the</code> / <code spellcheck="false">The</code> / <code
- spellcheck="false">THE</code>
+ <td><code>the</code> / <code>The</code> / <code>THE</code>
</td>
</tr>
<tr>
- <td><code spellcheck="false">TN</code> → <code spellcheck="false">Trilium Notes</code>
+ <td><code>TN</code> → <code>Trilium Notes</code>
</td>
- <td><code spellcheck="false">TN</code> or <code spellcheck="false">tn</code>
+ <td><code>TN</code> or <code>tn</code>
</td>
- <td><code spellcheck="false">Trilium Notes</code> (unchanged, it has capitals)</td>
+ <td><code>Trilium Notes</code> (unchanged, it has capitals)</td>
</tr>
</tbody>
</table>
@@ -136,17 +118,14 @@ class="table">
<li>Typing a "text to replace" that already exists in the list of replacements
will update the existing one instead. It's not possible to have multiple
replacements for the same text.</li>
- <li>The same “text to replace” with different capitalization (e.g. <code spellcheck="false">TN</code> and <code
- spellcheck="false">tn</code> co-existing) doesn't work because it would
- interfere with the capitalization rules above.</li>
+ <li>The same “text to replace” with different capitalization (e.g. <code>TN</code> and <code>tn</code> co-existing)
+ doesn't work because it would interfere with the capitalization rules above.</li>
</ul>
<h2>Characters that only look replaced (ligatures)</h2>
-<p>If you see <code spellcheck="false">!=</code> displayed as <code spellcheck="false">≠</code> or <code
- spellcheck="false">-&gt;</code> as <code spellcheck="false">→</code> inside
+<p>If you see <code>!=</code> displayed as <code>≠</code> or <code>-&gt;</code> as <code>→</code> inside
a code block, that is not a replacement since replacements never run there
(unless a code block is applied to an existing text). It is a <em>font ligature</em>:
the default monospace font draws certain character pairs as a single symbol.
- The underlying text is unchanged, and copying it out gives you back <code
- spellcheck="false">!=</code> and <code spellcheck="false">-&gt;</code>.</p>
+ The underlying text is unchanged, and copying it out gives you back <code>!=</code> and <code>-&gt;</code>.</p>
<p>This can be turned off with&nbsp;<a class="reference-link" href="#root/_help_4TIF1oA4VQRO">Options</a><em>→ Appearance → Fonts → Programming ligatures.</em>
</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 52f90b11b7..2174f6b93f 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 spellcheck="false">!!! note</code>
+ <li><code>!!! note</code>
</li>
- <li><code spellcheck="false">!!! tip</code>
+ <li><code>!!! tip</code>
</li>
- <li><code spellcheck="false">!!! important</code>
+ <li><code>!!! important</code>
</li>
- <li><code spellcheck="false">!!! caution</code>
+ <li><code>!!! caution</code>
</li>
- <li><code spellcheck="false">!!! warning</code>
+ <li><code>!!! warning</code>
</li>
</ul>
-<p>In addition to that, it's also possible to type <code spellcheck="false">!!!</code>&nbsp;
+<p>In addition to that, it's also possible to type <code>!!!</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/Content language & Right-to-left support.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Content language & Right-to-left support.html
index 983c55069e..121500f324 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Content language & Right-to-left support.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Content language & Right-to-left support.html
@@ -8,9 +8,8 @@
<li>Whether the text is displayed from right-to-left, for languages such as
Arabic, Hebrew, etc.</li>
<li>How typed quotes are <a href="#root/_help_oI7GoyilXXAr">automatically replaced</a> (e.g.
- English uses <code spellcheck="false">“text”</code>, whereas some languages
- use <code spellcheck="false">«text»</code>). This applies only if&nbsp;<a
- class="reference-link" href="#root/_help_4TIF1oA4VQRO">Options</a>&nbsp;→ <em>Text</em> → <em>Single/Double quotation marks</em> is
+ English uses <code>“text”</code>, whereas some languages use <code>«text»</code>).
+ This applies only if&nbsp;<a class="reference-link" href="#root/_help_4TIF1oA4VQRO">Options</a>&nbsp;→ <em>Text</em> → <em>Single/Double quotation marks</em> is
set to <em>Based on note's content language</em>.</li>
<li>Which languages are offered by the&nbsp;<a class="reference-link" href="#root/_help_VRoP0g1uHHc2">In-editor AI assistant</a>&nbsp;for
translation.</li>
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 35fa20ff86..4e2e111c64 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 formatting_image.png">
</p>
<p>Example of inline code being used to illustrate file system paths as well
- as shell commands (<code spellcheck="false">git</code> in this case).</p>
+ as shell commands (<code>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 formatting_image.png">button.</li>
- <li>Type `code` where <code spellcheck="false">code</code> is the desired text
- to be automatically formatted as inline code.</li>
+ <li>Type `code` where <code>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 d31aa28951..6100dc2cfc 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 spellcheck="false">```</code> (as in Markdown).
+ <li>Type <code>```</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>
@@ -113,10 +113,8 @@
The only way the automatic replacements can interfere is if the text is
typed/pasted before being put in a code block.</p>
<p>A different feature is <em>programming ligatures</em>, which is simply
- a display affordance which turns <code spellcheck="false">!=</code> into <code
- spellcheck="false">≠</code> or <code spellcheck="false">-&gt;</code> as <code
- spellcheck="false">→</code> . These come from the <a href="#root/_help_w4rMEhJsALlA">font</a>.
- The underlying text is not actually changed, and copying it out gives you
- back <code spellcheck="false">!=</code> and <code spellcheck="false">-&gt;</code>.</p>
+ a display affordance which turns <code>!=</code> into <code>≠</code> or <code>-&gt;</code> as <code>→</code> .
+ These come from the <a href="#root/_help_w4rMEhJsALlA">font</a>. The underlying
+ text is not actually changed, and copying it out gives you back <code>!=</code> and <code>-&gt;</code>.</p>
<p>Ligatures can be disabled in&nbsp;<a class="reference-link" href="#root/_help_4TIF1oA4VQRO">Options</a><em>→ Appearance → Fonts → Programming ligatures.</em>
</p>
\ No newline at end of file
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 235f9742a0..dc63ed5119 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 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>
+ <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>
</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 34530d00f2..5b63a76099 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 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>
+ <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>
</ul>
<h2>Font size</h2>
<figure class="image image-style-align-right">
@@ -50,12 +50,11 @@
</ul>
<p>Alternatively, Markdown-like formatting can be used:</p>
<ul>
- <li><strong>Bold</strong>: Type <code spellcheck="false">**text**</code> or <code
- spellcheck="false">__text__</code>
+ <li><strong>Bold</strong>: Type <code>**text**</code> or <code>__text__</code>
</li>
- <li><em>Italic</em>: Type <code spellcheck="false">*text*</code> or <code spellcheck="false">_text_</code>
+ <li><em>Italic</em>: Type <code>*text*</code> or <code>_text_</code>
</li>
- <li><del>Strikethrough</del>: Type <code spellcheck="false">~~text~~</code>
+ <li><del>Strikethrough</del>: Type <code>~~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/Include Note.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Include Note.html
index 76f14a3f1f..09909957f4 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
@@ -13,7 +13,7 @@
as if they were 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 spellcheck="false">#shareHiddenFromTree</code>.</p>
+ the note tree via <code>#shareHiddenFromTree</code>.</p>
<h2>Interactive notes</h2>
<p>Since v0.104.0, included notes might become interactive depending on their
note type:</p>
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 b639800669..e8c75e2c54 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
@@ -13,12 +13,11 @@
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
- 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">
+<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">
<h2>Symbols</h2>
<figure class="image image-style-align-right">
<img style="aspect-ratio:346/322;" src="1_Insert buttons_image.png" width="346"
@@ -55,8 +54,7 @@ width="272" height="187">
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>
+<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"
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 284bc6f35f..5a36aabd3b 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
@@ -108,7 +108,7 @@
<td></td>
</tr>
<tr>
- <td>Insert a soft break (a <code spellcheck="false">&lt;br&gt;</code> element)</td>
+ <td>Insert a soft break (a <code>&lt;br&gt;</code> element)</td>
<td>Shift+Enter</td>
<td>⇧Enter</td>
</tr>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Link Previews.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Link Previews.html
index 84777d55ef..88ee398837 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Link Previews.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Link Previews.html
@@ -11,7 +11,7 @@
<li><strong>Embed</strong> — a block-level interactive embed.
<ul>
<li>Currently supported for YouTube videos, which render interactively (via
- an <code spellcheck="false">iframe</code>).</li>
+ an <code>iframe</code>).</li>
<li>To prevent unwanted remote requests, the video is shown only after clicking
on it first.</li>
</ul>
@@ -101,11 +101,9 @@ class="admonition note">
<li><strong>YouTube URLs</strong> — title, channel name, and thumbnail are
fetched via YouTube's public oEmbed endpoint.</li>
<li><strong>All other URLs</strong> — Trilium fetches the page and reads OpenGraph
- tags (<code spellcheck="false">og:title</code>, <code spellcheck="false">og:description</code>, <code
- spellcheck="false">og:image</code>, <code spellcheck="false">og:site_name</code>),
- falling back to the page's <code spellcheck="false">&lt;title&gt;</code> and <code
- spellcheck="false">&lt;meta name="description"&gt;</code>. The site's favicon
- is downloaded and inlined.</li>
+ tags (<code>og:title</code>, <code>og:description</code>, <code>og:image</code>, <code>og:site_name</code>),
+ falling back to the page's <code>&lt;title&gt;</code> and <code>&lt;meta name="description"&gt;</code>.
+ The site's favicon is downloaded and inlined.</li>
</ul>
<p>Because the data is stored in the note itself, link previews continue
to render correctly when you reopen the note, share/publish it, or export
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Links/Backlinks.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Links/Backlinks.html
index 9ab0624d9e..c8be7f9331 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Links/Backlinks.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Links/Backlinks.html
@@ -10,28 +10,24 @@
<ul>
<li>Relations that Trilium maintains on your behalf.
<ul>
- <li>The most common is <code spellcheck="false">internalLink</code>, created
- whenever a note refers to another one through&nbsp;<a class="reference-link"
- href="#root/_help_hrZ1D00cLbal">Internal (reference) links</a>&nbsp;in
+ <li>The most common is <code>internalLink</code>, created whenever a note refers
+ to another one through&nbsp;<a class="reference-link" href="#root/_help_hrZ1D00cLbal">Internal (reference) links</a>&nbsp;in
its text.</li>
- <li>Embedded images (<code spellcheck="false">imageLink</code>), relation
- map connections (<code spellcheck="false">relationMapLink</code>) and note
- inclusions (<code spellcheck="false">includeNoteLink</code>) work the same
- way.</li>
+ <li>Embedded images (<code>imageLink</code>), relation map connections (<code>relationMapLink</code>)
+ and note inclusions (<code>includeNoteLink</code>) work the same way.</li>
</ul>
</li>
<li>Relations you define yourself.
<ul>
- <li>If another note carries <code spellcheck="false">~author</code> pointing
- at the current note, that note is listed here as well.</li>
+ <li>If another note carries <code>~author</code> pointing at the current note,
+ that note is listed here as well.</li>
</ul>
</li>
</ul>
<p>Relations coming from a&nbsp;<a class="reference-link" href="#root/_help_m523cpzocqaD">Saved Search</a>&nbsp;are
- excluded, since a search stores an <code spellcheck="false">ancestor</code> relation
- that would otherwise list every one of its results as a backlink.</p>
-<aside
-class="admonition note">
+ excluded, since a search stores an <code>ancestor</code> relation that would
+ otherwise list every one of its results as a backlink.</p>
+<aside class="admonition note">
<p>Only some note types have their content scanned for links:&nbsp;<a class="reference-link"
href="#root/_help_iPIMuisry3hd">Text</a>,&nbsp;<a class="reference-link"
href="#root/_help_6RM1Q7ppFVoj">Markdown</a>,&nbsp;<a class="reference-link"
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 94dfe1f13f..f6872aec68 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
@@ -35,10 +35,9 @@
</li>
</ol>
<h2>In-place linking</h2>
-<p>You can also insert internal links “inline” by using the <code spellcheck="false">@</code> symbol:</p>
+<p>You can also insert internal links “inline” by using the <code>@</code> symbol:</p>
<ol>
- <li>Type <code spellcheck="false">@</code> in a text note, which will open the
- note search menu.</li>
+ <li>Type <code>@</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 ddf61b358a..8ae0ecf72d 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
@@ -16,12 +16,12 @@
<ul>
<li>To create a new list:
<ul>
- <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>
+ <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>
</ul>
</li>
<li>To create a new item in the list, press <kbd>Enter</kbd>.</li>
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 103ac79500..16b2d68877 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
@@ -9,58 +9,56 @@
<ul>
<li>For <a href="#root/_help_Gr6xFaF6ioJ5">headings:</a>
<ul>
- <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>
+ <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>
</ul>
</li>
<li>For&nbsp;<a class="reference-link" href="#root/_help_Gr6xFaF6ioJ5">General formatting</a>:
<ul>
- <li><strong>Bold</strong>: Type <code spellcheck="false">**text**</code> or <code
- spellcheck="false">__text__</code>
+ <li><strong>Bold</strong>: Type <code>**text**</code> or <code>__text__</code>
</li>
- <li><em>Italic</em>: Type <code spellcheck="false">*text*</code> or <code spellcheck="false">_text_</code>
+ <li><em>Italic</em>: Type <code>*text*</code> or <code>_text_</code>
</li>
- <li><del>Strikethrough</del>: Type <code spellcheck="false">~~text~~</code>
+ <li><del>Strikethrough</del>: Type <code>~~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 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>
+ <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>
</ul>
</li>
- <li>For <a href="#root/_help_NwBbFdNZ9h7O">block quotes</a>, press <code spellcheck="false">&gt;</code>,
+ <li>For <a href="#root/_help_NwBbFdNZ9h7O">block quotes</a>, press <code>&gt;</code>,
followed by a space.</li>
<li>For&nbsp;<a class="reference-link" href="#root/_help_QxEyIjRBizuC">Code blocks</a>,
- type <code spellcheck="false">```</code>.</li>
- <li>For a <a href="#root/_help_dEHYtoWWi8ct">horizontal line</a>, type <code
- spellcheck="false">---</code>.</li>
+ type <code>```</code>.</li>
+ <li>For a <a href="#root/_help_dEHYtoWWi8ct">horizontal line</a>, type <code>---</code>.</li>
<li>For <a href="#root/_help_NwBbFdNZ9h7O">admonitions</a>:
<ul>
- <li><code spellcheck="false">!!! note</code>
+ <li><code>!!! note</code>
</li>
- <li><code spellcheck="false">!!! tip</code>
+ <li><code>!!! tip</code>
</li>
- <li><code spellcheck="false">!!! important</code>
+ <li><code>!!! important</code>
</li>
- <li><code spellcheck="false">!!! caution</code>
+ <li><code>!!! caution</code>
</li>
- <li><code spellcheck="false">!!! warning</code>
+ <li><code>!!! warning</code>
</li>
- <li>Starting any other text with <code spellcheck="false">!!!</code> will insert
- a note admonition with the text inside of it.</li>
+ <li>Starting any other text with <code>!!!</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 spellcheck="false">:</code> followed
+ <li>For <a href="#root/_help_CohkqWQC1iBv">emojis</a>, type <code>:</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 84be324872..0efd3ecfa0 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
@@ -15,10 +15,10 @@
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 spellcheck="false">$$</code> or <code
- spellcheck="false">\[</code> to trigger the popup directly.</p>
+ shortcut can be more comfortable. Alternatively, type <code>$$</code> or <code>\[</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 spellcheck="false">$</code> or pressing <kbd>Ctrl</kbd>+<kbd>M</kbd>.</p>
+ such as surrounding it with <code>$</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 <a
@@ -27,8 +27,8 @@
documentation.</p>
<h2>Markdown support</h2>
<p>Math equations will be preserved when exporting to or importing from Markdown,
- surrounded by <code spellcheck="false">$</code> characters for inline math
- expressions, and <code spellcheck="false">$$</code> for display mode.</p>
+ surrounded by <code>$</code> characters for inline math expressions, and <code>$$</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 11db71a17d..edaea730c4 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
@@ -25,7 +25,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 spellcheck="false"># Heading 1</code> to
+<p>Note that this only works with raw Markdown (e.g. <code># 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/Spell Check.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Spell Check.html
index f2f7b747fb..47c592876c 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Spell Check.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Spell Check.html
@@ -53,7 +53,7 @@ class="admonition note">
system's user dictionary. This means:</p>
<ul>
<li>Words added via the context menu are also written to the OS-level dictionary
- (e.g. <code spellcheck="false">%APPDATA%\Microsoft\Spelling\&lt;language&gt;\default.dic</code> on
+ (e.g. <code>%APPDATA%\Microsoft\Spelling\&lt;language&gt;\default.dic</code> on
Windows).</li>
<li><strong>Removing a word</strong> from the Trilium dictionary note prevents
it from being loaded into the spellchecker on next startup, but does <em>not</em> remove
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 d162349fd7..ed5474312d 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
@@ -82,8 +82,8 @@ src="10_Tables_image.png" width="384" 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 spellcheck="false">%</code>)
- or pixels (must end with <code spellcheck="false">px</code>).</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 alignment of the table.
<ul>
<li>Left or right-aligned, case in which the text will flow next to it.</li>
@@ -108,8 +108,8 @@ src="10_Tables_image.png" width="384" 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 spellcheck="false">%</code>)
- or pixels (must end with <code spellcheck="false">px</code>).</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 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>
@@ -160,9 +160,9 @@ src="10_Tables_image.png" width="384" height="100">
<ol>
<li><em>Style</em> to <em>Single</em>
</li>
- <li><em>Color</em> to <code spellcheck="false">transparent</code>
+ <li><em>Color</em> to <code>transparent</code>
</li>
- <li>Width to <code spellcheck="false">1px</code>.</li>
+ <li>Width to <code>1px</code>.</li>
</ol>
</li>
<li>In Cell Properties, set the same as on the previous step.</li>
@@ -182,8 +182,8 @@ src="10_Tables_image.png" width="384" height="100">
when converting to Markdown.</p>
<h2>Markdown import/export</h2>
<p>Simple tables are exported in GitHub-flavored Markdown format (e.g. a
- 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>
+ 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>
<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/Text/Text Snippets.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Text Snippets.html
index edc71afef9..4b3e70ac94 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Text Snippets.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Text Snippets.html
@@ -26,7 +26,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 spellcheck="false">template</code>.</li>
+ <li>To look for all the templates, type <code>template</code>.</li>
</ol>
</li>
</ol>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/To-do Lists.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/To-do Lists.html
index f48d061a3e..f3780f531e 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/To-do Lists.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/To-do Lists.html
@@ -23,16 +23,16 @@
<p>When at the beginning on an empty paragraph, type the following to insert
a to-do list:</p>
<ul>
- <li><code spellcheck="false">[ ]</code> for an unchecked item</li>
- <li><code spellcheck="false">[x]</code> for a checked item</li>
+ <li><code>[ ]</code> for an unchecked item</li>
+ <li><code>[x]</code> for a checked item</li>
</ul>
<p>Extended task states are supported as well, using its corresponding <em>Markdown symbol</em>.
These are the defaults but they can be changed if needed (see&nbsp;<a class="reference-link"
href="#root/_help_i16PM6A7GXdU">Customizing to-do task states</a>):</p>
<ul>
- <li><code spellcheck="false">[/]</code> for “Doing”.</li>
- <li><code spellcheck="false">[?]</code> for “Maybe”.</li>
- <li><code spellcheck="false">[-]</code> for “Cancelled”.</li>
+ <li><code>[/]</code> for “Doing”.</li>
+ <li><code>[?]</code> for “Maybe”.</li>
+ <li><code>[-]</code> for “Cancelled”.</li>
</ul>
<p>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.</p>
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 985838be91..0fa20ca4d3 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 spellcheck="false">webViewSrc</code> <a href="#root/_help_zEY4DaJG4YT5">label</a>,
+ setting the <code>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>
<p>The URL needs to contain the full scheme.</p>
<h2>Web view on the server vs. Electron</h2>
@@ -9,22 +9,22 @@
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 spellcheck="false">X-Frame-Options</code> header).
+ website (technically they have a non-permisive <code>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 spellcheck="false">Refused to display 'https://www.google.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.</code>
+ <li><code>Refused to display 'https://www.google.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.</code>
</li>
- <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><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>
</ul>
-<p>There are a few websites that do render such as <code spellcheck="false">wikipedia.org</code>.</p>
+<p>There are a few websites that do render such as <code>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 spellcheck="false">X-Frame-Options</code> described
+ side, so if you have any issues other than the unresolvable <code>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 spellcheck="false">iframe</code> (<code spellcheck="false">webview</code>).</p>
+ constraints of an <code>iframe</code> (<code>webview</code>).</p>
<h2>Embedding in other note types</h2>
<p>Starting with v0.104.0, web views can be embedded into other note types:</p>
<ul>
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 d1bc4bc45f..6c3395c578 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,22 +33,21 @@
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
- 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>
+<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>
<h3>Execute button</h3>
<p>Runnable code notes (frontend or backend) and saved SQL consoles can optionally
have a dedicated execute button alongside a description.</p>
<p>To do so, apply the following <a href="#root/_help_HI6GBBIduIgv">labels</a>:</p>
<ul>
- <li>A <code spellcheck="false">#executeButton</code> with the value of the label
- being displayed as the label of the button.</li>
- <li>An optional <code spellcheck="false">#executeDescription</code> which adds
- explanatory text beside it.</li>
+ <li>A <code>#executeButton</code> with the value of the label being displayed
+ as the label of the button.</li>
+ <li>An optional <code>#executeDescription</code> which adds explanatory text
+ beside it.</li>
</ul>
<h2>Autocomplete &amp; linting</h2>
<p>Starting with Trilium v0.104.0, frontend scripts, backend scripts and
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Backend scripts.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Backend scripts.html
index eeeb6145ee..fe48d503dc 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Backend scripts.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Backend scripts.html
@@ -30,5 +30,5 @@
href="#root/_help_GPERMystNGTB">Events</a>&nbsp;page.</p>
<h2>Script API</h2>
<p>Trilium exposes a set of APIs that can be directly consumed by scripts,
- under the <code spellcheck="false">api</code> object. For a reference of
- this API, see&nbsp;<a class="reference-link" href="#root/_help_MEtfsqa5VwNi">Backend API</a>.</p>
\ No newline at end of file
+ under the <code>api</code> object. For a reference of this API, see&nbsp;<a
+ class="reference-link" href="#root/_help_MEtfsqa5VwNi">Backend API</a>.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Backend scripts/Backend Events.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Backend scripts/Backend Events.html
index 83dc3d882b..45badf57d8 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Backend scripts/Backend Events.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Backend scripts/Backend Events.html
@@ -3,8 +3,8 @@
to the "JavaScript (Trilium backend)" code note.</p>
<h2>Global events</h2>
<p>Global events are attached to the script note via label. Simply create
- a <code spellcheck="false">run</code> label with some of these values and
- script note will be executed once the event occurs.</p>
+ a <code>run</code> label with some of these values and script note will be
+ executed once the event occurs.</p>
<figure class="table">
<table>
<thead>
@@ -15,30 +15,28 @@
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">run</code>
+ <td><code>run</code>
</td>
<td>
<p>Defines on which events script should run. Possible values are:</p>
<ul>
- <li><code spellcheck="false">backendStartup</code> - when Trilium backend starts
- up</li>
- <li><code spellcheck="false">hourly</code> - run once an hour. You can use
- additional label <code spellcheck="false">runAtHour</code> to specify at
- which hour, on the back-end.</li>
- <li><code spellcheck="false">daily</code> - run once a day, on the back-end</li>
+ <li><code>backendStartup</code> - when Trilium backend starts up</li>
+ <li><code>hourly</code> - run once an hour. You can use additional label <code>runAtHour</code> to
+ specify at which hour, on the back-end.</li>
+ <li><code>daily</code> - run once a day, on the back-end</li>
</ul>
</td>
</tr>
<tr>
- <td><code spellcheck="false">runOnInstance</code>
+ <td><code>runOnInstance</code>
</td>
<td>Specifies that the script should only run on a particular&nbsp;<a class="reference-link"
href="#root/_help_c5xB8m4g2IY6">Trilium instance</a>.</td>
</tr>
<tr>
- <td><code spellcheck="false">runAtHour</code>
+ <td><code>runAtHour</code>
</td>
- <td>On which hour should this run. Should be used together with <code spellcheck="false">#run=hourly</code>.
+ <td>On which hour should this run. Should be used together with <code>#run=hourly</code>.
Can be defined multiple times for more runs during the day.</td>
</tr>
</tbody>
@@ -48,8 +46,7 @@
such as when the application starts.</p>
<aside class="admonition note">
<p>One script can be triggered on multiple events, this can be done by adding
- multiple <code spellcheck="false">run</code> labels. Separating multiple
- values by commas <strong>is not</strong> supported.</p>
+ multiple <code>run</code> labels. Separating multiple values by commas <strong>is not</strong> supported.</p>
</aside>
<h2>Entity events</h2>
<p>Other events are bound to some entity, these are defined as <a href="#root/_help_zEY4DaJG4YT5">relations</a> -
@@ -66,92 +63,89 @@
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">runOnNoteCreation</code>
+ <td><code>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 spellcheck="false">BNote</code> that got created.</td>
+ <td>The <code>BNote</code> that got created.</td>
</tr>
<tr>
- <td><code spellcheck="false">runOnChildNoteCreation</code>
+ <td><code>runOnChildNoteCreation</code>
</td>
<td>executes when new note is created under the note where this relation is
defined</td>
- <td>The <code spellcheck="false">BNote</code> of the child that got created.</td>
+ <td>The <code>BNote</code> of the child that got created.</td>
</tr>
<tr>
- <td><code spellcheck="false">runOnNoteTitleChange</code>
+ <td><code>runOnNoteTitleChange</code>
</td>
<td>executes when note title is changed (includes note creation as well)</td>
- <td>The <code spellcheck="false">BNote</code> of the note whose title got changed.</td>
+ <td>The <code>BNote</code> of the note whose title got changed.</td>
</tr>
<tr>
- <td><code spellcheck="false">runOnNoteContentChange</code>
+ <td><code>runOnNoteContentChange</code>
</td>
<td>executes when note content is changed (includes note creation as well).</td>
- <td>The <code spellcheck="false">BNote</code> of the note whose content got
- changed.</td>
+ <td>The <code>BNote</code> of the note whose content got changed.</td>
</tr>
<tr>
- <td><code spellcheck="false">runOnNoteChange</code>
+ <td><code>runOnNoteChange</code>
</td>
<td>executes when note is changed (includes note creation as well). Does not
include content changes</td>
- <td>The <code spellcheck="false">BNote</code> of the note that got changed.</td>
+ <td>The <code>BNote</code> of the note that got changed.</td>
</tr>
<tr>
- <td><code spellcheck="false">runOnNoteDeletion</code>
+ <td><code>runOnNoteDeletion</code>
</td>
<td>executes when note is being deleted</td>
- <td>The <code spellcheck="false">BNote</code> of the note that got (soft) deleted.</td>
+ <td>The <code>BNote</code> of the note that got (soft) deleted.</td>
</tr>
<tr>
- <td><code spellcheck="false">runOnBranchCreation</code>
+ <td><code>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 spellcheck="false">BBranch</code> that got created.</td>
+ <td>The <code>BBranch</code> that got created.</td>
</tr>
<tr>
- <td><code spellcheck="false">runOnBranchChange</code>
+ <td><code>runOnBranchChange</code>
</td>
<td>executes when a branch is updated. (since v0.62)</td>
- <td>The <code spellcheck="false">BBranch</code> that got changed.</td>
+ <td>The <code>BBranch</code> that got changed.</td>
</tr>
<tr>
- <td><code spellcheck="false">runOnBranchDeletion</code>
+ <td><code>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 spellcheck="false">BBranch</code> that got (soft) deleted.</td>
+ <td>The <code>BBranch</code> that got (soft) deleted.</td>
</tr>
<tr>
- <td><code spellcheck="false">runOnAttributeCreation</code>
+ <td><code>runOnAttributeCreation</code>
</td>
<td>executes when new attribute is created for the note which defines this
relation</td>
- <td>The <code spellcheck="false">BAttribute</code> that got created.</td>
+ <td>The <code>BAttribute</code> that got created.</td>
</tr>
<tr>
- <td><code spellcheck="false">runOnAttributeChange</code>
+ <td><code>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 spellcheck="false">BAttribute</code> that got changed.</td>
+ <td>The <code>BAttribute</code> that got changed.</td>
</tr>
</tbody>
</table>
</figure>
<h2>Origin entity</h2>
-<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-text-javascript">const attr = api.originEntity;
+<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-text-javascript">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 d3784a2a17..7820ccfe2d 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,5 +4,4 @@ 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 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
+ a <code>node_modules</code> in the server directory via <code>npm</code> or <code>pnpm</code>.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Breaking changes/v0.102.0 Upgrade to jQuery 4.0.0.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Breaking changes/v0.102.0 Upgrade to jQuery 4.0.0.html
index e94ac506f6..31e2f62176 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Breaking changes/v0.102.0 Upgrade to jQuery 4.0.0.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Breaking changes/v0.102.0 Upgrade to jQuery 4.0.0.html
@@ -1,20 +1,13 @@
<p>jQuery 4 removes legacy browser support (such as IE11 support), but it
also removes some APIs that are considered deprecated such as:</p>
<blockquote>
- <p><code spellcheck="false">jQuery.isArray</code>, <code spellcheck="false">jQuery.parseJSON</code>, <code
- spellcheck="false">jQuery.trim</code>, <code spellcheck="false">jQuery.type</code>, <code
- spellcheck="false">jQuery.now</code>, <code spellcheck="false">jQuery.isNumeric</code>, <code
- spellcheck="false">jQuery.isFunction</code>, <code spellcheck="false">jQuery.isWindow</code>, <code
- spellcheck="false">jQuery.camelCase</code>, <code spellcheck="false">jQuery.nodeName</code>, <code
- spellcheck="false">jQuery.cssNumber</code>, <code spellcheck="false">jQuery.cssProps</code>,
- and <code spellcheck="false">jQuery.fx.interval</code>.</p>
- <p>Use native equivalents like <code spellcheck="false">Array.isArray()</code>, <code
- spellcheck="false">JSON.parse()</code>, <code spellcheck="false">String.prototype.trim()</code>,
- and <code spellcheck="false">Date.now()</code> instead.</p>
+ <p><code>jQuery.isArray</code>, <code>jQuery.parseJSON</code>, <code>jQuery.trim</code>, <code>jQuery.type</code>, <code>jQuery.now</code>, <code>jQuery.isNumeric</code>, <code>jQuery.isFunction</code>, <code>jQuery.isWindow</code>, <code>jQuery.camelCase</code>, <code>jQuery.nodeName</code>, <code>jQuery.cssNumber</code>, <code>jQuery.cssProps</code>,
+ and <code>jQuery.fx.interval</code>.</p>
+ <p>Use native equivalents like <code>Array.isArray()</code>, <code>JSON.parse()</code>, <code>String.prototype.trim()</code>,
+ and <code>Date.now()</code> instead.</p>
</blockquote>
<p>This may affect custom scripts if they (or the custom jQuery libraries
used) depend on the deprecated APIs.</p>
-<p>Note that Trilium polyfills <code spellcheck="false">jQuery.isArray</code>, <code
- spellcheck="false">isFunction</code> and <code spellcheck="false">isPlainObject</code> because
+<p>Note that Trilium polyfills <code>jQuery.isArray</code>, <code>isFunction</code> and <code>isPlainObject</code> because
they were required by one of our dependencies (the autocomplete).</p>
<p>For more information, consult <a href="https://blog.jquery.com/2026/01/17/jquery-4-0-0/">the official blog post</a>.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Breaking changes/v0.103.0 Removal of axios.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Breaking changes/v0.103.0 Removal of axios.html
index 256ca352ca..607ec5427f 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Breaking changes/v0.103.0 Removal of axios.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Breaking changes/v0.103.0 Removal of axios.html
@@ -1,24 +1,23 @@
-<p>The <code spellcheck="false">api.axios</code> library has been removed from
- the backend scripting API.</p>
-<p>Scripts that attempt to use <code spellcheck="false">api.axios</code> will
- now throw an error with migration instructions.</p>
+<p>The <code>api.axios</code> library has been removed from the backend scripting
+ API.</p>
+<p>Scripts that attempt to use <code>api.axios</code> will now throw an error
+ with migration instructions.</p>
<h2>Reasoning</h2>
<p>Axios was marked as deprecated at least since April 2024 in favor of the
- native <code spellcheck="false">fetch()</code> API, which is available in
- both browser and Node.js environments. After two years of deprecation,
- the library was removed following the <a href="https://www.malwarebytes.com/blog/news/2026/03/axios-supply-chain-attack-chops-away-at-npm-trust">March 2026 npm supply chain compromise</a>,
+ native <code>fetch()</code> API, which is available in both browser and Node.js
+ environments. After two years of deprecation, the library was removed following
+ the <a href="https://www.malwarebytes.com/blog/news/2026/03/axios-supply-chain-attack-chops-away-at-npm-trust">March 2026 npm supply chain compromise</a>,
where attackers published malicious versions that deployed a remote access
- trojan. The Trilium's main developer almost got compromised, but <code spellcheck="false">pnpm</code> not
+ trojan. The Trilium's main developer almost got compromised, but <code>pnpm</code> not
trusting unknown post-install scripts successfully avoided that.</p>
<h2>Migration</h2>
-<p>Replace <code spellcheck="false">api.axios</code> calls with the native <code
- spellcheck="false">fetch()</code> API.</p>
-<h3><code spellcheck="false">GET</code> calls</h3>
+<p>Replace <code>api.axios</code> calls with the native <code>fetch()</code> API.</p>
+<h3><code>GET</code> calls</h3>
<p>Before (Axios):</p><pre><code class="language-text-javascript">const response = await api.axios.get('https://api.example.com/data');
const data = response.data;</code></pre>
-<p>After (<code spellcheck="false">fetch</code>):</p><pre><code class="language-text-javascript">const response = await fetch('https://api.example.com/data');
+<p>After (<code>fetch</code>):</p><pre><code class="language-text-javascript">const response = await fetch('https://api.example.com/data');
const data = await response.json();</code></pre>
-<h3><code spellcheck="false">POST</code> calls</h3>
+<h3><code>POST</code> calls</h3>
<p>Before (Axios):</p><pre><code class="language-text-javascript">await api.axios.post('https://api.example.com/data', { key: 'value' });</code></pre>
<p>After (fetch):</p><pre><code class="language-text-javascript">await fetch('https://api.example.com/data', {
method: 'POST',
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Breaking changes/v0.103.0 `cheerio` is now deprecated.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Breaking changes/v0.103.0 `cheerio` is now deprecated.html
index 7ff16beb02..9f9ebc3803 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Breaking changes/v0.103.0 `cheerio` is now deprecated.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Breaking changes/v0.103.0 `cheerio` is now deprecated.html
@@ -1,18 +1,18 @@
-<p>The <code spellcheck="false">api.cheerio</code> library is deprecated and
- will be removed in a future version.</p>
+<p>The <code>api.cheerio</code> library is deprecated and will be removed in
+ a future version.</p>
<aside class="admonition note">
- <p><code spellcheck="false">cheerio</code> was removed in v0.106.0. See <a
- class="reference-link" href="#root/_help_kTx7WqLdZ3Ry">v0.106.0: Removal of cheerio</a> for
- the full migration guide.</p>
+ <p><code>cheerio</code> was removed in v0.106.0. See <a class="reference-link"
+ href="#root/_help_kTx7WqLdZ3Ry">v0.106.0: Removal of cheerio</a> for the
+ full migration guide.</p>
</aside>
<h2>Reasoning</h2>
<p>Cheerio is only used for the scripting API while the server internally
- uses <code spellcheck="false">node-html-parser</code> for HTML parsing. Removing <code
- spellcheck="false">cheerio</code> reduces bundle size and maintenance overhead.</p>
+ uses <code>node-html-parser</code> for HTML parsing. Removing <code>cheerio</code> reduces
+ bundle size and maintenance overhead.</p>
<h2>Migration</h2>
-<p>Before (<code spellcheck="false">cheerio</code>):</p><pre><code class="language-text-javascript">const $ = api.cheerio.load(html);
+<p>Before (<code>cheerio</code>):</p><pre><code class="language-text-javascript">const $ = api.cheerio.load(html);
const title = $('h1').text();
const links = $('a').map((i, el) =&gt; $(el).attr('href')).get();</code></pre>
-<p>After (<code spellcheck="false">htmlParser</code>):</p><pre><code class="language-text-javascript">const root = api.htmlParser.parse(html);
+<p>After (<code>htmlParser</code>):</p><pre><code class="language-text-javascript">const root = api.htmlParser.parse(html);
const title = root.querySelector('h1')?.textContent;
const links = root.querySelectorAll('a').map(a =&gt; a.getAttribute('href'));</code></pre>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Breaking changes/v0.104.0 Disabling the Node integration in Electron.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Breaking changes/v0.104.0 Disabling the Node integration in Electron.html
index 620c29899c..80bd934e46 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Breaking changes/v0.104.0 Disabling the Node integration in Electron.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Breaking changes/v0.104.0 Disabling the Node integration in Electron.html
@@ -1,10 +1,9 @@
<h2>Introduction</h2>
<p>Before v0.104.0, code executed at renderer level (e.g. front-end scripts)
- could directly require <code spellcheck="false">@electron/remote</code> or
- even Node.js APIs (e.g. <code spellcheck="false">process</code> or <code spellcheck="false">fs</code>). While
- this makes them powerful, it also exposes a significant attack surface
- — any XSS or untrusted script in a note becomes remote code execution on
- the host.</p>
+ could directly require <code>@electron/remote</code> or even Node.js APIs
+ (e.g. <code>process</code> or <code>fs</code>). While this makes them powerful,
+ it also exposes a significant attack surface — any XSS or untrusted script
+ in a note becomes remote code execution on the host.</p>
<p>To mitigate this, the client-side no longer has access to these APIs and
everything must go through the&nbsp;<a class="reference-link" href="#root/_help_GFXVHyblVN3d">Electron API</a>&nbsp;instead.</p>
<aside
@@ -18,22 +17,20 @@ class="admonition note">
</ul>
</aside>
<h2>Overview of the API</h2>
-<p>The Frontend and Backend APIs reside in a global variable, <code spellcheck="false">api</code>,
+<p>The Frontend and Backend APIs reside in a global variable, <code>api</code>,
that can be used anywhere in the script. For example, to display a message
to the user the following front-end script can be used:</p><pre><code class="language-text-javascript">api.showMessage("Hello world.");</code></pre>
-<p>The Electron API is different: it lives on <code spellcheck="false">window.electronApi</code> (exposed
- by the desktop preload script), not on <code spellcheck="false">api</code>,
- and is only available in the Electron desktop build. Frontend scripts that
- use it should guard with <code spellcheck="false">if (window.electronApi)</code> so
- they degrade cleanly in the browser and standalone (WASM) builds.</p><pre><code class="language-text-javascript">window.electronApi?.window.setZoomFactor(1.2);</code></pre>
+<p>The Electron API is different: it lives on <code>window.electronApi</code> (exposed
+ by the desktop preload script), not on <code>api</code>, and is only available
+ in the Electron desktop build. Frontend scripts that use it should guard
+ with <code>if (window.electronApi)</code> so they degrade cleanly in the
+ browser and standalone (WASM) builds.</p><pre><code class="language-text-javascript">window.electronApi?.window.setZoomFactor(1.2);</code></pre>
<h2>Additional protection</h2>
<p>Some of the APIs have additional safe-guards built in which prevent unauthorized
access.</p>
-<p>The <code spellcheck="false">shell</code> group is the most heavily validated: <code
- spellcheck="false">openExternal</code> is restricted to an allowlisted set
- of URL schemes (blocking <code spellcheck="false">file:</code>, <code spellcheck="false">smb:</code>,
- Follina-class schemes, etc.), <code spellcheck="false">openPath</code> must
- resolve under the Trilium data directory or temporary directory, and <code
- spellcheck="false">downloadURL</code> is locked to the app's own origin.
- Invalid input throws on the main side rather than being silently passed
- through.</p>
\ No newline at end of file
+<p>The <code>shell</code> group is the most heavily validated: <code>openExternal</code> is
+ restricted to an allowlisted set of URL schemes (blocking <code>file:</code>, <code>smb:</code>,
+ Follina-class schemes, etc.), <code>openPath</code> must resolve under the
+ Trilium data directory or temporary directory, and <code>downloadURL</code> is
+ locked to the app's own origin. Invalid input throws on the main side rather
+ than being silently passed through.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Breaking changes/v0.106.0 Removal of cheerio.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Breaking changes/v0.106.0 Removal of cheerio.html
index 4ff3ea189f..6576b7b27f 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Breaking changes/v0.106.0 Removal of cheerio.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Breaking changes/v0.106.0 Removal of cheerio.html
@@ -1,37 +1,36 @@
-<p>The <code spellcheck="false">api.cheerio</code> library has been removed
- from the backend scripting API.</p>
-<p>Scripts that attempt to use <code spellcheck="false">api.cheerio</code> will
- now throw an error with migration instructions.</p>
+<p>The <code>api.cheerio</code> library has been removed from the backend scripting
+ API.</p>
+<p>Scripts that attempt to use <code>api.cheerio</code> will now throw an error
+ with migration instructions.</p>
<h2>Reasoning</h2>
-<p><code spellcheck="false">cheerio</code> was deprecated in v0.103.0 in favor
- of <code spellcheck="false">api.htmlParser</code> (<a href="https://github.com/taoqf/node-fast-html-parser">node-html-parser</a>),
+<p><code>cheerio</code> was deprecated in v0.103.0 in favor of <code>api.htmlParser</code> (<a
+ href="https://github.com/taoqf/node-fast-html-parser">node-html-parser</a>),
which Trilium already uses for all of its own HTML parsing. The scripting
- API was the only place that still needed <code spellcheck="false">cheerio</code>.</p>
-<p>Shipping both parsers was costly, because <code spellcheck="false">cheerio</code> was
- loaded at startup on every platform. It added roughly 1.35 MB of bundled
- code to the server and desktop builds, and roughly 370 kB to the in-browser
+ API was the only place that still needed <code>cheerio</code>.</p>
+<p>Shipping both parsers was costly, because <code>cheerio</code> was loaded
+ at startup on every platform. It added roughly 1.35 MB of bundled code
+ to the server and desktop builds, and roughly 370 kB to the in-browser
build, where it was loaded into the database worker before the application
could start.</p>
<h2>Migration</h2>
-<p>Replace <code spellcheck="false">api.cheerio</code> calls with <code spellcheck="false">api.htmlParser</code>.
- Note that <code spellcheck="false">api.htmlParser</code> returns plain elements
- rather than a wrapped collection, so there is no <code spellcheck="false">$</code> object
- and no chaining.</p>
+<p>Replace <code>api.cheerio</code> calls with <code>api.htmlParser</code>.
+ Note that <code>api.htmlParser</code> returns plain elements rather than
+ a wrapped collection, so there is no <code>$</code> object and no chaining.</p>
<h3>Reading values</h3>
-<p>Before (<code spellcheck="false">cheerio</code>):</p><pre><code class="language-text-javascript">const $ = api.cheerio.load(html);
+<p>Before (<code>cheerio</code>):</p><pre><code class="language-text-javascript">const $ = api.cheerio.load(html);
const title = $('h1').text();
const links = $('a').map((i, el) =&gt; $(el).attr('href')).get();</code></pre>
-<p>After (<code spellcheck="false">htmlParser</code>):</p><pre><code class="language-text-javascript">const root = api.htmlParser.parse(html);
+<p>After (<code>htmlParser</code>):</p><pre><code class="language-text-javascript">const root = api.htmlParser.parse(html);
const title = root.querySelector('h1')?.textContent;
const links = root.querySelectorAll('a').map(a =&gt; a.getAttribute('href'));</code></pre>
<h3>Modifying the document</h3>
-<p>Before (<code spellcheck="false">cheerio</code>):</p><pre><code class="language-text-javascript">const $ = api.cheerio.load(html);
+<p>Before (<code>cheerio</code>):</p><pre><code class="language-text-javascript">const $ = api.cheerio.load(html);
$('a').each((i, el) =&gt; {
$(el).attr('href', '#root/' + noteId);
$(el).addClass('reference-link');
});
note.setContent($('body').html());</code></pre>
-<p>After (<code spellcheck="false">htmlParser</code>):</p><pre><code class="language-text-javascript">const root = api.htmlParser.parse(html);
+<p>After (<code>htmlParser</code>):</p><pre><code class="language-text-javascript">const root = api.htmlParser.parse(html);
for (const el of root.querySelectorAll('a')) {
el.setAttribute('href', '#root/' + noteId);
el.classList.add('reference-link');
@@ -42,65 +41,65 @@ note.setContent(root.toString());</code></pre>
<table>
<thead>
<tr>
- <th><code spellcheck="false">cheerio</code>
+ <th><code>cheerio</code>
</th>
- <th><code spellcheck="false">htmlParser</code>
+ <th><code>htmlParser</code>
</th>
</tr>
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">api.cheerio.load(html)</code>
+ <td><code>api.cheerio.load(html)</code>
</td>
- <td><code spellcheck="false">api.htmlParser.parse(html)</code>
+ <td><code>api.htmlParser.parse(html)</code>
</td>
</tr>
<tr>
- <td><code spellcheck="false">$('sel')</code>
+ <td><code>$('sel')</code>
</td>
- <td><code spellcheck="false">root.querySelectorAll('sel')</code>
+ <td><code>root.querySelectorAll('sel')</code>
</td>
</tr>
<tr>
- <td><code spellcheck="false">$('sel').first()</code>
+ <td><code>$('sel').first()</code>
</td>
- <td><code spellcheck="false">root.querySelector('sel')</code>
+ <td><code>root.querySelector('sel')</code>
</td>
</tr>
<tr>
- <td><code spellcheck="false">$el.text()</code>
+ <td><code>$el.text()</code>
</td>
- <td><code spellcheck="false">el.textContent</code>
+ <td><code>el.textContent</code>
</td>
</tr>
<tr>
- <td><code spellcheck="false">$el.html()</code>
+ <td><code>$el.html()</code>
</td>
- <td><code spellcheck="false">el.innerHTML</code>
+ <td><code>el.innerHTML</code>
</td>
</tr>
<tr>
- <td><code spellcheck="false">$el.attr('name')</code>
+ <td><code>$el.attr('name')</code>
</td>
- <td><code spellcheck="false">el.getAttribute('name')</code>
+ <td><code>el.getAttribute('name')</code>
</td>
</tr>
<tr>
- <td><code spellcheck="false">$el.attr('name', value)</code>
+ <td><code>$el.attr('name', value)</code>
</td>
- <td><code spellcheck="false">el.setAttribute('name', value)</code>
+ <td><code>el.setAttribute('name', value)</code>
</td>
</tr>
<tr>
- <td><code spellcheck="false">$el.addClass('name')</code>
+ <td><code>$el.addClass('name')</code>
</td>
- <td><code spellcheck="false">el.classList.add('name')</code>
+ <td><code>el.classList.add('name')</code>
</td>
</tr>
<tr>
- <td><code spellcheck="false">$('body').html()</code>
+ <td><code>$('body').html()</code>
</td>
- <td><code spellcheck="false">root.toString()</code>
+ <td><code>root.toString()</code>
</td>
</tr>
</tbody>
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 20099a3430..576861c7f5 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 spellcheck="false">module.exports</code> object
+ a submodule and provide the result of its <code>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 spellcheck="false">My Nice Note!</code> becomes <code spellcheck="false">MyNiceNote</code>.</p>
+ For example <code>My Nice Note!</code> becomes <code>MyNiceNote</code>.</p>
</aside>
<h2>Alternative syntax</h2>
-<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-text-javascript">module.exports.sum = (a, b) =&gt; a + b;
+<p>Instead of providing an object to <code>module.exports</code>, it's also
+ possible to add fields individually:</p><pre><code class="language-text-javascript">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 spellcheck="false">#disableInclusion</code> label.</p>
+ to the parent script note), apply the <code>#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 5d844db27a..8b351e3959 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
@@ -48,16 +48,16 @@
<p>Widgets require a certain format in order for Trilium to be able to integrate
them into the UI.</p>
<ul>
- <li>For legacy widgets, the script note must export a <code spellcheck="false">BasicWidget</code> or
+ <li>For legacy widgets, the script note must export a <code>BasicWidget</code> or
a derived one (see&nbsp;<a class="reference-link" href="#root/_help_GhurYZjh8e1V">Note context aware widget</a>&nbsp;or&nbsp;<a
class="reference-link" href="#root/_help_M8IppdwVHSjG">Right pane widget</a>).</li>
- <li>For Preact widgets, a built-in helper called <code spellcheck="false">defineWidget</code> needs
+ <li>For Preact widgets, a built-in helper called <code>defineWidget</code> needs
to be used.</li>
</ul>
<p>For more information, see&nbsp;<a class="reference-link" href="#root/_help_MgibgPcfeuGz">Custom Widgets</a>.</p>
<h2>Script API</h2>
<p>The front-end API of Trilium is available to all scripts running in the
- front-end context as global variable <code spellcheck="false">api</code>.
- For a reference of the API, see&nbsp;<a class="reference-link" href="#root/_help_Q2z6av6JZVWm">Frontend API</a>.</p>
+ front-end context as global variable <code>api</code>. For a reference of
+ the API, see&nbsp;<a class="reference-link" href="#root/_help_Q2z6av6JZVWm">Frontend API</a>.</p>
<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 d376792ffd..dbdbeae89f 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,16 +4,15 @@
<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 spellcheck="false">BasicWidget</code>, <code spellcheck="false">NoteContextAwareWidget</code>).</p>
+ (e.g., <code>BasicWidget</code>, <code>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
- 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>
+ <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>
</ul>
<p>Wherever possible, widget examples will be both in the legacy and Preact
format.</p>
@@ -27,7 +26,7 @@
the language first.</li>
</ol>
</li>
- <li>Apply the <code spellcheck="false">#widget</code> <a href="#root/_help_HI6GBBIduIgv">label</a>.</li>
+ <li>Apply the <code>#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
@@ -72,7 +71,7 @@ class="table">
</colgroup>
<thead>
<tr>
- <th>Value for <code spellcheck="false">parentWidget</code>
+ <th>Value for <code>parentWidget</code>
</th>
<th>Description</th>
<th>Sample widget</th>
@@ -81,15 +80,15 @@ class="table">
</thead>
<tbody>
<tr>
- <th><code spellcheck="false">left-pane</code>
+ <th><code>left-pane</code>
</th>
<td>Appears within the same pane that holds the&nbsp;<a class="reference-link"
href="#root/_help_oPVyFC7WL2Lp">Note Tree</a>.</td>
- <td>Same as above, with only a different <code spellcheck="false">parentWidget</code>.</td>
+ <td>Same as above, with only a different <code>parentWidget</code>.</td>
<td>None.</td>
</tr>
<tr>
- <th><code spellcheck="false">center-pane</code>
+ <th><code>center-pane</code>
</th>
<td>In the content area. If a split is open, the widget will span all of the
splits.</td>
@@ -97,7 +96,7 @@ class="table">
<td>None.</td>
</tr>
<tr>
- <th><code spellcheck="false">note-detail-pane</code>
+ <th><code>note-detail-pane</code>
</th>
<td>
<p>In the content area, inside the note detail area. If a split is open,
@@ -108,17 +107,16 @@ class="table">
</td>
<td>
<ul>
- <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>
+ <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>
</ul>
</td>
</tr>
<tr>
- <th><code spellcheck="false">right-pane</code>
+ <th><code>right-pane</code>
</th>
<td>In the&nbsp;<a class="reference-link" href="#root/_help_RnaPdbciOfeq">Right Sidebar</a>,
as a dedicated section.</td>
@@ -126,18 +124,17 @@ class="table">
</td>
<td>
<ul>
- <li>Although not mandatory, it's best to use a <code spellcheck="false">RightPanelWidget</code> instead
- of a <code spellcheck="false">BasicWidget</code> or a <code spellcheck="false">NoteContextAwareWidget</code>.</li>
+ <li>Although not mandatory, it's best to use a <code>RightPanelWidget</code> instead
+ of a <code>BasicWidget</code> or a <code>NoteContextAwareWidget</code>.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</figure>
-<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
+<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>
<h2>Multiple widgets in a single note</h2>
<p>A widget note usually returns one widget, but it can also return an array
@@ -145,9 +142,9 @@ class="table">
they can all live in the same note instead of being split across notes
that need a shared module.</p>
<p>Each widget of the array is registered on its own, so they can have different
- parents and positions. A widget that is missing its <code spellcheck="false">parentWidget</code> (or <code
- spellcheck="false">parent</code> for Preact) is reported as an error without
- affecting the other widgets of the note.</p>
+ parents and positions. A widget that is missing its <code>parentWidget</code> (or <code>parent</code> for
+ Preact) is reported as an error without affecting the other widgets of
+ the note.</p>
<h3>Legacy version (jQuery)</h3><pre><code class="language-text-x-trilium-auto">class TreeWidget extends api.BasicWidget {
get parentWidget() { return "left-pane"; }
doRender() { this.$widget = $("&lt;span&gt;Left pane&lt;/span&gt;"); }
@@ -177,7 +174,7 @@ export default [
See&nbsp;<a class="reference-link" href="#root/_help_4Gn3psZKsfSm">Launch Bar Widgets</a>&nbsp;for
more information.</p>
<h2>Custom position</h2>
-<p>The position of a custom widget is defined via a <code spellcheck="false">position</code> integer.</p>
+<p>The position of a custom widget is defined via a <code>position</code> integer.</p>
<p>In legacy widgets:</p><pre><code class="language-text-x-trilium-auto">class MyWidget extends api.BasicWidget {
// [..
get position() { return 10; }
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 4fb2886b31..481a6d62b7 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 spellcheck="false">doRender()</code>:<sup><a href="#fn1saoftmefpp">[1]</a></sup>
+<p>In <code>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 0e4b7fb162..d0da3c3354 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,12 +2,11 @@
react to changes in the current note.</p>
<p>Important aspects:</p>
<ul>
- <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>
+ <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>
</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 193e56f053..da213221dd 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,14 @@
<h2>Key highlights</h2>
<ul>
- <li><code spellcheck="false">doRender</code> must not be overridden, instead <code
- spellcheck="false">doRenderBody()</code> has to be overridden.
+ <li><code>doRender</code> must not be overridden, instead <code>doRenderBody()</code> has
+ to be overridden.
<ul>
- <li><code spellcheck="false">doRenderBody</code> can optionally be <code spellcheck="false">async</code>.</li>
+ <li><code>doRenderBody</code> can optionally be <code>async</code>.</li>
</ul>
</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>
+ <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>
</ul>
<h2>Example for new layout</h2>
<aside class="admonition important">
@@ -101,14 +101,14 @@ class HelloWorldWidget extends api.RightPanelWidget {
module.exports = new HelloWorldWidget();</code></pre>
<h3>Conditionally changing visibility</h3>
-<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
+<p>In <code>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 spellcheck="false">#widget</code> notes.</p>
+ by the application when searching for <code>#widget</code> notes.</p>
<p>It is possible to make a widget appear higher or lower up, by adjusting
- its <code spellcheck="false">position</code> property:</p><pre><code class="language-text-x-trilium-auto">class MyWidget extends api.RightPanelWidget {
+ its <code>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 16e9286ee9..04c18f44bc 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 spellcheck="false">contain: size</code> applied to it.</p>
+ container has <code>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,5 +12,4 @@
+ }
}</code></pre>
-<p>Alternatively apply <code spellcheck="false">contain: none</code> to its
- CSS.</p>
\ No newline at end of file
+<p>Alternatively apply <code>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 0b96c9f5ab..2cc99f6380 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 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
+ <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
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 spellcheck="false">document.querySelector("#my-widget")</code>.
- If the element is found, the widget is functioning correctly. If <code spellcheck="false">undefined</code> is
+ and run <code>document.querySelector("#my-widget")</code>. If the element
+ is found, the widget is functioning correctly. If <code>undefined</code> is
returned, double-check that the <a href="#root/_help_BFs8mudNFgCS">note</a> has
- the <code spellcheck="false">#widget</code> <a href="#root/_help_zEY4DaJG4YT5">attribute</a>.</p>
+ the <code>#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,8 +46,7 @@ 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
- spellcheck="false">bx bxs-magic-wand</code> icon.</p>
+ which we'll use to replace the button text with an icon. For example the <code>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; }
@@ -70,8 +69,7 @@ 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 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 {
+ 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 {
get position() { return 1; }
get parentWidget() { return "left-pane"; }
@@ -89,8 +87,8 @@ module.exports = new MyWidget();</code></pre>
}
module.exports = new MyWidget();</code></pre>
-<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>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><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 296d68751e..dc0c49c3c2 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,8 +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 JavaScript (Trilium frontend) and <strong>give it a</strong> <code
- spellcheck="false">#widget</code> <strong>label</strong>.</p><pre><code class="language-text-x-trilium-auto">/*
+ of type JavaScript (Trilium frontend) and <strong>give it a</strong> <code>#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.
*
@@ -81,7 +80,7 @@ class WordCountWidget extends api.NoteContextAwareWidget {
module.exports = new WordCountWidget();</code></pre>
<p>After you make changes it is necessary to <a href="#root/_help_s8alTXmpFR61">restart Trilium</a> so
that the layout can be rebuilt.</p>
-<p>The widget only activates on text notes that have the <code spellcheck="false">#wordCount</code> label.
+<p>The widget only activates on text notes that have the <code>#wordCount</code> label.
This label can be a <a href="#root/_help_hrZ1D00cLbal">reference link</a> to
enable the widget for an entire subtree.</p>
<p>At the bottom of the note you can see the resulting widget:</p>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Examples/Downloading responses from Google Forms.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Examples/Downloading responses from Google Forms.html
index 05d13383b5..c6911fb883 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Examples/Downloading responses from Google Forms.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Examples/Downloading responses from Google Forms.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 spellcheck="false">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>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 01f248b889..391d051ddf 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
@@ -1,7 +1,6 @@
<aside class="admonition warning">
- <p>This documentation is outdated, as it refers to using the deprecated <code
- spellcheck="false">addButtonToToolbar</code> API which will only create
- widgets for desktop.</p>
+ <p>This documentation is outdated, as it refers to using the deprecated <code>addButtonToToolbar</code> API
+ which will only create widgets for desktop.</p>
<p>Instead, a custom launcher widget can be created using the&nbsp;<a class="reference-link"
href="#root/_help_4Gn3psZKsfSm">Launch Bar Widgets</a>&nbsp;documentation.</p>
</aside>
@@ -14,8 +13,8 @@
<ol>
<li>First, create a new&nbsp;<a class="reference-link" href="#root/_help_6f9hih2hXXZk">Code</a>&nbsp;note
type with the <em>JavaScript (Trilium frontend)</em> language.</li>
- <li>Define the <code spellcheck="false">#run=frontendStartup</code> label in&nbsp;<a
- class="reference-link" href="#root/_help_zEY4DaJG4YT5">Attributes</a>.</li>
+ <li>Define the <code>#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-text-javascript">api.addButtonToToolbar({
@@ -60,7 +59,7 @@
by specifying:</p>
<ul>
<li>A title</li>
- <li>A corresponding boxicons icon (without the <code spellcheck="false">bx-</code> prefix).</li>
+ <li>A corresponding boxicons icon (without the <code>bx-</code> prefix).</li>
<li>Optionally, a keyboard shortcut to assign to it.</li>
<li>The action, which will be executed when the button is pressed.</li>
</ul>
@@ -81,7 +80,7 @@
</ul>
</li>
<li>Here we can also see that it is possible to return results from the server
- execution and read them in the client (<code spellcheck="false">taskNoteId</code>).</li>
+ execution and read them in the client (<code>taskNoteId</code>).</li>
</ul>
</td>
</tr>
@@ -90,13 +89,11 @@
</td>
<td>
<ul>
- <li>Here we identify a note with the <a href="#root/_help_zEY4DaJG4YT5">label</a> <code
- spellcheck="false">#taskTodoRoot</code>. This is how the&nbsp;<a class="reference-link"
- href="#root/_help_xYjQUYhpbUEW">Task Manager</a>&nbsp;showcase knows where
- to place all the different tasks.</li>
- <li>Normally this might return a <code spellcheck="false">null</code> value
- if no such note could be identified, but error handling is outside the
- scope of this example.&nbsp;</li>
+ <li>Here we identify a note with the <a href="#root/_help_zEY4DaJG4YT5">label</a> <code>#taskTodoRoot</code>.
+ This is how the&nbsp;<a class="reference-link" href="#root/_help_xYjQUYhpbUEW">Task Manager</a>&nbsp;showcase
+ knows where to place all the different tasks.</li>
+ <li>Normally this might return a <code>null</code> value if no such note could
+ be identified, but error handling is outside the scope of this example.&nbsp;</li>
</ul>
</td>
</tr>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Examples/Using promoted attributes to configure scripts.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Examples/Using promoted attributes to configure scripts.html
index 3c7d580a51..5c86155b4b 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Examples/Using promoted attributes to configure scripts.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Examples/Using promoted attributes to configure scripts.html
@@ -30,10 +30,9 @@ if (!outputNoteId) {
api.showError("Missing output.");
return;
}</code></pre>
-<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>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>Afterwards we can simply read the note and do something with it:</p><pre><code class="language-text-javascript">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/Frontend Events.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Frontend Events.html
index c4c235b2b3..2f84216e2d 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Frontend Events.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Frontend Events.html
@@ -1,16 +1,15 @@
<p>Front-end scripts can be run automatically on certain triggering conditions.</p>
-<p>To do so, set the <code spellcheck="false">run</code> <a href="#root/_help_HI6GBBIduIgv">label</a> to
+<p>To do so, set the <code>run</code> <a href="#root/_help_HI6GBBIduIgv">label</a> to
either:</p>
<ul>
- <li><code spellcheck="false">frontendStartup</code> - when Trilium frontend
- starts up (or is refreshed), but not on mobile.</li>
- <li><code spellcheck="false">mobileStartup</code> - when Trilium frontend starts
- up (or is refreshed), on mobile.</li>
+ <li><code>frontendStartup</code> - when Trilium frontend starts up (or is refreshed),
+ but not on mobile.</li>
+ <li><code>mobileStartup</code> - when Trilium frontend starts up (or is refreshed),
+ on mobile.</li>
</ul>
<aside class="admonition note">
<p>One script can be triggered on multiple events, this can be done by adding
- multiple <code spellcheck="false">run</code> labels. Separating multiple
- values by commas <strong>is not</strong> supported.</p>
+ multiple <code>run</code> labels. Separating multiple values by commas <strong>is not</strong> supported.</p>
</aside>
<p>Backend scripts have more powerful triggering conditions, for example
they can run automatically on a hourly or daily basis, but also on events
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 ef954e225f..fd0c88654e 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
@@ -10,15 +10,15 @@
<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 spellcheck="false">NoteContextAwareWidget</code> or a <code spellcheck="false">BasicWidget</code> (according
+ a <code>NoteContextAwareWidget</code> or a <code>BasicWidget</code> (according
to needs).</li>
<li>As examples in both legacy and Preact format, 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 spellcheck="false">#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>#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 cb6712043f..da9d4bbe28 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,10 +20,9 @@ class="admonition important">
</aside>
<h2>Import/exports</h2>
<p>When using Preact with JSX, there is a special syntax which provides ES-like
- 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>
+ 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>
<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";
@@ -44,13 +43,13 @@ 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
- 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 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>
+<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>
+<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>
</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 4922634db1..4814a9ded3 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
@@ -6,7 +6,7 @@
<p>Trilium comes with its own set of Preact components, some of which are
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 spellcheck="false">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>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");
@@ -35,7 +35,7 @@
<li>Create a child code note of JSX type with the content of this file:&nbsp;<a
class="reference-link" href="#root/_help_i9B4IW7b6V6z">Widget showcase</a>
</li>
- <li>Set the <code spellcheck="false">~renderNote</code> relation of the parent
- note to the child note.</li>
+ <li>Set the <code>~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 a148c29f29..6f623f07bd 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 spellcheck="false">x-mywidget-</code>).</p>
\ No newline at end of file
+ UI elements, consider adding a prefix (e.g. <code>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 6657717231..b9ff602eca 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
@@ -8,7 +8,7 @@
<ul>
<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>)
+ <br>Link <code>~renderNote</code> to the child note (<em>Render note with subcomponents</em>)
<ul>
<li>
<p><em>Render note with subcomponents</em>
@@ -30,10 +30,9 @@
</li>
</ul>
<h2>Multiple components per note</h2>
-<p>To export multiple components, use the <code spellcheck="false">export</code> keyword
- next to each of the function components.</p>
-<p>Here's how a sub-note called <code spellcheck="false">MyComponents</code> would
- look like:</p><pre><code class="language-text-jsx">export function MyFirstComponent() {
+<p>To export multiple components, use the <code>export</code> keyword next
+ to each of the function components.</p>
+<p>Here's how a sub-note called <code>MyComponents</code> would look like:</p><pre><code class="language-text-jsx">export function MyFirstComponent() {
return &lt;p&gt;First&lt;/p&gt;;
}
@@ -51,5 +50,5 @@ export default function() {
);
}</code></pre>
<p>Alternatively, it's also possible to use the components directly without
- assigning them to a <code spellcheck="false">const</code> first:</p><pre><code class="language-text-jsx">&lt;MyComponents.MyFirstComponent /&gt;
+ assigning them to a <code>const</code> first:</p><pre><code class="language-text-jsx">&lt;MyComponents.MyFirstComponent /&gt;
&lt;MyComponents.MySecondComponent /&gt;</code></pre>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Preact/Hooks.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Preact/Hooks.html
index 6f9d2020c0..957719addc 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Preact/Hooks.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Preact/Hooks.html
@@ -1,14 +1,14 @@
<h2>Standard Preact hooks</h2>
-<p>All standard Preact hooks are available as an import in <code spellcheck="false">trilium:api</code>.</p>
+<p>All standard Preact hooks are available as an import in <code>trilium:api</code>.</p>
<p>For example:</p><pre><code class="language-text-jsx">import { useState } from "trilium:preact";
const [ myState, setMyState ] = useState("Hi");</code></pre>
<h2>Custom hooks</h2>
<p>Trilium comes with a large set of custom hooks for Preact, all of which
are also available to custom widgets and&nbsp;<a class="reference-link"
href="#root/_help_HcABDtFCkbFN">Render Note</a>.</p>
-<h3><code spellcheck="false">useNoteContext</code></h3>
+<h3><code>useNoteContext</code></h3>
<p>As a replacement to&nbsp;<a class="reference-link" href="#root/_help_GhurYZjh8e1V">Note context aware widget</a>,
- Preact exposes the current note context in the <code spellcheck="false">useNoteContext</code> hook:</p><pre><code class="language-text-jsx">import { defineWidget, useNoteContext, useNoteProperty } from "trilium:preact";
+ Preact exposes the current note context in the <code>useNoteContext</code> hook:</p><pre><code class="language-text-jsx">import { defineWidget, useNoteContext, useNoteProperty } from "trilium:preact";
export default defineWidget({
parent: "note-detail-pane",
@@ -21,14 +21,13 @@ export default defineWidget({
});</code></pre>
<p>Note that the custom widget must be inside the content area (so note detail
widget) for this to work properly, especially when dealing with splits.</p>
-<h3><code spellcheck="false">useActiveNoteContext</code></h3>
-<p><code spellcheck="false">useActiveNoteContext</code> is an alternative
- to <code spellcheck="false">useNoteContext</code> which works even if the
- widget is not within the note detail section and it automatically switches
- the note context as the user is navigating around between tabs and splits.</p>
-<h3><code spellcheck="false">useNoteProperty</code></h3>
-<p>This hook allows “listening” for changes to a particular property of a <code
- spellcheck="false">FNote</code>, such as the <code spellcheck="false">title</code> or <code
- spellcheck="false">type</code> of a note. The benefit from using the hook
- is that it actually reacts to changes, for example if the note title or
- type is changed.</p>
\ No newline at end of file
+<h3><code>useActiveNoteContext</code></h3>
+<p><code>useActiveNoteContext</code> is an alternative to <code>useNoteContext</code> which
+ works even if the widget is not within the note detail section and it automatically
+ switches the note context as the user is navigating around between tabs
+ and splits.</p>
+<h3><code>useNoteProperty</code></h3>
+<p>This hook allows “listening” for changes to a particular property of a <code>FNote</code>,
+ such as the <code>title</code> or <code>type</code> of a note. The benefit
+ from using the hook is that it actually reacts to changes, for example
+ if the note title or type is changed.</p>
\ No newline at end of file
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 2641a25afc..c7db77f63a 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,20 @@
<p>Both front-end and back-end notes can log messages for debugging.</p>
-<h2>UI logging via <code spellcheck="false">api.log</code></h2>
+<h2>UI logging via <code>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 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>
+ 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>
<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
- spellcheck="false">console.log</code> can be used as well.</p>
+<p>For logs that are not directly visible to the user, the standard <code>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 d6dc0e059a..e015c02004 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 spellcheck="false">api</code>,
+<p>In both cases, the API resides in a global variable, <code>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 ed34dacc37..fb2a26948e 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,8 +2,7 @@
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 spellcheck="false">dayjs</code> method is provided directly in
- the <code spellcheck="false">api</code> global:</p><pre><code class="language-text-javascript">const date = api.dayjs();
+<p>The <code>dayjs</code> method is provided directly in the <code>api</code> global:</p><pre><code class="language-text-javascript">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/Scripting/Security.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Security.html
index 7d7d839ca5..80ee80f99c 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Security.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Security.html
@@ -26,6 +26,6 @@
</ul>
</li>
<li>In <a href="#root/_help_Gzjqa934BdH4">config.ini</a>, set the corresponding
- option under the <code spellcheck="false">Security</code> group.</li>
- <li>Or use environment variables (e.g. <code spellcheck="false">TRILIUM_SECURITY_BACKEND_SCRIPTING_ENABLED=true</code>).</li>
+ option under the <code>Security</code> group.</li>
+ <li>Or use environment variables (e.g. <code>TRILIUM_SECURITY_BACKEND_SCRIPTING_ENABLED=true</code>).</li>
</ul>
\ No newline at end of file
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 a3dd79c7d7..d9102d5f55 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
@@ -33,7 +33,7 @@
<td>
<img src="Creating a custom theme_Creating a custom theme_im.png">
</td>
- <td>In the <em>Owned Attributes</em> section define the <code spellcheck="false">#appTheme</code> attribute
+ <td>In the <em>Owned Attributes</em> section define the <code>#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 8b2c3ccef9..33a7eedaab 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
@@ -10,16 +10,15 @@
<ol>
<li>Verify the icon set is a font (one of: .woff2, .woff, .ttf).</li>
<li>Obtain a list that maps icon names to Unicode code points (often provided
- as a JSON like <code spellcheck="false">selection.json</code> or a CSS file).</li>
+ as a JSON like <code>selection.json</code> or a CSS file).</li>
<li>Create a manifest JSON that maps icon ids to glyphs and search terms.</li>
<li>Create a Trilium note of type Code, set language to JSON, paste the manifest
as the note content.</li>
<li>Upload the font file as an attachment to the same note (MIME type must
- be <code spellcheck="false">font/woff2</code>, <code spellcheck="false">font/woff</code>,
- or <code spellcheck="false">font/ttf</code> and role <code spellcheck="false">file</code>).</li>
- <li>Add the label <code spellcheck="false">#iconPack=&lt;prefix&gt;</code> to
- the note (prefix: letters, digits, hyphen, underscore and non-ASCII characters
- only).</li>
+ be <code>font/woff2</code>, <code>font/woff</code>, or <code>font/ttf</code> and
+ role <code>file</code>).</li>
+ <li>Add the label <code>#iconPack=&lt;prefix&gt;</code> to the note (prefix:
+ letters, digits, hyphen, underscore and non-ASCII characters only).</li>
<li>Refresh the client and verify the icon pack appears in the icon selector.</li>
</ol>
<h2>Verify the icon set</h2>
@@ -38,23 +37,23 @@
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">.woff2</code>
+ <td><code>.woff2</code>
</td>
- <td><code spellcheck="false">font/woff2</code>
+ <td><code>font/woff2</code>
</td>
<td>Recommended due to great compression (low size).</td>
</tr>
<tr>
- <td><code spellcheck="false">.woff</code>
+ <td><code>.woff</code>
</td>
- <td><code spellcheck="false">font/woff</code>
+ <td><code>font/woff</code>
</td>
<td>Higher compatibility, but the font file is bigger.</td>
</tr>
<tr>
- <td><code spellcheck="false">.ttf</code>
+ <td><code>.ttf</code>
</td>
- <td><code spellcheck="false">font/ttf</code>
+ <td><code>font/ttf</code>
</td>
<td>Most common, but highest font size.</td>
</tr>
@@ -65,17 +64,17 @@
<ul>
<li>SVG-based fonts.</li>
<li>Individual SVGs.</li>
- <li><code spellcheck="false">.eot</code> fonts (legacy and proprietary).</li>
+ <li><code>.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 spellcheck="false">.woff2</code>).</p>
+ formats (ideally <code>.woff2</code>).</p>
<h2>Manifest format</h2>
-<p>The manifest is a JSON object with an <code spellcheck="false">icons</code> map.
- Each entry key is the CSS/class id you will use (Trilium uses the CSS class
- when rendering). Value object:</p>
+<p>The manifest is a JSON object with an <code>icons</code> map. Each entry
+ key is the CSS/class id you will use (Trilium uses the CSS class when rendering).
+ Value object:</p>
<ul>
<li>glyph: the single character (the glyph) — can be the escaped Unicode (e.g.
"\ue9c2") or the literal character.</li>
@@ -96,28 +95,27 @@
}</code></pre>
<aside class="admonition note">
<ul>
- <li>You can supply glyph as the escaped <code spellcheck="false">\uXXXX</code> sequence
- or as the actual UTF‑8 character. The CSS form (<code spellcheck="false">\ea3f</code>,
- as written in a stylesheet's <code spellcheck="false">content</code>) is
- accepted too, so glyphs copied out of the font's own CSS work as they stand.</li>
+ <li>You can supply glyph as the escaped <code>\uXXXX</code> sequence or as the
+ actual UTF‑8 character. The CSS form (<code>\ea3f</code>, as written in
+ a stylesheet's <code>content</code>) is accepted too, so glyphs copied out
+ of the font's own CSS work as they stand.</li>
<li>It is 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 manifest keys (e.g. <code spellcheck="false">ph-acorn</code>) should
- match the class names used by the font (prefix + name is a common pattern).</li>
+ <li>The manifest keys (e.g. <code>ph-acorn</code>) should match the class names
+ used by the font (prefix + name is a common pattern).</li>
<li>Like the prefix, a manifest key becomes a CSS class name, so it can contain
only letters, digits, hyphens, underscores and non-ASCII characters. Punctuation
- and whitespace (e.g. <code spellcheck="false">ph.acorn</code> or <code spellcheck="false">ph acorn</code>)
- are not usable as class names; icons with such a key are skipped and an
- error is logged in <a class="reference-link" href="#root/_help_bnyigUA2UK7s">Backend (server) logs</a>,
+ and whitespace (e.g. <code>ph.acorn</code> or <code>ph acorn</code>) are not
+ usable as class names; icons with such a key are skipped and an error is
+ logged in <a class="reference-link" href="#root/_help_bnyigUA2UK7s">Backend (server) logs</a>,
while the rest of the pack still loads.</li>
</ul>
</aside>
<h2>Concrete example: Phosphor Icons</h2>
-<p><a href="https://phosphoricons.com/">Phosphor Icons</a> provide a <code
- spellcheck="false">selection.json</code> that includes <code spellcheck="false">properties.code</code> (the
- codepoint) and <code spellcheck="false">properties.name</code> (the icon
- name). The goal: convert that into Trilium's manifest.</p>
-<p>Sample <code spellcheck="false">selection.json</code> excerpt:</p><pre><code class="language-text-x-trilium-auto">{
+<p><a href="https://phosphoricons.com/">Phosphor Icons</a> provide a <code>selection.json</code> that
+ includes <code>properties.code</code> (the codepoint) and <code>properties.name</code> (the
+ icon name). The goal: convert that into Trilium's manifest.</p>
+<p>Sample <code>selection.json</code> excerpt:</p><pre><code class="language-text-x-trilium-auto">{
"icons": [
{
"icon": {
@@ -144,7 +142,7 @@
/* [...] */
]
}</code></pre>
-<p>A tiny Node.js script to produce the manifest (place <code spellcheck="false">selection.json</code> in
+<p>A tiny Node.js script to produce the manifest (place <code>selection.json</code> in
the same directory and run with Node 20+):</p><pre><code class="language-text-javascript">import { join } from "node:path";
import { readFileSync, writeFileSync } from "node:fs";
@@ -173,21 +171,19 @@ function processIconPack(packName) {
processIconPack("light");</code></pre>
<p>What to do with the script:</p>
<ul>
- <li>Put <code spellcheck="false">selection.json</code> and <code spellcheck="false">build-manifest.js</code> in
- a folder.</li>
+ <li>Put <code>selection.json</code> and <code>build-manifest.js</code> in a folder.</li>
<li>Run: node build-manifest.js</li>
- <li>The script writes <code spellcheck="false">manifest.json</code> — open it,
- verify contents, then copy into a Trilium Code note (language: JSON).</li>
+ <li>The script writes <code>manifest.json</code> — open it, verify contents,
+ then copy into a Trilium Code note (language: JSON).</li>
</ul>
<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 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>.
- Both forms are accepted: keep the CSS escape by writing the backslash itself
- as <code spellcheck="false">"\\ea3f"</code> in the JSON, or convert it to
- the JSON escape <code spellcheck="false">"\uea3f"</code>.</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>. Both forms are accepted: keep the CSS escape by writing
+ the backslash itself as <code>"\\ea3f"</code> in the JSON, or convert it
+ to the JSON escape <code>"\uea3f"</code>.</p>
<p>As a more compact alternative, provide the un-escaped character directly,
as UTF-8 is supported.</p>
</aside>
@@ -197,14 +193,13 @@ 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 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>
+ 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>
<p>In order for an icon pack to be recognized, the prefix must be specified
- 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
+ in the <code>#iconPack</code> label.&nbsp;</p>
+<p>For our example with Phosphor Icons, we can use the <code>ph</code> prefix
since it also matches the prefix set in the original CSS. So in this case
- it would be <code spellcheck="false">#iconPack=ph</code>.</p>
+ it would be <code>#iconPack=ph</code>.</p>
<aside class="admonition important">
<p>The prefix must consist of only letters, digits, hyphens, underscores
and non-ASCII characters. If the prefix doesn't match these constraints,
@@ -220,22 +215,21 @@ 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 spellcheck="false">.woff2</code>, <code spellcheck="false">.woff</code>, <code
- spellcheck="false">.ttf</code>) format.
+ 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 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>
+ (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 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>
+ 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>
</li>
- <li>Add label: <code spellcheck="false">#iconPack=&lt;prefix&gt;</code> (for
- Phosphor example: <code spellcheck="false">#iconPack=ph</code>).</li>
+ <li>Add label: <code>#iconPack=&lt;prefix&gt;</code> (for Phosphor example: <code>#iconPack=ph</code>).</li>
</ol>
<h3>Final steps</h3>
<ul>
@@ -265,13 +259,13 @@ 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 spellcheck="false">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>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>
<li>Make sure the prefix consists only of letters, digits, hyphens, underscores
and non-ASCII characters.</li>
- <li>If the pack loads but individual icons are missing, check the logs for <code
- spellcheck="false">Skipping icon '&lt;key&gt;' of icon pack</code> — that
- key uses characters outside the allowed set and needs renaming in the manifest.</li>
+ <li>If the pack loads but individual icons are missing, check the logs for <code>Skipping icon '&lt;key&gt;' of icon pack</code> —
+ that key uses characters outside the allowed set and needs renaming in
+ the manifest.</li>
</ul>
\ No newline at end of file
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 f6c496e377..a16bba12d7 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
@@ -19,7 +19,7 @@
<td>
<img src="2_Custom app-wide CSS_image.png">
</td>
- <td>In the ribbon, press the “Owned Attributes” section and type <code spellcheck="false">#appCss</code>.</td>
+ <td>In the ribbon, press the “Owned Attributes” section and type <code>#appCss</code>.</td>
</tr>
<tr>
<td>
@@ -27,8 +27,8 @@
</td>
<td>Type the desired CSS.&nbsp;&nbsp;&nbsp;
<br>
- <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>
+ <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>
</tr>
</tbody>
</table>
@@ -40,10 +40,9 @@
<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 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>;
+ <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>;
see&nbsp;<a class="reference-link" href="#root/_help_NRnIZmSMc5sj">Printing &amp; Exporting as PDF</a>&nbsp;for
more information.</p>
</aside>
@@ -53,10 +52,9 @@
workspaces.</p>
<p>To do so:</p>
<ol>
- <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>
+ <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>
</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;
@@ -73,8 +71,7 @@
</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 spellcheck="false">background-image</code> and <code
- spellcheck="false">width</code> and <code spellcheck="false">height</code> to
+ <li>Use the following CSS, adjusting the <code>background-image</code> and <code>width</code> and <code>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;
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 3a6683a27f..b55796c3fd 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,25 +1,20 @@
<p>By default, any custom theme will be based on the legacy light theme.
- 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>
+ 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>
<p>
<img src="Customize the Next theme_image.png">
</p>
-<p>The <code spellcheck="false">appThemeBase</code> label can be set to one
- of the following values:</p>
+<p>The <code>appThemeBase</code> label can be set to one of the following values:</p>
<ul>
- <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><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>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. Due to that, it is recommended to use <code spellcheck="false">#trilium-app</code> with
- a next theme instead of the <code spellcheck="false">:root</code> of a legacy
- theme.</p><pre><code class="language-text-css">#trilium-app {
+ theme. Due to that, it is recommended to use <code>#trilium-app</code> with
+ a next theme instead of the <code>:root</code> of a legacy theme.</p><pre><code class="language-text-css">#trilium-app {
--launcher-pane-background-color: #0d6efd;
}</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 6dcf35dd58..0a3efb2f32 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,6 @@
<h2>Detecting mobile vs. desktop</h2>
-<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 {
+<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 {
/* Do something on mobile */
}
@@ -33,7 +33,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 spellcheck="false">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>body</code> level:</p><pre><code class="language-text-x-trilium-auto">body.layout-vertical #left-pane {
/* Do something */
}
@@ -41,14 +41,12 @@ 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 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>
+ 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>
<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 spellcheck="false">body</code>:</p>
-<figure
-class="table">
+ by using the classes in <code>body</code>:</p>
+<figure class="table">
<table>
<thead>
<tr>
@@ -58,9 +56,9 @@ class="table">
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">&lt;br&gt;body.platform-win32 {&lt;br&gt; background: red;&lt;br&gt;}&lt;br&gt;</code>
+ <td><code>&lt;br&gt;body.platform-win32 {&lt;br&gt; background: red;&lt;br&gt;}&lt;br&gt;</code>
</td>
- <td><code spellcheck="false">&lt;br&gt;body.platform-darwin {&lt;br&gt; background: red;&lt;br&gt;}&lt;br&gt;</code>
+ <td><code>&lt;br&gt;body.platform-darwin {&lt;br&gt; background: red;&lt;br&gt;}&lt;br&gt;</code>
</td>
</tr>
</tbody>
@@ -72,7 +70,7 @@ class="table">
}</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 spellcheck="false">body</code>:</p><pre><code class="language-text-x-trilium-auto">body.electron.native-titlebar {
+ or the custom title bar by querying against <code>body</code>:</p><pre><code class="language-text-x-trilium-auto">body.electron.native-titlebar {
/* Do something */
}
@@ -105,16 +103,15 @@ 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 spellcheck="false">--background-material</code> variable
- at <code spellcheck="false">body</code> level:</p><pre><code class="language-text-css">body.electron.platform-win32 {
+ 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 {
--background-material: tabbed;
}</code></pre>
-<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>
+<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>
<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>
@@ -142,19 +139,17 @@ body.electron:not(.native-titlebar) {
in Trilium. See&nbsp;<a class="reference-link" href="#root/_help_w4rMEhJsALlA">Personalizing the font</a>&nbsp;for
information on how to do so.</p>
<p>Alternatively, for a theme providing its own font, <a href="#root/_help_d3fAXQ2diepH">Custom resource providers</a> can
- be used: 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>
+ be used: 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>
<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 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 {
+<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 {
--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 ab39745a6f..452525df1f 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,16 +12,15 @@
<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 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>
+<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>
<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 spellcheck="false">trilium-safe-mode.bat</code> and <code
- spellcheck="false">trilium-safe-mode.sh</code>.</p>
+ available: <code>trilium-safe-mode.bat</code> and <code>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
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 abf6a5cea8..1ae7334bf2 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,21 +12,18 @@
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 spellcheck="false">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>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 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>
+ 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>
<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 spellcheck="false">resources/app</code> directory
- for desktop builds.</p>
\ No newline at end of file
+ typically found in the <code>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 0a305a0fcf..b26fe89cf4 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
@@ -14,8 +14,7 @@
<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 spellcheck="false">log</code> subdirectory and find the latest
- log file, e.g. <code spellcheck="false">trilium-2022-12-14.log</code>.&nbsp;</p>
+ go to the <code>log</code> subdirectory and find the latest log file, e.g. <code>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>
@@ -25,15 +24,15 @@
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 spellcheck="false">.ini</code> file:</p><pre><code class="language-text-x-trilium-auto">[Logging]
+ the <code>.ini</code> file:</p><pre><code class="language-text-x-trilium-auto">[Logging]
retentionDays=7</code></pre>
-<p>Or via the environment variable <code spellcheck="false">TRILIUM_LOGGING_RETENTION_DAYS</code>.</p>
+<p>Or via the environment variable <code>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 spellcheck="false">-1</code>) result with all
- logs to be kept, irrespective how ancient and numerous (and</li>
+ <li>Negative values (e.g. <code>-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
diff --git a/docs/Release Notes/Release Notes/v0.104.0.md b/docs/Release Notes/Release Notes/v0.104.0.md
index a2d9ed32e0..df79f93a1a 100644
--- a/docs/Release Notes/Release Notes/v0.104.0.md
+++ b/docs/Release Notes/Release Notes/v0.104.0.md
@@ -66,7 +66,7 @@ This release lands roughly 86 bugfixes, with a strong focus on data integrity: s
<a href="https://github.com/TriliumNext/Trilium/issues/9247">Recovered notes appear after interrupting a sync from a device that was long offline</a>
</li>
<li>Relation map:<ol><li><a href="https://github.com/TriliumNext/Trilium/issues/6929">Partially typed name being used as relation</a> by @Renatonet0</li><li><a href="https://github.com/TriliumNext/Trilium/issues/8676">Fix Chinese IME input</a> by @Dinis-Ou</li></ol></li>
- <li><code spellcheck="false">share*</code> labels are not filtered out during safe import.</li>
+ <li><code>share*</code> labels are not filtered out during safe import.</li>
<li>Geomap rendering raw HTML</li>
<li><a href="https://github.com/TriliumNext/Trilium/issues/9757">Text Notes can not add lists that are not numbered (i.e. letters)</a> by @adoriandoran</li>
<li>ETAPI YAML endpoint not accessible.</li>
@@ -242,7 +242,7 @@ Markdown continues to become a first-class citizen: you can now **convert text n
<li>Setup redesign<ol><li>Language selection screen.</li><li>Clarified the desktop to desktop sync.</li><li>Demo content can be optionally skipped if creating a new document.</li><li>Improve mobile support.</li><li>Background effects for Windows 11 and macOS.</li><li>Redesigned the login and set password screens as well.</li></ol></li>
<li>Markdown: Minor improvements to slash commands.</li>
<li>Import: Ignore macOS metadata when importing a ZIP</li>
- <li>Back-end log<ol><li>Customizable word wrap</li><li>Integrate with search</li><li>Add a dedicated download button.</li><li>Get rid of <code spellcheck="false">Slow 200 GET /api/backend-log with 19200316 bytes took 75ms</code>.</li></ol></li>
+ <li>Back-end log<ol><li>Customizable word wrap</li><li>Integrate with search</li><li>Add a dedicated download button.</li><li>Get rid of <code>Slow 200 GET /api/backend-log with 19200316 bytes took 75ms</code>.</li></ol></li>
<li><a href="https://github.com/TriliumNext/Trilium/pull/9840">Text notes: Increase blockquote padding</a> by @bigbangcmbr</li>
<li>Improved the display of revisions in case a diff is not available or the revision is identical to the current note content.</li>
<li><a href="https://github.com/TriliumNext/Trilium/pull/9881">Text editor: configurable multi-state todo list checkboxes</a> by @adoriandoran</li>
@@ -277,7 +277,7 @@ Markdown continues to become a first-class citizen: you can now **convert text n
<li>Improved OAuth connection flow, including display of the OAuth provider info (URL, name, icon).</li>
<li>Improved detection of the OAuth provider icon, instead of falling back to Google's.</li>
<li>Removed the default key binding for “Switch to Last Tab" since it overlaps with “Reset zoom” (Ctrl+0).</li>
- <li>Script API (both front-end and back-end) now have bidirectional Markdown / HTML conversion (<code spellcheck="false">htmlToMarkdown</code>, <code spellcheck="false">markdownToHtml</code>) by @misch334 &amp; @eliandoran</li>
+ <li>Script API (both front-end and back-end) now have bidirectional Markdown / HTML conversion (<code>htmlToMarkdown</code>, <code>markdownToHtml</code>) by @misch334 &amp; @eliandoran</li>
<li>Notes can be toggled full-width from the note contextual menu (new layout only).</li>
<li>Adjustments to the safe import for text notes: preserve underline text, list types, transparent table borders.</li>
<li>Added a progress bar to the import notification.</li>
@@ -296,7 +296,7 @@ Markdown continues to become a first-class citizen: you can now **convert text n
<li><a href="https://github.com/TriliumNext/Trilium/pull/8880">Calendar: Add slotDuration and slotLabelInterval, Add Day View</a> by @BeatLink</li>
<li>Desktop installer: improved the installation animation on Windows and background on macOS</li>
<li>Keyboard shortcuts now display localized names and macOS-specific glyphs.</li>
- <li>HTML &amp; Markdown export: remove redundant <code spellcheck="false">data-list-id</code> from list items.</li>
+ <li>HTML &amp; Markdown export: remove redundant <code>data-list-id</code> from list items.</li>
<li>Code notes: add Nim language support by @dirtboll</li>
<li><a href="https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/evernote">Evernote</a> was enhanced with TODO list support, internal link detection and extended formatting such as admonitions.</li>
<li>The desktop app gains two more features:<ol><li>Hiding to system tray when the last window is closed.</li><li>Automatically starting up on login.</li></ol></li>
@@ -345,12 +345,12 @@ Security is a central theme of this release: 16 fixes systematically shrink Tril
<details>
<summary>All 16 security fixes</summary>
<ol>
- <li><code spellcheck="false">require()</code> in backend scripts is now allow/block-listed</li>
- <li>Title templates &amp; bulk-rename no longer use <code spellcheck="false">eval()</code></li>
+ <li><code>require()</code> in backend scripts is now allow/block-listed</li>
+ <li>Title templates &amp; bulk-rename no longer use <code>eval()</code></li>
<li>Note content is now HTML-sanitized on non-editor paths</li>
<li>Table of Contents &amp; Highlights list strip block elements</li>
<li>Improved SVG sanitization.</li>
- <li>Shared/published notes: CSP, and escaping<ul><li><strong>Custom </strong><code spellcheck="false"><strong>#shareTemplate</strong></code><strong> is ignored when backend scripting is disabled</strong> (EJS can run JS) — shared pages fall back to the default theme.</li><li><code spellcheck="false">#shareRaw</code> is now flagged <code spellcheck="false">isDangerous</code> in attribute UI; raw HTML shares are still intentionally served unrestricted (opt-in).</li></ul></li>
+ <li>Shared/published notes: CSP, and escaping<ul><li><strong>Custom </strong><code><strong>#shareTemplate</strong></code><strong> is ignored when backend scripting is disabled</strong> (EJS can run JS) — shared pages fall back to the default theme.</li><li><code>#shareRaw</code> is now flagged <code>isDangerous</code> in attribute UI; raw HTML shares are still intentionally served unrestricted (opt-in).</li></ul></li>
<li>Session &amp; cookie hardening</li>
<li>API keys for LLM agents are no now write-only through the options API.</li>
<li>Backup name sanitization</li>
@@ -359,7 +359,7 @@ Security is a central theme of this release: 16 fixes systematically shrink Tril
<li>SQL injection hardening</li>
<li>Sanitize content of Collections and Mind Maps.</li>
<li>Hardened the optional MCP server against DNS rebinding attacks.</li>
- <li>Hardening of the Electron app<ul><li><code spellcheck="false">&lt;webview&gt;</code> attach vetting</li><li>Dedicated guest session partition: Web View notes now load in <code spellcheck="false">persist:webview</code> instead of sharing the renderer session, so embedded sites can never see Trilium cookies or resolve the <code spellcheck="false">trilium-app://</code> scheme.</li><li>Deny-by-default permission policy. App session allows <code spellcheck="false">clipboard-sanitized-write</code>, <code spellcheck="false">fullscreen</code>, <code spellcheck="false">notifications</code> (user scripts use <code spellcheck="false">new Notification()</code>); guests get <code spellcheck="false">fullscreen</code> only.</li><li>Scheme allowlist for external opens: <code spellcheck="false">window.open</code>/target=_blank URLs are validated before <code spellcheck="false">shell.openExternal</code></li><li>Global window-open &amp; navigation policy</li><li>Origin gate on <code spellcheck="false">trilium-app://</code> dispatch</li></ul></li>
+ <li>Hardening of the Electron app<ul><li><code>&lt;webview&gt;</code> attach vetting</li><li>Dedicated guest session partition: Web View notes now load in <code>persist:webview</code> instead of sharing the renderer session, so embedded sites can never see Trilium cookies or resolve the <code>trilium-app://</code> scheme.</li><li>Deny-by-default permission policy. App session allows <code>clipboard-sanitized-write</code>, <code>fullscreen</code>, <code>notifications</code> (user scripts use <code>new Notification()</code>); guests get <code>fullscreen</code> only.</li><li>Scheme allowlist for external opens: <code>window.open</code>/target=_blank URLs are validated before <code>shell.openExternal</code></li><li>Global window-open &amp; navigation policy</li><li>Origin gate on <code>trilium-app://</code> dispatch</li></ul></li>
<li>Shared notes:<ul><li>Prevent accessing (encrypted, not plain text) protected attachments.</li><li>Improved filtering of some attributes.</li></ul></li>
</ol>
</details>
\ No newline at end of file
diff --git a/docs/Release Notes/Release Notes/v0.105.0.md b/docs/Release Notes/Release Notes/v0.105.0.md
index db3ed0f9ab..8ded02849d 100644
--- a/docs/Release Notes/Release Notes/v0.105.0.md
+++ b/docs/Release Notes/Release Notes/v0.105.0.md
@@ -9,12 +9,12 @@ _The release that makes Trilium lighter, more visual and easier to organise: ima
<details>
<summary>🚨 For ARM64 Docker users</summary>
- <p>The <code spellcheck="false">arm64</code> image is now based on Debian 13 "trixie", as Debian 11 reaches end of life on 2026-08-31. Your host needs a <code spellcheck="false">libseccomp</code> new enough to know the <code spellcheck="false">clone3</code> syscall (roughly 2.5+), or the container will fail to start. If it does, add:</p>
+ <p>The <code>arm64</code> image is now based on Debian 13 "trixie", as Debian 11 reaches end of life on 2026-08-31. Your host needs a <code>libseccomp</code> new enough to know the <code>clone3</code> syscall (roughly 2.5+), or the container will fail to start. If it does, add:</p>
<pre><code class="language-text-x-yaml">services:
trilium:
security_opt:
- seccomp:unconfined</code></pre>
- <p>Updating Docker itself will not help since <code spellcheck="false">runc</code> links the host's <code spellcheck="false">libseccomp</code>. The 32-bit <code spellcheck="false">linux/arm/v7</code> and <code spellcheck="false">linux/arm/v8</code> images and the native ARM builds are unaffected.</p>
+ <p>Updating Docker itself will not help since <code>runc</code> links the host's <code>libseccomp</code>. The 32-bit <code>linux/arm/v7</code> and <code>linux/arm/v8</code> images and the native ARM builds are unaffected.</p>
</details>
> [!WARNING]
@@ -81,7 +81,7 @@ Every settings page has been rebuilt on a shared card component — a card per s
<details>
<summary>Backups</summary>
<ul>
- <li><em>New:</em> backups can be <strong>compressed</strong>, <strong>encrypted</strong> or both, written as a <code spellcheck="false">.tnbackup</code> container. The password is kept in the OS keyring and is offered on the desktop application only, where there is somewhere safe to hold it.</li>
+ <li><em>New:</em> backups can be <strong>compressed</strong>, <strong>encrypted</strong> or both, written as a <code>.tnbackup</code> container. The password is kept in the OS keyring and is offered on the desktop application only, where there is somewhere safe to hold it.</li>
<li><em>Improved:</em> the backup settings page opens by saying how many backups exist and how long ago the most recent one was written, with "Backup now" beside it.</li>
<li><em>Improved:</em> a backup can be given a name and a password of its own when taken by hand, rather than following the scheduled-backup settings.</li>
<li><em>Fixed:</em> a backup that fails part-way is deleted, so a half-written file is never listed or offered for download.</li>
@@ -92,7 +92,7 @@ Every settings page has been rebuilt on a shared card component — a card per s
<summary>Database &amp; maintenance</summary>
<ul>
<li><em>New:</em> <strong>Options → Database</strong> is where the knowledge base as a whole is now looked after. It opens with a summary — location, note and attachment counts, creation date, size, and how the backups stand — followed by everything that acts on the database: cleanup, space analysis, integrity check and repair, compaction, and anonymized copies.</li>
- <li><em>New:</em> a <strong>cleanup tool</strong> that erases deleted notes, unused attachments and excess revision snapshots, honouring <code spellcheck="false">#versioningLimit</code>, and compacts the database.</li>
+ <li><em>New:</em> a <strong>cleanup tool</strong> that erases deleted notes, unused attachments and excess revision snapshots, honouring <code>#versioningLimit</code>, and compacts the database.</li>
<li><em>New:</em> a <strong>Keep named revisions</strong> option, so revisions you have named survive a cleanup.</li>
<li><em>New:</em> <strong>Start over</strong> returns an instance to the setup wizard without reinstalling. On a server it asks for your password, and your second factor where one is configured, so an instance reachable from outside stays closed while it waits.</li>
<li><em>Improved:</em> an anonymized database copy can be deleted once it has been handed over, and the folder holding them opens in the file manager.</li>
@@ -117,9 +117,9 @@ Every settings page has been rebuilt on a shared card component — a card per s
<ul>
<li>Migrated away from premium CKEditor features (commercial licence) to home-made implementations of slash commands, text snippets and copy formatting. Changing text snippets no longer requires an editor refresh, and note icons are integrated more natively.</li>
<li>The automatic replacement of text (quotes, dashes) has been redesigned, with each option now configurable individually.</li>
- <li>The autocomplete mechanism for CKEditor (<code spellcheck="false">@</code>-references to links, emojis) was rewritten from scratch: it no longer gets stuck on a <code spellcheck="false">@</code> character, and pressing Escape no longer leaves a marker in the text. The attribute editor no longer shows autocompletion when you click inside it.</li>
+ <li>The autocomplete mechanism for CKEditor (<code>@</code>-references to links, emojis) was rewritten from scratch: it no longer gets stuck on a <code>@</code> character, and pressing Escape no longer leaves a marker in the text. The attribute editor no longer shows autocompletion when you click inside it.</li>
<li>Text snippets show a small content preview when no description is present.</li>
- <li>Markdown highlights (Obsidian-style <code spellcheck="false">==</code>) are supported by the import/export pipeline and the Markdown preview, and appear in the sidebar.</li>
+ <li>Markdown highlights (Obsidian-style <code>==</code>) are supported by the import/export pipeline and the Markdown preview, and appear in the sidebar.</li>
<li><a href="https://github.com/TriliumNext/Trilium/issues/7931">Inline Mermaid diagrams remember their display mode</a>.</li>
</ul>
<p><strong>Fixed</strong></p>
@@ -205,7 +205,7 @@ Every settings page has been rebuilt on a shared card component — a card per s
<li>Syntax highlighting for source code in attachments.</li>
<li>The attachments listing gained a grouping mechanism (yours vs. system), a grid layout and a general facelift.</li>
<li>Link previews now use deduplicated attachments instead of inline images, with tweaks to favicon retrieval and better support for dark themes. The Notion importer downloads favicons automatically.</li>
- <li><code spellcheck="false">.ico</code> files are treated as images instead of file attachments.</li>
+ <li><code>.ico</code> files are treated as images instead of file attachments.</li>
<li>PDF: highlights without selected text, and text annotations, are now shown in the sidebar.</li>
</ul>
<p><strong>Fixed</strong></p>
@@ -261,17 +261,17 @@ Every settings page has been rebuilt on a shared card component — a card per s
</ul>
<p><strong>Markdown</strong></p>
<ul>
- <li><strong>Single-tilde strikethrough is no longer supported</strong>, to avoid issues with <code spellcheck="false">~</code> used for number approximations. → <em>Affects existing notes and import pipelines; use </em><code spellcheck="false"><em>~~text~~</em></code><em>.</em></li>
- <li>Highlights (<code spellcheck="false">==</code>) are supported end-to-end in the import/export pipeline.</li>
+ <li><strong>Single-tilde strikethrough is no longer supported</strong>, to avoid issues with <code>~</code> used for number approximations. → <em>Affects existing notes and import pipelines; use </em><code><em>~~text~~</em></code><em>.</em></li>
+ <li>Highlights (<code>==</code>) are supported end-to-end in the import/export pipeline.</li>
</ul>
</details>
<details>
<summary><strong>Desktop app</strong></summary>
<ul>
- <li><em>New:</em> <a href="https://github.com/TriliumNext/Trilium/pull/10871">back up to a folder of your choosing</a> instead of the one inside the data directory. Options → Backup gains a "Backup location" card where you pick the folder, open it in your file manager, or reset it. If the chosen folder ever cannot be written to, the backup goes to the default location rather than being lost, and you are told. Servers are unaffected and keep using <code spellcheck="false">TRILIUM_BACKUP_DIR</code>. <em>(@adoriandoran)</em></li>
+ <li><em>New:</em> <a href="https://github.com/TriliumNext/Trilium/pull/10871">back up to a folder of your choosing</a> instead of the one inside the data directory. Options → Backup gains a "Backup location" card where you pick the folder, open it in your file manager, or reset it. If the chosen folder ever cannot be written to, the backup goes to the default location rather than being lost, and you are told. Servers are unaffected and keep using <code>TRILIUM_BACKUP_DIR</code>. <em>(@adoriandoran)</em></li>
<li><em>Improved:</em> better error management — the app should no longer crash on an unhandled rejection; dragging a tab with splits into a new window preserves the split.</li>
- <li><em>Fixed:</em> <a href="https://github.com/TriliumNext/Trilium/issues/10721">the app prints <code spellcheck="false">undefined</code> when one is already running</a>; <a href="https://github.com/TriliumNext/Trilium/issues/10720">"Switch to Mobile Version" not working on desktop builds accessed over the web</a>; <a href="https://github.com/TriliumNext/Trilium/issues/8912">macOS dynamic traffic light offset based on zoom factor</a>; <a href="https://github.com/TriliumNext/Trilium/issues/9977">file link handling broken for custom system explorers on Windows</a>.</li>
+ <li><em>Fixed:</em> <a href="https://github.com/TriliumNext/Trilium/issues/10721">the app prints <code>undefined</code> when one is already running</a>; <a href="https://github.com/TriliumNext/Trilium/issues/10720">"Switch to Mobile Version" not working on desktop builds accessed over the web</a>; <a href="https://github.com/TriliumNext/Trilium/issues/8912">macOS dynamic traffic light offset based on zoom factor</a>; <a href="https://github.com/TriliumNext/Trilium/issues/9977">file link handling broken for custom system explorers on Windows</a>.</li>
<li>Changed: <strong>On Linux, the native title bar is now disabled by default</strong>, since rounded corners are supported for the custom frame, with native window buttons.</li>
<li><em>New:</em> the database file is revealed in the file manager from Options → Database, and a native folder picker backs the backup location (@adoriandoran)</li>
</ul>
@@ -322,7 +322,7 @@ Every settings page has been rebuilt on a shared card component — a card per s
<em>(@BeatLink)</em>
</li>
<li>Some launcher scripts are now marked as dangerous, requiring safe import to be off.</li>
- <li><em>Fixed:</em> <a href="https://github.com/TriliumNext/Trilium/issues/10765">render notes injected unscoped <code spellcheck="false">&lt;style&gt;</code> into the app DOM, and the leaked styles persisted after navigating away</a>.</li>
+ <li><em>Fixed:</em> <a href="https://github.com/TriliumNext/Trilium/issues/10765">render notes injected unscoped <code>&lt;style&gt;</code> into the app DOM, and the leaked styles persisted after navigating away</a>.</li>
</ul>
</details>
@@ -330,7 +330,7 @@ Every settings page has been rebuilt on a shared card component — a card per s
<summary><strong>Server, sync &amp; authentication</strong></summary>
<ul>
<li><em>Improved:</em> <a href="https://github.com/TriliumNext/Trilium/pull/9635">OIDC gains configurable HTTP timeout, session lifetime and scopes</a> <em>(@perfectra1n)</em>.</li>
- <li><em>Fixed:</em> <a href="https://github.com/TriliumNext/Trilium/issues/10695">OAuth fails with <code spellcheck="false">OAUTH_JSON_ATTRIBUTE_COMPARISON_FAILED</code> on Authentik due to a missing leading slash</a>; OIDC not working with some identity providers; occasional frontend errors caused by a partial sync; <a href="https://github.com/TriliumNext/Trilium/issues/10976">OCR does not work for protected notes</a>.</li>
+ <li><em>Fixed:</em> <a href="https://github.com/TriliumNext/Trilium/issues/10695">OAuth fails with <code>OAUTH_JSON_ATTRIBUTE_COMPARISON_FAILED</code> on Authentik due to a missing leading slash</a>; OIDC not working with some identity providers; occasional frontend errors caused by a partial sync; <a href="https://github.com/TriliumNext/Trilium/issues/10976">OCR does not work for protected notes</a>.</li>
</ul>
</details>
@@ -367,6 +367,6 @@ Every settings page has been rebuilt on a shared card component — a card per s
<details>
<summary>Documentation</summary>
<ul>
- <li>Added <code spellcheck="false">CONTRIBUTING.md</code> <em>(@maphew)</em></li>
+ <li>Added <code>CONTRIBUTING.md</code> <em>(@maphew)</em></li>
</ul>
</details>
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Advanced Usage/Sharing.md b/docs/User Guide/User Guide/Advanced Usage/Sharing.md
index 438d76a857..69082c3db1 100644
--- a/docs/User Guide/User Guide/Advanced Usage/Sharing.md
+++ b/docs/User Guide/User Guide/Advanced Usage/Sharing.md
@@ -243,48 +243,48 @@ The URL must be absolute and include the scheme (e.g. `https://`).
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">#shareHiddenFromTree</code></td>
+ <td><code>#shareHiddenFromTree</code></td>
<td>this note is hidden from left navigation tree, but still accessible with its URL</td>
</tr>
<tr>
- <td><code spellcheck="false">#shareExternalLink</code></td>
- <td>when a link points to this note (from the share index, a subpage list, or an inline link in another shared note), it redirects to the given external URL in a new tab instead of the note's shared page. Value is the absolute URL, e.g. <code spellcheck="false">https://example.com</code>.</td>
+ <td><code>#shareExternalLink</code></td>
+ <td>when a link points to this note (from the share index, a subpage list, or an inline link in another shared note), it redirects to the given external URL in a new tab instead of the note's shared page. Value is the absolute URL, e.g. <code>https://example.com</code>.</td>
</tr>
<tr>
- <td><code spellcheck="false">#shareAlias</code></td>
- <td>define an alias using which the note will be available under <code spellcheck="false">https://your_trilium_host/share/[your_alias]</code></td>
+ <td><code>#shareAlias</code></td>
+ <td>define an alias using which the note will be available under <code>https://your_trilium_host/share/[your_alias]</code></td>
</tr>
<tr>
- <td><code spellcheck="false">#shareOmitDefaultCss</code></td>
+ <td><code>#shareOmitDefaultCss</code></td>
<td>default share page CSS will be omitted. Use when you make extensive styling changes.</td>
</tr>
<tr>
- <td><code spellcheck="false">#shareRoot</code></td>
+ <td><code>#shareRoot</code></td>
<td>marks note which is served on /share root.</td>
</tr>
<tr>
- <td><code spellcheck="false">#shareDescription</code></td>
+ <td><code>#shareDescription</code></td>
<td>define text to be added to the HTML meta tag for description</td>
</tr>
<tr>
- <td><code spellcheck="false">#shareRaw</code></td>
+ <td><code>#shareRaw</code></td>
<td>Note will be served in its raw format, without HTML wrapper. See also&nbsp;<a class="reference-link" href="Sharing/Serving%20directly%20the%20content%20of%20a%20note.md">Serving directly the content of a note</a>&nbsp;for an alternative method without setting an attribute.</td>
</tr>
<tr>
- <td><code spellcheck="false">#shareDisallowRobotIndexing</code></td>
- <td><p>Indicates to web crawlers that the page should not be indexed of this note by:</p><ul><li>Setting the <code spellcheck="false">X-Robots-Tag: noindex</code> HTTP header.</li><li>Setting the <code spellcheck="false">noindex, follow</code> meta tag.</li></ul></td>
+ <td><code>#shareDisallowRobotIndexing</code></td>
+ <td><p>Indicates to web crawlers that the page should not be indexed of this note by:</p><ul><li>Setting the <code>X-Robots-Tag: noindex</code> HTTP header.</li><li>Setting the <code>noindex, follow</code> meta tag.</li></ul></td>
</tr>
<tr>
- <td><code spellcheck="false">#shareCredentials</code></td>
- <td>require credentials to access this shared note. Value is expected to be in format <code spellcheck="false">username:password</code>. Don't forget to make this inheritable to apply to child-notes/images.</td>
+ <td><code>#shareCredentials</code></td>
+ <td>require credentials to access this shared note. Value is expected to be in format <code>username:password</code>. Don't forget to make this inheritable to apply to child-notes/images.</td>
</tr>
<tr>
- <td><code spellcheck="false">#shareIndex</code></td>
+ <td><code>#shareIndex</code></td>
<td>Note with this label will list all roots of shared notes.</td>
</tr>
<tr>
- <td><code spellcheck="false">#shareHtmlLocation</code></td>
- <td>defines where custom HTML injected via <code spellcheck="false">~shareHtml</code> relation should be placed. Applied to the HTML snippet note itself. Format: <code spellcheck="false">location:position</code> where location is <code spellcheck="false">head</code>, <code spellcheck="false">body</code>, or <code spellcheck="false">content</code> and position is <code spellcheck="false">start</code> or <code spellcheck="false">end</code>. Defaults to <code spellcheck="false">content:end</code>.</td>
+ <td><code>#shareHtmlLocation</code></td>
+ <td>defines where custom HTML injected via <code>~shareHtml</code> relation should be placed. Applied to the HTML snippet note itself. Format: <code>location:position</code> where location is <code>head</code>, <code>body</code>, or <code>content</code> and position is <code>start</code> or <code>end</code>. Defaults to <code>content:end</code>.</td>
</tr>
</tbody>
</table>
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Anytype.md b/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Anytype.md
index 06ae623c49..d28d3e6b9f 100644
--- a/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Anytype.md
+++ b/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Anytype.md
@@ -81,19 +81,19 @@ The following types are supported:
<tbody>
<tr>
<td>Text / Select</td>
- <td>Single-valued <code spellcheck="false">text</code> label</td>
+ <td>Single-valued <code>text</code> label</td>
</tr>
<tr>
<td>Number</td>
- <td>Single-valued <code spellcheck="false">number</code> label</td>
+ <td>Single-valued <code>number</code> label</td>
</tr>
<tr>
<td>Multi-select</td>
- <td>One <code spellcheck="false">text</code> label per option (multi)</td>
+ <td>One <code>text</code> label per option (multi)</td>
</tr>
<tr>
<td>Date / Date with time</td>
- <td><ul><li><code spellcheck="false">datetime</code> if the time is included.</li><li><code spellcheck="false">date</code> if only dates.</li></ul></td>
+ <td><ul><li><code>datetime</code> if the time is included.</li><li><code>date</code> if only dates.</li></ul></td>
</tr>
<tr>
<td>File</td>
@@ -101,11 +101,11 @@ The following types are supported:
</tr>
<tr>
<td>Checkbox</td>
- <td><code spellcheck="false">boolean</code> label (<code spellcheck="false">true</code>/<code spellcheck="false">false</code>).</td>
+ <td><code>boolean</code> label (<code>true</code>/<code>false</code>).</td>
</tr>
<tr>
<td>URL / Email / Phone</td>
- <td><code spellcheck="false">url</code> label (<code spellcheck="false">mailto:</code>, <code spellcheck="false">tel:</code> prefix)</td>
+ <td><code>url</code> label (<code>mailto:</code>, <code>tel:</code> prefix)</td>
</tr>
</tbody>
</table>
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Notion.md b/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Notion.md
index 08631d1e7c..87a42bfab1 100644
--- a/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Notion.md
+++ b/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Notion.md
@@ -70,15 +70,15 @@ The resulting collection will be <a class="reference-link" href="../../../Colle
<tbody>
<tr>
<td>Text / Select / Status / Place</td>
- <td>Single-valued <code spellcheck="false">text</code> label</td>
+ <td>Single-valued <code>text</code> label</td>
</tr>
<tr>
<td>Number</td>
- <td>Single-valued <code spellcheck="false">number</code> label for plain numbers. Formatted values (currency, percent, thousands separators) are normalized to a bare number, e.g. <code spellcheck="false">$1,200.50</code> → <code spellcheck="false">1200.50</code>.</td>
+ <td>Single-valued <code>number</code> label for plain numbers. Formatted values (currency, percent, thousands separators) are normalized to a bare number, e.g. <code>$1,200.50</code> → <code>1200.50</code>.</td>
</tr>
<tr>
<td>ID</td>
- <td>Single-valued <code spellcheck="false">number</code> or <code spellcheck="false">text</code> label (depending on whether a prefix is configured)</td>
+ <td>Single-valued <code>number</code> or <code>text</code> label (depending on whether a prefix is configured)</td>
</tr>
<tr>
<td>Multi-select</td>
@@ -86,15 +86,15 @@ The resulting collection will be <a class="reference-link" href="../../../Colle
</tr>
<tr>
<td>URL / Email / Phone</td>
- <td><code spellcheck="false">url</code> label (<code spellcheck="false">mailto:</code>, <code spellcheck="false">tel:</code> prefix)</td>
+ <td><code>url</code> label (<code>mailto:</code>, <code>tel:</code> prefix)</td>
</tr>
<tr>
<td>Date</td>
- <td><ul><li><code spellcheck="false">datetime</code> if at least one has time.</li><li><code spellcheck="false">date</code> if only dates.</li><li>Two attributes if any of the dates have an end date.</li></ul></td>
+ <td><ul><li><code>datetime</code> if at least one has time.</li><li><code>date</code> if only dates.</li><li>Two attributes if any of the dates have an end date.</li></ul></td>
</tr>
<tr>
<td>Checkbox</td>
- <td><code spellcheck="false">boolean</code> label (<code spellcheck="false">true</code>/<code spellcheck="false">false</code>).</td>
+ <td><code>boolean</code> label (<code>true</code>/<code>false</code>).</td>
</tr>
<tr>
<td>Person</td>
@@ -102,7 +102,7 @@ The resulting collection will be <a class="reference-link" href="../../../Colle
</tr>
<tr>
<td>Created by / Edited by</td>
- <td>Single-valued <code spellcheck="false">text</code> label</td>
+ <td>Single-valued <code>text</code> label</td>
</tr>
<tr>
<td>Created time / Last edited time</td>
@@ -118,7 +118,7 @@ The resulting collection will be <a class="reference-link" href="../../../Colle
</tr>
<tr>
<td>Formulas / Rollup</td>
- <td><p>A <code spellcheck="false">text</code>, <code spellcheck="false">number</code> or <code spellcheck="false">boolean</code> label depending on the value. Dates are rendered as <code spellcheck="false">text</code> because the export doesn't offer any type information.</p><p>The Notion export does not preserve the formula/rollup configuration itself, instead it just exports the value.</p></td>
+ <td><p>A <code>text</code>, <code>number</code> or <code>boolean</code> label depending on the value. Dates are rendered as <code>text</code> because the export doesn't offer any type information.</p><p>The Notion export does not preserve the formula/rollup configuration itself, instead it just exports the value.</p></td>
</tr>
<tr>
<td>Button / Verification / any other type</td>
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Sorting Notes.md b/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Sorting Notes.md
index c695a3cac9..c905f11473 100644
--- a/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Sorting Notes.md
+++ b/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Sorting Notes.md
@@ -23,32 +23,32 @@ Child notes can be automatically sorted by attaching specific [labels](../../Adv
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">#sorted</code></td>
+ <td><code>#sorted</code></td>
<td><p>Keeps child notes sorted by title alphabetically.</p><p>When given a value, it will sort by the value of another label instead. If one of the child notes doesn't have the specified label, the title will be used for them instead.</p></td>
</tr>
<tr>
- <td><code spellcheck="false">#sortDirection</code></td>
- <td><p>If <code spellcheck="false">sorted</code> is applied, specifies the direction of the sort:</p><ul><li><code spellcheck="false">ASC</code>, ascending (default)</li><li><code spellcheck="false">DESC</code>, descending</li></ul></td>
+ <td><code>#sortDirection</code></td>
+ <td><p>If <code>sorted</code> is applied, specifies the direction of the sort:</p><ul><li><code>ASC</code>, ascending (default)</li><li><code>DESC</code>, descending</li></ul></td>
</tr>
<tr>
- <td><code spellcheck="false">#sortFoldersFirst</code></td>
- <td>If <code spellcheck="false">sorted</code> is applied, folders (notes with children) will be sorted as a group at the top, and the rest will be sorted.</td>
+ <td><code>#sortFoldersFirst</code></td>
+ <td>If <code>sorted</code> is applied, folders (notes with children) will be sorted as a group at the top, and the rest will be sorted.</td>
</tr>
<tr>
- <td><code spellcheck="false">#sortNatural</code></td>
+ <td><code>#sortNatural</code></td>
<td>Sort numbers naturally instead of alphabetically, so 2 comes before 10.</td>
</tr>
<tr>
- <td><code spellcheck="false">#sortLocale</code></td>
- <td>The language code driving the natural sort (e.g. <code spellcheck="false">zh-CN</code>, <code spellcheck="false">de</code>). Only meaningful together with <code spellcheck="false">#sortNatural</code>.</td>
+ <td><code>#sortLocale</code></td>
+ <td>The language code driving the natural sort (e.g. <code>zh-CN</code>, <code>de</code>). Only meaningful together with <code>#sortNatural</code>.</td>
</tr>
<tr>
- <td><code spellcheck="false">#top</code></td>
- <td>If <code spellcheck="false">sorted</code> is applied to the parent note, keeps given note on top in its parent.</td>
+ <td><code>#top</code></td>
+ <td>If <code>sorted</code> is applied to the parent note, keeps given note on top in its parent.</td>
</tr>
<tr>
- <td><code spellcheck="false">#bottom</code></td>
- <td>If <code spellcheck="false">sorted</code> is applied to the parent note, keeps given note on bottom in its parent.</td>
+ <td><code>#bottom</code></td>
+ <td>If <code>sorted</code> is applied to the parent note, keeps given note on bottom in its parent.</td>
</tr>
</tbody>
</table>
diff --git a/docs/User Guide/User Guide/Collections/Calendar.md b/docs/User Guide/User Guide/Collections/Calendar.md
index 5717683b00..981c8c198e 100644
--- a/docs/User Guide/User Guide/Collections/Calendar.md
+++ b/docs/User Guide/User Guide/Collections/Calendar.md
@@ -104,31 +104,31 @@ The following attributes can be added to the Collection type:
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">#calendar:hideWeekends</code></td>
+ <td><code>#calendar:hideWeekends</code></td>
<td>When present (regardless of value), it will hide Saturday and Sundays from the calendar.</td>
</tr>
<tr>
- <td><code spellcheck="false">#calendar:weekNumbers</code></td>
+ <td><code>#calendar:weekNumbers</code></td>
<td>When present (regardless of value), it will show the number of the week on the calendar.</td>
</tr>
<tr>
- <td><code spellcheck="false">#calendar:initialDate</code></td>
+ <td><code>#calendar:initialDate</code></td>
<td>Change the date the calendar opens on. When not present, the calendar opens on the current date.</td>
</tr>
<tr>
- <td><code spellcheck="false">#calendar:view</code></td>
- <td><p>Which view to display in the calendar:</p><ul><li><code spellcheck="false">timeGridDay</code> for the <em>day</em> view;</li><li><code spellcheck="false">timeGridWeek</code> for the <em>week</em> view;</li><li><code spellcheck="false">dayGridMonth</code> for the <em>month</em> view;</li><li><code spellcheck="false">multiMonthYear</code> for the <em>year</em> view;</li><li><code spellcheck="false">listMonth</code> for the <em>list</em> view.</li></ul><p>Any other value will be dismissed and the default view (month) will be used instead.</p><p>The value of this label is automatically updated when changing the view using the UI buttons.</p></td>
+ <td><code>#calendar:view</code></td>
+ <td><p>Which view to display in the calendar:</p><ul><li><code>timeGridDay</code> for the <em>day</em> view;</li><li><code>timeGridWeek</code> for the <em>week</em> view;</li><li><code>dayGridMonth</code> for the <em>month</em> view;</li><li><code>multiMonthYear</code> for the <em>year</em> view;</li><li><code>listMonth</code> for the <em>list</em> view.</li></ul><p>Any other value will be dismissed and the default view (month) will be used instead.</p><p>The value of this label is automatically updated when changing the view using the UI buttons.</p></td>
</tr>
<tr>
- <td><code spellcheck="false">#calendar:slotDuration</code></td>
- <td>Sets how long each timeslot is on the calendar. Defaults to <code spellcheck="false">00:15:00</code> (15 minutes). Must have the format "HH:MM:SS". For example, to create timeslots for every 10 minutes, you would set <code spellcheck="false">#calendar:slotDuration="00:10:00"</code>.</td>
+ <td><code>#calendar:slotDuration</code></td>
+ <td>Sets how long each timeslot is on the calendar. Defaults to <code>00:15:00</code> (15 minutes). Must have the format "HH:MM:SS". For example, to create timeslots for every 10 minutes, you would set <code>#calendar:slotDuration="00:10:00"</code>.</td>
</tr>
<tr>
- <td><code spellcheck="false">#calendar:slotLabelInterval</code></td>
- <td>Sets how often the timeslots on the calendar should be labeled. Defaults to <code spellcheck="false">01:00:00</code> (1 hour). Must have the format "HH:MM:SS". For example, to label timeslots every 30 minutes, you would set <code spellcheck="false">#calendar:slotLabelInterval="00:30:00"</code>.</td>
+ <td><code>#calendar:slotLabelInterval</code></td>
+ <td>Sets how often the timeslots on the calendar should be labeled. Defaults to <code>01:00:00</code> (1 hour). Must have the format "HH:MM:SS". For example, to label timeslots every 30 minutes, you would set <code>#calendar:slotLabelInterval="00:30:00"</code>.</td>
</tr>
<tr>
- <td><code spellcheck="false">~child:template</code></td>
+ <td><code>~child:template</code></td>
<td>Defines the template for newly created notes in the calendar (via dragging or clicking).</td>
</tr>
</tbody>
diff --git a/docs/User Guide/User Guide/Collections/Geo Map.md b/docs/User Guide/User Guide/Collections/Geo Map.md
index 1d0986a092..03b523d1a8 100644
--- a/docs/User Guide/User Guide/Collections/Geo Map.md
+++ b/docs/User Guide/User Guide/Collections/Geo Map.md
@@ -87,7 +87,7 @@ The search prefers the area you are viewing. Places inside the current view are
If you type or paste coordinates into the search bar, a _Go to_ row is offered above all the other results. Selecting it moves the map to that exact spot and marks it. You can then keep it as a marker, in the same way you keep a place found by searching.
-A point has no name of its own. It only has the coordinates you typed. The note is therefore given the same name as any other new note, which is the name you also get from the _Add marker_ button and from the + button in the note tree. The note opens with that name selected, so you can type over it. If the map has a <a class="reference-link" href="../Advanced%20Usage/Default%20Note%20Title.md">Default Note Title</a> label, the marker is named by that template instead.
+A point has no name of its own. It only has the coordinates you typed. The note is therefore given the same name as any other new note, which is the name you also get from the _Add marker_ button and from the + button in the note tree. The note opens with that name selected, so you can type over it. If the map has a <a class="reference-link" href="../Advanced%20Usage/Default%20Note%20Title.md">[missing note]</a> label, the marker is named by that template instead.
The forms understood are:
@@ -203,7 +203,7 @@ After clicking the button to move the marker, click at the desired position on t
## Interaction with the markers, tracks or shapes
-* Hovering over a marker will display a <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Note%20Tooltip.md">Note Tooltip</a> with the content of the note it belongs to.
+* Hovering over a marker will display a <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Note%20Tooltip.md">[missing note]</a> with the content of the note it belongs to.
* Clicking on the note title in the tooltip will navigate to the note in the current view.
* Right-clicking the marker will open a contextual menu (as described below).
* Clicking a marker will focus on the marker and display a dedicated popup with the details. This works regardless of whether the map is editable or not.
@@ -292,7 +292,7 @@ Similarly to the Google Maps approach:
## Drawing shapes on the map
-See the dedicated <a class="reference-link" href="Geo%20Map/Drawing%20shapes.md">Drawing shapes</a> page.
+See the dedicated <a class="reference-link" href="Geo%20Map/Drawing%20shapes.md">[missing note]</a> page.
## Adding GPS tracks (.gpx)
@@ -328,7 +328,7 @@ When a map is [read-only](../Basic%20Concepts%20and%20Features/Notes/Read-Only%2
* Keeping a place as a marker, whether you found it by searching or clicked it on the map. You can still search and click, and you can still look at a place and copy its coordinates.
* Drawing [shapes](Geo%20Map/Drawing%20shapes.md).
-To set a map as read-only, go to <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Note%20buttons.md">Note buttons</a> → _Editable_ → _Read-only_ (on the new layout, or in Basic Properties on the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Ribbon.md">Ribbon</a> for the old layout).
+To set a map as read-only, go to <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Note%20buttons.md">[missing note]</a> → _Editable_ → _Read-only_ (on the new layout, or in Basic Properties on the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Ribbon.md">Ribbon</a> for the old layout).
## Configuration
diff --git a/docs/User Guide/User Guide/Collections/Geo Map/Drawing shapes.md b/docs/User Guide/User Guide/Collections/Geo Map/Drawing shapes.md
index 592821658d..3280e4e6db 100644
--- a/docs/User Guide/User Guide/Collections/Geo Map/Drawing shapes.md
+++ b/docs/User Guide/User Guide/Collections/Geo Map/Drawing shapes.md
@@ -34,7 +34,6 @@ The tool is deactivated once a shape is finished, so drawing a second shape requ
Once a shape is created:
* Clicking a shape opens the standard panel which allows changing the title, the content and with buttons to open the note or remove it.
-
* When clicking, a marker takes priority over the shape.
* Right-clicking a shape opens a contextual menu similar to the one for markers, which allows opening the corresponding note or removing the shape.
* Typing in the map's search bar finds shapes by their title, as it does markers. Selecting one brings the whole shape into view.
diff --git a/docs/User Guide/User Guide/Note Types/Text/Automatic replacements.md b/docs/User Guide/User Guide/Note Types/Text/Automatic replacements.md
index 6c775d9a6c..27f470df67 100644
--- a/docs/User Guide/User Guide/Note Types/Text/Automatic replacements.md
+++ b/docs/User Guide/User Guide/Note Types/Text/Automatic replacements.md
@@ -9,10 +9,10 @@ These replacements are not applied inside code blocks or inline code, and pasted
Once an automatic replacement takes place, it can be undone by:
-* Pressing <kbd spellcheck="false">Backspace</kbd> immediately after a replacement undoes it and restores what you typed.
- * Note that this consumes the undo, so a further <kbd spellcheck="false">Ctrl</kbd>+<kbd spellcheck="false">Z</kbd> might delete your typed text.
- * Pressing <kbd spellcheck="false">Space</kbd> or changing the cursor position disables this functionality.
-* Pressing <kbd spellcheck="false">Ctrl</kbd>+<kbd spellcheck="false">Z</kbd>, which works even after pressing space.
+* Pressing <kbd>Backspace</kbd> immediately after a replacement undoes it and restores what you typed.
+ * Note that this consumes the undo, so a further <kbd>Ctrl</kbd>+<kbd>Z</kbd> might delete your typed text.
+ * Pressing <kbd>Space</kbd> or changing the cursor position disables this functionality.
+* Pressing <kbd>Ctrl</kbd>+<kbd>Z</kbd>, which works even after pressing space.
### Replacement groups & configuration
@@ -33,7 +33,7 @@ Each offers:
* _Based on the note's content language_ (the default) — English gives `“quote”`, German `„quote“`, French `« quote »`, Japanese `「quote」`. See <a class="reference-link" href="Content%20language%20%26%20Right-to-left%20support.md">Content language &amp; Right-to-left support</a> for how a note's language is decided.
* _Disabled,_ straight quotes stay straight.
-* A specific pair_:_ `“…”`, `‘…’`, `„…“`, `„…”`, `«…»`, `« … »`, `‹…›`, `「…」`, `『…』`. Choosing one applies it to every note, regardless of its content language.
+* A specific pair\_:\_ `“…”`, `‘…’`, `„…“`, `„…”`, `«…»`, `« … »`, `‹…›`, `「…」`, `『…』`. Choosing one applies it to every note, regardless of its content language.
## Custom replacements
diff --git a/docs/User Guide/User Guide/Scripting/Backend scripts/Backend Events.md b/docs/User Guide/User Guide/Scripting/Backend scripts/Backend Events.md
index 0624c3a1f7..545a347868 100644
--- a/docs/User Guide/User Guide/Scripting/Backend scripts/Backend Events.md
+++ b/docs/User Guide/User Guide/Scripting/Backend scripts/Backend Events.md
@@ -14,16 +14,16 @@ Global events are attached to the script note via label. Simply create a `run` l
</thead>
<tbody>
<tr>
- <td><code spellcheck="false">run</code></td>
- <td><p>Defines on which events script should run. Possible values are:</p><ul><li><code spellcheck="false">backendStartup</code> - when Trilium backend starts up</li><li><code spellcheck="false">hourly</code> - run once an hour. You can use additional label <code spellcheck="false">runAtHour</code> to specify at which hour, on the back-end.</li><li><code spellcheck="false">daily</code> - run once a day, on the back-end</li></ul></td>
+ <td><code>run</code></td>
+ <td><p>Defines on which events script should run. Possible values are:</p><ul><li><code>backendStartup</code> - when Trilium backend starts up</li><li><code>hourly</code> - run once an hour. You can use additional label <code>runAtHour</code> to specify at which hour, on the back-end.</li><li><code>daily</code> - run once a day, on the back-end</li></ul></td>
</tr>
<tr>
- <td><code spellcheck="false">runOnInstance</code></td>
+ <td><code>runOnInstance</code></td>
<td>Specifies that the script should only run on a particular&nbsp;<a class="reference-link" href="../../Advanced%20Usage/Configuration%20(config.ini%20or%20environment%20variables)/Trilium%20instance.md">Trilium instance</a>.</td>
</tr>
<tr>
- <td><code spellcheck="false">runAtHour</code></td>
- <td>On which hour should this run. Should be used together with <code spellcheck="false">#run=hourly</code>. Can be defined multiple times for more runs during the day.</td>
+ <td><code>runAtHour</code></td>
+ <td>On which hour should this run. Should be used together with <code>#run=hourly</code>. Can be defined multiple times for more runs during the day.</td>
</tr>
</tbody>
</table>
diff --git a/docs/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets.md b/docs/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets.md
index 27f2274e75..1a1f900458 100644
--- a/docs/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets.md
+++ b/docs/User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets.md
@@ -72,7 +72,7 @@ A widget can be placed in one of the following sections of the applications:
</colgroup>
<thead>
<tr>
- <th>Value for <code spellcheck="false">parentWidget</code></th>
+ <th>Value for <code>parentWidget</code></th>
<th>Description</th>
<th>Sample widget</th>
<th>Special requirements</th>
@@ -80,28 +80,28 @@ A widget can be placed in one of the following sections of the applications:
</thead>
<tbody>
<tr>
- <th><code spellcheck="false">left-pane</code></th>
+ <th><code>left-pane</code></th>
<td>Appears within the same pane that holds the&nbsp;<a class="reference-link" href="../../Basic%20Concepts%20and%20Features/UI%20Elements/Note%20Tree.md">Note Tree</a>.</td>
- <td>Same as above, with only a different <code spellcheck="false">parentWidget</code>.</td>
+ <td>Same as above, with only a different <code>parentWidget</code>.</td>
<td>None.</td>
</tr>
<tr>
- <th><code spellcheck="false">center-pane</code></th>
+ <th><code>center-pane</code></th>
<td>In the content area. If a split is open, the widget will span all of the splits.</td>
<td>See example above.</td>
<td>None.</td>
</tr>
<tr>
- <th><code spellcheck="false">note-detail-pane</code></th>
+ <th><code>note-detail-pane</code></th>
<td><p>In the content area, inside the note detail area. If a split is open, the widget will be contained inside the split.</p><p>This is ideal if the widget is note-specific.</p></td>
<td><a class="reference-link" href="Custom%20Widgets/Note%20context%20aware%20widget.md">Note context aware widget</a></td>
- <td><ul><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></td>
+ <td><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></ul></td>
</tr>
<tr>
- <th><code spellcheck="false">right-pane</code></th>
+ <th><code>right-pane</code></th>
<td>In the&nbsp;<a class="reference-link" href="../../Basic%20Concepts%20and%20Features/UI%20Elements/Right%20Sidebar.md">Right Sidebar</a>, as a dedicated section.</td>
<td><a class="reference-link" href="Custom%20Widgets/Right%20pane%20widget.md">Right pane widget</a></td>
- <td><ul><li>Although not mandatory, it's best to use a <code spellcheck="false">RightPanelWidget</code> instead of a <code spellcheck="false">BasicWidget</code> or a <code spellcheck="false">NoteContextAwareWidget</code>.</li></ul></td>
+ <td><ul><li>Although not mandatory, it's best to use a <code>RightPanelWidget</code> instead of a <code>BasicWidget</code> or a <code>NoteContextAwareWidget</code>.</li></ul></td>
</tr>
</tbody>
</table>
diff --git a/docs/User Guide/User Guide/Scripting/Frontend Basics/Examples/New Task launcher button.md b/docs/User Guide/User Guide/Scripting/Frontend Basics/Examples/New Task launcher button.md
index f425771350..8147f50043 100644
--- a/docs/User Guide/User Guide/Scripting/Frontend Basics/Examples/New Task launcher button.md
+++ b/docs/User Guide/User Guide/Scripting/Frontend Basics/Examples/New Task launcher button.md
@@ -54,18 +54,18 @@ Since we set the script to be run on start-up, all we need to do is to [refresh
// [...]
}
});</code></pre></td>
- <td><p>This uses the <a href="../../Frontend%20Basics.md">Front-end API</a> to create a icon in the&nbsp;<a class="reference-link" href="../../../Basic%20Concepts%20and%20Features/UI%20Elements/Launch%20Bar.md">Launch Bar</a>, by specifying:</p><ul><li>A title</li><li>A corresponding boxicons icon (without the <code spellcheck="false">bx-</code> prefix).</li><li>Optionally, a keyboard shortcut to assign to it.</li><li>The action, which will be executed when the button is pressed.</li></ul></td>
+ <td><p>This uses the <a href="../../Frontend%20Basics.md">Front-end API</a> to create a icon in the&nbsp;<a class="reference-link" href="../../../Basic%20Concepts%20and%20Features/UI%20Elements/Launch%20Bar.md">Launch Bar</a>, by specifying:</p><ul><li>A title</li><li>A corresponding boxicons icon (without the <code>bx-</code> prefix).</li><li>Optionally, a keyboard shortcut to assign to it.</li><li>The action, which will be executed when the button is pressed.</li></ul></td>
</tr>
<tr>
<td><pre><code class="language-text-x-trilium-auto">const taskNoteId = await api.runOnBackend(() =&gt; {
// Shown below.
return resp.note.noteId;
});</code></pre></td>
- <td><ul><li>This portion of code is actually executed on the server (backend) and not on the client (i.e. browser).<ul><li>The reason is that the creating notes is the responsibility of the server.</li></ul></li><li>Here we can also see that it is possible to return results from the server execution and read them in the client (<code spellcheck="false">taskNoteId</code>).</li></ul></td>
+ <td><ul><li>This portion of code is actually executed on the server (backend) and not on the client (i.e. browser).<ul><li>The reason is that the creating notes is the responsibility of the server.</li></ul></li><li>Here we can also see that it is possible to return results from the server execution and read them in the client (<code>taskNoteId</code>).</li></ul></td>
</tr>
<tr>
<td><pre><code class="language-text-x-trilium-auto">const todoRootNote = api.getNoteWithLabel("taskTodoRoot");</code></pre></td>
- <td><ul><li>Here we identify a note with the <a href="../../../Advanced%20Usage/Attributes.md">label</a> <code spellcheck="false">#taskTodoRoot</code>. This is how the&nbsp;<a class="reference-link" href="../../../Advanced%20Usage/Advanced%20Showcases/Task%20Manager.md">Task Manager</a>&nbsp;showcase knows where to place all the different tasks.</li><li>Normally this might return a <code spellcheck="false">null</code> value if no such note could be identified, but error handling is outside the scope of this example.&nbsp;</li></ul></td>
+ <td><ul><li>Here we identify a note with the <a href="../../../Advanced%20Usage/Attributes.md">label</a> <code>#taskTodoRoot</code>. This is how the&nbsp;<a class="reference-link" href="../../../Advanced%20Usage/Advanced%20Showcases/Task%20Manager.md">Task Manager</a>&nbsp;showcase knows where to place all the different tasks.</li><li>Normally this might return a <code>null</code> value if no such note could be identified, but error handling is outside the scope of this example.&nbsp;</li></ul></td>
</tr>
<tr>
<td><pre><code class="language-text-x-trilium-auto">const resp = api.createTextNote(todoRootNote.noteId, "New task", "")</code></pre></td>