Skip to content

Build your personal knowledge base with Trilium Notes

docs(user): fix broken links

Elian Doran24998ca83d1f
diff --git a/apps/client/src/services/in_app_help.spec.ts b/apps/client/src/services/in_app_help.spec.ts
index 5917eded25..c11abdbefb 100644
--- a/apps/client/src/services/in_app_help.spec.ts
+++ b/apps/client/src/services/in_app_help.spec.ts
@@ -61,8 +61,70 @@ describe("Help button", () => {
);
}
});
+
+ // Internal help links are `href="#root/<notePath>/_help_<noteId>"`. If the target `_help_` note is
+ // not exported into the in-app help (e.g. a link into the Technical Guide subtree, which lives in
+ // docs/ but is not shipped as doc_notes), the link dead-ends — the export renders it as
+ // "[missing note]". Links whose last segment is NOT a `_help_` note (e.g. `#root/_hidden/_options/…`)
+ // are intentional runtime deep-links to real system notes and are deliberately not validated here.
+ it("Every internal help link points to an existing help note", () => {
+ const docNotesEnRoot = path.resolve(path.join(__dirname, "../../../server/src/assets/doc_notes/en"));
+ const meta: HiddenSubtreeItem[] = JSON.parse(fs.readFileSync(path.join(docNotesEnRoot, "User Guide/!!!meta.json"), "utf-8"));
+ const definedIds = new Set(collectHelpIds(meta));
+
+ const broken: string[] = [];
+ for (const htmlFile of collectHtmlFiles(docNotesEnRoot)) {
+ const html = fs.readFileSync(htmlFile, "utf-8");
+ const relFile = path.relative(docNotesEnRoot, htmlFile);
+ // Match anchors so the failure message can quote the link text (often "[missing note]").
+ for (const match of html.matchAll(/<a\b[^>]*href="#root\/([^"]+)"[^>]*>(.*?)<\/a>/gs)) {
+ const notePath = match[1].split(/[#?]/)[0];
+ const target = notePath.split("/").pop() ?? "";
+ if (target.startsWith("_help_") && !definedIds.has(target)) {
+ broken.push(`${relFile}: "${match[2].trim()}" -> ${target}`);
+ }
+ }
+ }
+
+ if (broken.length) {
+ expect.fail(
+ `The following in-app help links point to notes that are not part of the in-app help ` +
+ `(the target is not in !!!meta.json, so it renders as "[missing note]"). Either export the ` +
+ `target page into the help tree or remove/repoint the link:\n` +
+ broken.map((b) => ` - ${b}`).join("\n")
+ );
+ }
+ });
});
+/** Collects every `_help_*` note id defined in the help meta tree. */
+function collectHelpIds(items: HiddenSubtreeItem[]): string[] {
+ const ids: string[] = [];
+ for (const item of items) {
+ if (item.id) {
+ ids.push(item.id);
+ }
+ if (item.children) {
+ ids.push(...collectHelpIds(item.children as HiddenSubtreeItem[]));
+ }
+ }
+ return ids;
+}
+
+/** Recursively lists every `.html` file under `dir`. */
+function collectHtmlFiles(dir: string): string[] {
+ const files: string[] = [];
+ for (const entry of fs.readdirSync(dir, { withFileTypes: true })) {
+ const full = path.join(dir, entry.name);
+ if (entry.isDirectory()) {
+ files.push(...collectHtmlFiles(full));
+ } else if (entry.name.endsWith(".html")) {
+ files.push(full);
+ }
+ }
+ return files;
+}
+
/** Collects every `docName` label value from the help meta tree. */
function collectDocNames(items: HiddenSubtreeItem[]): string[] {
const docNames: string[] = [];
diff --git a/apps/server/playwright.config.nixos.ts b/apps/server/playwright.config.nixos.ts
new file mode 100644
index 0000000000..08d4848ce6
--- /dev/null
+++ b/apps/server/playwright.config.nixos.ts
@@ -0,0 +1,15 @@
+// Temporary local config: reuse the standard e2e config but launch the system
+// chromium (NixOS: Playwright's downloaded builds can't resolve shared libs).
+import { defineConfig } from "@playwright/test";
+
+import baseConfig from "./playwright.config";
+
+export default defineConfig({
+ ...baseConfig,
+ use: {
+ ...(baseConfig as { use?: object }).use,
+ launchOptions: {
+ executablePath: "/etc/profiles/per-user/elian/bin/chromium"
+ }
+ }
+});
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 c58ddce889..1d5ef79152 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
@@ -21,13 +21,13 @@
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>
+ <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>
<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>".
+ 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>
<li><strong>Counts as completed</strong>: If checked, the task is treated
as completed.</li>
@@ -62,9 +62,4 @@
interest in the community for transferring notes between Trilium database
instances more easily, the Trilium team may consider a better state definition
mechanism.</p>
-</aside>
-<h2>See also</h2>
-<ul>
- <li><a class="reference-link" href="#root/jdjRLhLV3TtI/HMrVxa1lJBKv/_help_dSgzBgbagtYP">Exported content with extended task states</a>
- </li>
-</ul>
\ No newline at end of file
+</aside>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Feature Highlights.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Feature Highlights.html
index c4af42f289..5ac7ad4cfb 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Feature Highlights.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Feature Highlights.html
@@ -45,14 +45,14 @@
</li>
<li>v0.94.0:
<ul>
- <li>Added integration with&nbsp;<a class="reference-link" href="#root/_help_LMAv4Uy3Wk6J">[missing note]</a>&nbsp;(using
+ <li>Added integration with&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/_help_GBBMSlVSOIGP">AI</a>&nbsp;(using
self-hosted LLMs such as Ollama or industry standards such as ChatGPT).</li>
</ul>
</li>
<li>v0.92.5:
<ul>
<li>Windows binaries are now signed.</li>
- <li><a class="reference-link" href="#root/_help_7DAiwaf8Z7Rz">Multi-Factor Authentication</a>&nbsp;was
+ <li><a class="reference-link" href="#root/_help_7DAiwaf8Z7Rz">Multi-factor authentication with TOTP</a>&nbsp;was
introduced.</li>
</ul>
</li>
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 be34a79040..c60397ad42 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
@@ -1,7 +1,7 @@
<p>The Trilium desktop app opens a TCP port (usually <code spellcheck="false">37840</code>)
for the following reasons:</p>
<ul>
- <li>Integration with the&nbsp;<a class="reference-link" href="#root/jdjRLhLV3TtI/yeqU0zo0ZQ83/_help_YTAxJMA3uWwn">Web Clipper</a>.</li>
+ <li>Integration with the&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/Otzi9La2YAUX/_help_MtPxeAWVAzMg">Web Clipper</a>.</li>
<li>Desktop-to-desktop&nbsp;<a class="reference-link" href="#root/_help_cbkrhQjrkKrh">Synchronization</a>.</li>
<li>Making Trilium accessible over the web, similar to a&nbsp;<a class="reference-link"
href="#root/_help_WOcw2SLH6tbX">Server Installation</a>. See&nbsp;<a class="reference-link"
@@ -18,7 +18,7 @@
follows:</p><pre><code class="language-text-x-trilium-auto">[Network]
host=0.0.0.0</code></pre>
<aside class="admonition note">
- <p>If you use the&nbsp;<a class="reference-link" href="#root/jdjRLhLV3TtI/yeqU0zo0ZQ83/_help_YTAxJMA3uWwn">Web Clipper</a>&nbsp;on
+ <p>If you use the&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/Otzi9La2YAUX/_help_MtPxeAWVAzMg">Web Clipper</a>&nbsp;on
the same device as the one running the desktop application, there is no
need to enable access on the LAN.</p>
</aside>
\ No newline at end of file
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 fd6193d905..18f8a5d934 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
@@ -231,14 +231,13 @@
further organization is by <em>clan</em> (as in "Smiths"). Some people are
members of several such circles, so they are just cloned into multiple
places.</p>
-<p>For family specifically it's pretty useful to create <a href="#root/_help_iRwzGnHPzonm">relation map</a> to
+<p>For family specifically it's pretty useful to create a&nbsp;<a class="reference-link"
+ href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_iRwzGnHPzonm">Relation Map</a>&nbsp;to
visualize relationships:</p>
<figure class="image">
<img style="aspect-ratio:941/758;" src="Patterns of personal knowledge_relation-map-family.png"
width="941" height="758">
</figure>
-<p><a class="reference-link" href="#root/_help_lQcnSv5DMSe1">[missing note]</a>
-</p>
<h3>Books</h3>
<p>Of course, I keep standard "To read" list. I also keep a record on the
books I've read - typically one book has one subtree where the root has
@@ -271,7 +270,7 @@
every PC which provides decent backup and makes them available everywhere.</p>
<p>Advantage compared to e.g. keeping them in Dropbox or Google Drive is
that they are not stored on some 3rd party server and they can be encrypted
- (<a href="#root/_help_bwg0e8ewQMak">protected</a>).</p>
+ (see&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/BFs8mudNFgCS/_help_bwg0e8ewQMak">Protected Notes</a>).</p>
<h3>Inventory</h3>
<p>Inventory contains documents and other relevant importation for my important
belongings - e.g. for car you can keep the registration card, maintenance
@@ -287,7 +286,7 @@
<h3>Work knowledge base</h3>
<p>I usually keep top level note for the company I currently work at (past
jobs are moved elsewhere). I track basic organization of the company (divisions,
- business units), who is who (<a href="#root/_help_iRwzGnHPzonm">relation maps</a>)
+ business units), who is who (<a class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_iRwzGnHPzonm">Relation Map</a>)
are again useful for visualization), projects I work at etc.</p>
<p>There's a number of credentials to various company services I need to
use. Companies usually have a bunch of complex processes and tools. I record
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Converting between note types.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Converting between note types.html
index 13b425102a..47692bbac3 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Converting between note types.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Converting between note types.html
@@ -7,7 +7,7 @@
<p>Before conversion, a revision is saved automatically, so you can restore
the original or recover any missing elements from it if the conversion
produces undesired results. Read more about&nbsp;<a class="reference-link"
- href="#root/jdjRLhLV3TtI/yeqU0zo0ZQ83/_help_qjQNyaYXSNWu">Note Revisions</a>.</p>
+ href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/BFs8mudNFgCS/_help_vZWERwf8U3nx">Note Revisions</a>.</p>
<h2>Converting individual notes</h2>
<h3>Markdown to Text Note</h3>
<p>Markdown notes can be converted to Text Notes with negligible loss of
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 de7529e5c5..274b835323 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
@@ -32,16 +32,11 @@
<p>The following features are supported by Trilium's Markdown format and
will show up in the preview pane:</p>
<ul>
- <li>
- <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>
- </li>
- <li>
- <p>Code blocks with syntax highlight.</p>
+ <li>All standard and GitHub-flavored syntax (basic formatting, tables, blockquotes).</li>
+ <li>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>).</li>
+ <li>Code blocks with syntax highlight.
<ul>
<li>The language must be specified for syntax highlight to be applied (e.g.
<code
@@ -51,19 +46,13 @@
href="#root/_help_4TIF1oA4VQRO">Options</a>.</li>
</ul>
</li>
- <li>
- <p><a class="reference-link" href="#root/_help_NwBbFdNZ9h7O">Block quotes &amp; admonitions</a>
- </p>
- </li>
- <li>
- <p><a class="reference-link" href="#root/_help_YfYAtQBcfo5V">Math Equations</a>&nbsp;(both
- inline and block)</p>
+ <li><a class="reference-link" href="#root/_help_NwBbFdNZ9h7O">Block quotes &amp; admonitions</a>
</li>
- <li>
- <p><a class="reference-link" href="#root/_help_s1aBHPd79XYj">Mermaid Diagrams</a>&nbsp;using
- <code
- spellcheck="false">```mermaid</code>
- </p>
+ <li><a class="reference-link" href="#root/_help_YfYAtQBcfo5V">Math Equations</a>&nbsp;(both
+ inline and block)</li>
+ <li><a class="reference-link" href="#root/_help_s1aBHPd79XYj">Mermaid Diagrams</a>&nbsp;using
+ <code
+ spellcheck="false">```mermaid</code>
</li>
<li>
<p><a class="reference-link" href="#root/_help_nBAXQFj20hS1">Include Note</a>&nbsp;(no
@@ -83,29 +72,30 @@
</li>
<li>
<p>To-do lists with extended task states:</p>
- <table class="ck-table-resized"
- style="border-style:none">
- <colgroup>
- <col style="width:80.6%;">
- <col style="width:19.4%;">
- </colgroup>
- <tbody>
- <tr>
- <td><pre><code class="language-text-x-markdown">- [ ] None
+ <figure class="table">
+ <table class="ck-table-resized" style="border-style:none;">
+ <colgroup>
+ <col style="width:80.6%;">
+ <col style="width:19.4%;">
+ </colgroup>
+ <tbody>
+ <tr>
+ <td><pre><code class="language-text-x-markdown">- [ ] None
- [/] Doing
- [X] Done
- [?] Maybe
- [-] Cancelled</code></pre>
- </td>
- <td>
- <figure class="image image-style-align-right">
- <img style="aspect-ratio:218/221;" src="Markdown_image.png"
- width="218" height="221">
- </figure>
- </td>
- </tr>
- </tbody>
- </table>
+ </td>
+ <td>
+ <figure class="image image-style-align-right">
+ <img style="aspect-ratio:218/221;" src="Markdown_image.png"
+ width="218" height="221">
+ </figure>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </figure>
<p>Task states are customizable: you can reorder them, create new ones with
different colors and symbols, or delete the ones you don't need. See&nbsp;
<a
@@ -124,7 +114,7 @@
</ul>
</li>
<li>
- <p>Page breaks for&nbsp;<a class="reference-link" href="#root/jdjRLhLV3TtI/yeqU0zo0ZQ83/_help_W0msUwLxm40d">Printing and exporting to PDF</a>:</p><pre><code class="language-text-x-trilium-auto">&lt;div class="page-break"&gt;&lt;/div&gt;</code></pre>
+ <p>Page breaks for&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/BFs8mudNFgCS/_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>
</ul>
<h3>Links</h3>
@@ -281,7 +271,7 @@
<h2>Conversion between text notes and Markdown notes</h2>
<p><a class="reference-link" href="#root/_help_iPIMuisry3hd">Text</a>&nbsp;notes
can be converted into Markdown notes and vice versa. See&nbsp;<a class="reference-link"
- href="#root/_help_jludwdW7N4hg">Converting Between Note Types</a>.</p>
+ href="#root/_help_jludwdW7N4hg">Converting between note types</a>.</p>
<h2>Sync-scrolling &amp; block highlight</h2>
<p>When scrolling through the editing pane, the preview pane will attempt
to synchronize its position to make it easier to see the preview.</p>
diff --git a/docs/User Guide/!!!meta.json b/docs/User Guide/!!!meta.json
index 4e171b51a0..febc7bb66a 100644
--- a/docs/User Guide/!!!meta.json
+++ b/docs/User Guide/!!!meta.json
@@ -251,6 +251,13 @@
"value": "feature-highlights",
"isInheritable": false,
"position": 170
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "GBBMSlVSOIGP",
+ "isInheritable": false,
+ "position": 180
}
],
"format": "markdown",
@@ -522,6 +529,13 @@
"value": "bx bx-network-chart",
"isInheritable": false,
"position": 90
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "MtPxeAWVAzMg",
+ "isInheritable": false,
+ "position": 110
}
],
"format": "markdown",
@@ -11137,71 +11151,7 @@
"isExpanded": false,
"type": "text",
"mime": "text/html",
- "attributes": [
- {
- "type": "relation",
- "name": "internalLink",
- "value": "gLt3vA97tMcp",
- "isInheritable": false,
- "position": 30
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "KC1HB96bqqHX",
- "isInheritable": false,
- "position": 40
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "oPVyFC7WL2Lp",
- "isInheritable": false,
- "position": 50
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "OFXdgB2nNk1F",
- "isInheritable": false,
- "position": 60
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "nRhnJkTT8cPs",
- "isInheritable": false,
- "position": 70
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "ZlN4nump6EbW",
- "isInheritable": false,
- "position": 80
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "s8alTXmpFR61",
- "isInheritable": false,
- "position": 90
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "wy8So3yZZlH9",
- "isInheritable": false,
- "position": 100
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "9sRHySam5fXb",
- "isInheritable": false,
- "position": 110
- }
- ],
+ "attributes": [],
"format": "markdown",
"dataFileName": "Text Snippets.md",
"attachments": [
@@ -13119,6 +13069,13 @@
"value": "markdown",
"isInheritable": false,
"position": 40
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "NRnIZmSMc5sj",
+ "isInheritable": false,
+ "position": 230
}
],
"format": "markdown",
@@ -13183,6 +13140,13 @@
"value": "note-type-conversion",
"isInheritable": false,
"position": 80
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "vZWERwf8U3nx",
+ "isInheritable": false,
+ "position": 90
}
],
"format": "markdown",
diff --git a/docs/User Guide/User Guide/Advanced Usage/Customizing to-do task states.md b/docs/User Guide/User Guide/Advanced Usage/Customizing to-do task states.md
index b4dbc35bbe..077d9766fc 100644
--- a/docs/User Guide/User Guide/Advanced Usage/Customizing to-do task states.md
+++ b/docs/User Guide/User Guide/Advanced Usage/Customizing to-do task states.md
@@ -39,8 +39,4 @@ Once deleted, to-do items using that state will no longer display the custom che
Exporting notes to another Trilium database instance preserves the task states of to-do items, but does not include the custom task definitions. As a result, the destination instance won't know how to render the checkbox unless you recreate the task state there with the same identifier and Markdown symbol.
> [!NOTE]
-> This is a known limitation of the current version. If there is enough interest in the community for transferring notes between Trilium database instances more easily, the Trilium team may consider a better state definition mechanism.
-
-## See also
-
-* <a class="reference-link" href="#root/jdjRLhLV3TtI/HMrVxa1lJBKv/dSgzBgbagtYP">Exported content with extended task states</a>
\ No newline at end of file
+> This is a known limitation of the current version. If there is enough interest in the community for transferring notes between Trilium database instances more easily, the Trilium team may consider a better state definition mechanism.
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Feature Highlights.md b/docs/User Guide/User Guide/Feature Highlights.md
index 67822a4edb..54b3be0c8f 100644
--- a/docs/User Guide/User Guide/Feature Highlights.md
+++ b/docs/User Guide/User Guide/Feature Highlights.md
@@ -14,10 +14,10 @@ This section presents the most important changes by version. For a full set of c
* v0.95.0:
* A more friendly theme was introduced for <a class="reference-link" href="Advanced%20Usage/Sharing.md">Sharing</a>, with search, expandable tree, night mode and more.
* v0.94.0:
- * Added integration with <a class="reference-link" href="#root/LMAv4Uy3Wk6J">[missing note]</a> (using self-hosted LLMs such as Ollama or industry standards such as ChatGPT).
+ * Added integration with <a class="reference-link" href="AI.md">AI</a> (using self-hosted LLMs such as Ollama or industry standards such as ChatGPT).
* v0.92.5:
* Windows binaries are now signed.
- * <a class="reference-link" href="Installation%20%26%20Setup/Server%20Installation/Multi-factor%20authentication%20with%20TOTP.md">Multi-Factor Authentication</a> was introduced.
+ * <a class="reference-link" href="Installation%20%26%20Setup/Server%20Installation/Multi-factor%20authentication%20with%20TOTP.md">Multi-factor authentication with TOTP</a> was introduced.
* v0.92.4:
* macOS binaries are now signed.
* <a class="reference-link" href="Note%20Types/Text.md">Text</a> notes can now have adjustable <a class="reference-link" href="Note%20Types/Text/Content%20language%20%26%20Right-to-left%20support.md">Content language &amp; Right-to-left support</a>.
diff --git a/docs/User Guide/User Guide/Installation & Setup/Desktop Installation/Network Access.md b/docs/User Guide/User Guide/Installation & Setup/Desktop Installation/Network Access.md
index 2f128aae5b..e40f706624 100644
--- a/docs/User Guide/User Guide/Installation & Setup/Desktop Installation/Network Access.md
+++ b/docs/User Guide/User Guide/Installation & Setup/Desktop Installation/Network Access.md
@@ -1,7 +1,7 @@
# Network Access
The Trilium desktop app opens a TCP port (usually `37840`) for the following reasons:
-* Integration with the <a class="reference-link" href="#root/jdjRLhLV3TtI/yeqU0zo0ZQ83/YTAxJMA3uWwn">Web Clipper</a>.
+* Integration with the <a class="reference-link" href="../Web%20Clipper.md">Web Clipper</a>.
* Desktop-to-desktop <a class="reference-link" href="../Synchronization.md">Synchronization</a>.
* Making Trilium accessible over the web, similar to a <a class="reference-link" href="../Server%20Installation.md">Server Installation</a>. See <a class="reference-link" href="Using%20the%20desktop%20application%20as%20a%20server.md">Using the desktop application as a server</a>.
@@ -17,4 +17,4 @@ host=0.0.0.0
```
> [!NOTE]
-> If you use the <a class="reference-link" href="#root/jdjRLhLV3TtI/yeqU0zo0ZQ83/YTAxJMA3uWwn">Web Clipper</a> on the same device as the one running the desktop application, there is no need to enable access on the LAN.
\ No newline at end of file
+> If you use the <a class="reference-link" href="../Web%20Clipper.md">Web Clipper</a> on the same device as the one running the desktop application, there is no need to enable access on the LAN.
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Miscellaneous/Patterns of personal knowledge.md b/docs/User Guide/User Guide/Miscellaneous/Patterns of personal knowledge.md
index 24fb83ac7f..4eeecd6e6d 100644
--- a/docs/User Guide/User Guide/Miscellaneous/Patterns of personal knowledge.md
+++ b/docs/User Guide/User Guide/Miscellaneous/Patterns of personal knowledge.md
@@ -108,12 +108,10 @@ This might seem creepy to some, but I keep a profile on most people. It contains
Naturally I have a lot of (extended) family members, friends, acquaintances etc. so I need some way to sort them. My main method is to sort them by social circle (work, high school, sports club etc.), sometimes also by their town of residence. Family _circle_ is still too large so the further organization is by _clan_ (as in "Smiths"). Some people are members of several such circles, so they are just cloned into multiple places.
-For family specifically it's pretty useful to create [relation map](../Note%20Types/Relation%20Map.md) to visualize relationships:
+For family specifically it's pretty useful to create a <a class="reference-link" href="../Note%20Types/Relation%20Map.md">Relation Map</a> to visualize relationships:
<figure class="image"><img style="aspect-ratio:941/758;" src="Patterns of personal knowledge_relation-map-family.png" width="941" height="758"></figure>
-<a class="reference-link" href="#root/lQcnSv5DMSe1">[missing note]</a>
-
### Books
Of course, I keep standard "To read" list. I also keep a record on the books I've read - typically one book has one subtree where the root has some basic info like author, page count, publication date, date started, date finished (in the form of <a class="reference-link" href="../Advanced%20Usage/Attributes/Promoted%20Attributes.md">Promoted Attributes</a>). I also write a (private) review and keep list of highlights from Kindle, optionally with some commentary, these are usually stored in sub notes (unless they are pretty short).
@@ -134,7 +132,7 @@ I sort personal diary notes directly under _day note_ (explained above), but it
I keep all my personal documents (ID, passport, education certificates ...) scanned in the knowledge base. They are [synchronized](../Installation%20%26%20Setup/Synchronization.md) across every PC which provides decent backup and makes them available everywhere.
-Advantage compared to e.g. keeping them in Dropbox or Google Drive is that they are not stored on some 3rd party server and they can be encrypted ([protected](../Basic%20Concepts%20and%20Features/Notes/Protected%20Notes.md)).
+Advantage compared to e.g. keeping them in Dropbox or Google Drive is that they are not stored on some 3rd party server and they can be encrypted (see <a class="reference-link" href="../Basic%20Concepts%20and%20Features/Notes/Protected%20Notes.md">Protected Notes</a>).
### Inventory
@@ -146,7 +144,7 @@ This where I store hard "knowledge" - summarized topics and findings from differ
### Work knowledge base
-I usually keep top level note for the company I currently work at (past jobs are moved elsewhere). I track basic organization of the company (divisions, business units), who is who ([relation maps](../Note%20Types/Relation%20Map.md)) are again useful for visualization), projects I work at etc.
+I usually keep top level note for the company I currently work at (past jobs are moved elsewhere). I track basic organization of the company (divisions, business units), who is who (<a class="reference-link" href="../Note%20Types/Relation%20Map.md">Relation Map</a>) are again useful for visualization), projects I work at etc.
There's a number of credentials to various company services I need to use. Companies usually have a bunch of complex processes and tools. I record meeting minutes, link to the company wiki (which is usually difficult to find relevant info). In general there's a lot of company specific information I need to know or need have them at hand in a nice structure I can understand. Often it's just copy pasting and reshuffling of existing information into something more understandable for me.
diff --git a/docs/User Guide/User Guide/Note Types/Converting between note types.md b/docs/User Guide/User Guide/Note Types/Converting between note types.md
index 1f5d7a7972..050815cb92 100644
--- a/docs/User Guide/User Guide/Note Types/Converting between note types.md
+++ b/docs/User Guide/User Guide/Note Types/Converting between note types.md
@@ -4,7 +4,7 @@ A note's type may be converted to another:
* <a class="reference-link" href="Text.md">Text</a> notes to <a class="reference-link" href="Markdown.md">Markdown</a> notes
* Markdown notes to Text notes
-Before conversion, a revision is saved automatically, so you can restore the original or recover any missing elements from it if the conversion produces undesired results. Read more about <a class="reference-link" href="#root/jdjRLhLV3TtI/yeqU0zo0ZQ83/qjQNyaYXSNWu">Note Revisions</a>.
+Before conversion, a revision is saved automatically, so you can restore the original or recover any missing elements from it if the conversion produces undesired results. Read more about <a class="reference-link" href="../Basic%20Concepts%20and%20Features/Notes/Note%20Revisions.md">Note Revisions</a>.
## Converting individual notes
diff --git a/docs/User Guide/User Guide/Note Types/Markdown.md b/docs/User Guide/User Guide/Note Types/Markdown.md
index 974398b66d..818644aec2 100644
--- a/docs/User Guide/User Guide/Note Types/Markdown.md
+++ b/docs/User Guide/User Guide/Note Types/Markdown.md
@@ -27,7 +27,6 @@ The following features are supported by Trilium's Markdown format and will show
* All standard and GitHub-flavored syntax (basic formatting, tables, blockquotes).
* Basic HTML is also supported (e.g. collapsible blocks using `<details>` and `<summary>`).
* Code blocks with syntax highlight.
-
* The language must be specified for syntax highlight to be applied (e.g. ` ```js `).
* Code blocks will respect the text wrapping from the <a class="reference-link" href="Text.md">Text</a> section in <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Options.md">Options</a>.
* <a class="reference-link" href="Text/Block%20quotes%20%26%20admonitions.md">Block quotes &amp; admonitions</a>
@@ -49,7 +48,7 @@ The following features are supported by Trilium's Markdown format and will show
```
* To-do lists with extended task states:
- <table class="ck-table-resized" style="border-style:none">
+ <table class="ck-table-resized" style="border-style:none;">
<colgroup>
<col style="width:80.6%;">
<col style="width:19.4%;">
@@ -79,7 +78,7 @@ The following features are supported by Trilium's Markdown format and will show
```
* These can also be quickly created using the `/footnote` command.
-* Page breaks for <a class="reference-link" href="#root/jdjRLhLV3TtI/yeqU0zo0ZQ83/W0msUwLxm40d">Printing and exporting to PDF</a>:
+* Page breaks for <a class="reference-link" href="../Basic%20Concepts%20and%20Features/Notes/Printing%20%26%20Exporting%20as%20PDF.md">Printing &amp; Exporting as PDF</a>:
```
<div class="page-break"></div>
@@ -218,7 +217,7 @@ If the Markdown note contains attachments, a ZIP export will rewrite the links t
## Conversion between text notes and Markdown notes
-<a class="reference-link" href="Text.md">Text</a> notes can be converted into Markdown notes and vice versa. See <a class="reference-link" href="Converting%20between%20note%20types.md">Converting Between Note Types</a>.
+<a class="reference-link" href="Text.md">Text</a> notes can be converted into Markdown notes and vice versa. See <a class="reference-link" href="Converting%20between%20note%20types.md">Converting between note types</a>.
## Sync-scrolling & block highlight