Skip to content

Build your personal knowledge base with Trilium Notes

docs(user): update OneNote with new feature support

Elian Doran03356df8c01f
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI.html
index 8787ecd3e4..c88e243703 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/AI.html
@@ -7,9 +7,9 @@
you pick also decides where your notes travel: a cloud API billed per use,
a subscription you already pay for, or a model running on your own hardware,
in which case nothing leaves the machine. See&nbsp;<a class="reference-link"
- href="#root/pOsGYCXsbNQG/GBBMSlVSOIGP/_help_bkPZAMT7d2sR">Providers</a>&nbsp;for
- what each involves, and&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/GBBMSlVSOIGP/_help_cRRrdZjgyhNc">Privacy</a>&nbsp;for
- exactly what gets sent.</p>
+ href="#root/_help_bkPZAMT7d2sR">Providers</a>&nbsp;for what each involves, and&nbsp;
+ <a
+ class="reference-link" href="#root/_help_cRRrdZjgyhNc">Privacy</a>&nbsp;for exactly what gets sent.</p>
<p>Once enabled, the assistant is available both as a panel in the right
sidebar and as a dedicated note type. It can read and modify notes through
tools, which you can switch off per conversation if you would rather it
@@ -56,7 +56,7 @@
<li>Currently only Claude Code is supported.</li>
</ul>
</li>
- <li class="ck-list-marker-bold"><strong>Local or self-hosted LLM solutions</strong>
+ <li><strong>Local or self-hosted LLM solutions</strong>
<ul>
<li>Ollama</li>
<li>LM Studio.</li>
@@ -67,9 +67,9 @@
local or hosted (e.g. OpenRouter, Groq, Mistral).</li>
</ul>
<p>For more information about each provider, see&nbsp;<a class="reference-link"
- href="#root/GBBMSlVSOIGP/_help_bkPZAMT7d2sR">Providers</a>. See the dedicated&nbsp;
- <a
- class="reference-link" href="#root/pOsGYCXsbNQG/GBBMSlVSOIGP/_help_cRRrdZjgyhNc">Privacy</a>&nbsp;to better understand what data is sent to providers.</p>
+ href="#root/_help_bkPZAMT7d2sR">Providers</a>. See the dedicated&nbsp;<a class="reference-link"
+ href="#root/_help_cRRrdZjgyhNc">Privacy</a>&nbsp;to better understand what data
+ is sent to providers.</p>
<h2>Enabling the AI integration</h2>
<p>To enable the AI integration, simply go to&nbsp;<a class="reference-link"
href="#root/_help_4TIF1oA4VQRO">Options</a>&nbsp;→ <em>AI / LLM</em> and press
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 d4a3210cd6..bab45b771b 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
@@ -9,8 +9,8 @@
<table>
<thead>
<tr>
- <th scope="col">Provider type</th>
- <th scope="col">Destination</th>
+ <th>Provider type</th>
+ <th>Destination</th>
</tr>
</thead>
<tbody>
@@ -38,14 +38,14 @@
by you, before anything is sent.</p>
<h2>What is actually sent</h2>
<ul>
- <li class="ck-list-marker-bold"><strong>Always, with every message</strong>
+ <li><strong>Always, with every message</strong>
<ul>
<li>The conversation itself: your messages and the assistant's replies, including
earlier turns</li>
<li>Trilium's system prompt describing how to format answers and use tools.</li>
</ul>
</li>
- <li class="ck-list-marker-bold"><strong>The current note, only when note context is enabled.</strong>
+ <li><strong>The current note, only when note context is enabled.</strong>
<ul>
<li>In the sidebar chat this is the file icon at the bottom; the dedicated
chat note type never sends a current note.</li>
@@ -56,7 +56,7 @@
the model must call a tool to read further.</li>
</ul>
</li>
- <li class="ck-list-marker-bold"><strong>Any note the model asks for, when note access is enabled.</strong>
+ <li><strong>Any note the model asks for, when note access is enabled.</strong>
<ul>
<li>Tools let the model search your tree and read notes, attributes and attachments
beyond the current one.</li>
@@ -71,8 +71,8 @@
search terms reach the provider's own search infrastructure.</li>
</ul>
<h2>Protected notes</h2>
-<p>While your <a href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/BFs8mudNFgCS/_help_bwg0e8ewQMak">protected session</a> is
- locked, protected notes send neither title nor content. <strong>While it is unlocked they are treated like any other note</strong> —
+<p>While your <a href="#root/_help_bwg0e8ewQMak">protected session</a> is locked,
+ protected notes send neither title nor content. <strong>While it is unlocked they are treated like any other note</strong> —
a note the model reads through a tool is sent to the provider in full.
If you keep sensitive material in protected notes, be aware that unlocking
them removes that boundary for the duration of the session.</p>
@@ -100,7 +100,7 @@
<p>Your API key is stored in your database, sent only to the provider it
belongs to, and is write-only through the options API so that a malevolent&nbsp;
<a
- class="reference-link" href="#root/pOsGYCXsbNQG/_help_CdNpE2pqjmI6">Scripting</a>&nbsp;cannot access it. If you have backend or SQL console
+ class="reference-link" href="#root/_help_CdNpE2pqjmI6">Scripting</a>&nbsp;cannot access it. If you have backend or SQL console
access enabled, a malevolent script <strong>could potentially exfiltrate your API keys</strong>.</p>
<p>The built-in MCP server has no authentication and exposes the same note
tools to any application on your machine that can reach it. It is off by
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 a6d0e8db59..000161c7e6 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
@@ -22,7 +22,7 @@
for a different cloud provider, make sure to discuss it over <a href="https://github.com/orgs/TriliumNext/discussions">GitHub Discussions</a>.</p>
</aside>
<aside class="admonition important">
- <p>See also the dedicated&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/GBBMSlVSOIGP/_help_cRRrdZjgyhNc">Privacy</a>&nbsp;section
+ <p>See also the dedicated&nbsp;<a class="reference-link" href="#root/_help_cRRrdZjgyhNc">Privacy</a>&nbsp;section
to better understand what data is being sent to a cloud provider.</p>
</aside>
<h2>Subscription-based providers</h2>
@@ -67,7 +67,7 @@
both Claude Code and Trilium updated to the latest version.</p>
</aside>
<aside class="admonition important">
- <p>See also the dedicated&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/GBBMSlVSOIGP/_help_cRRrdZjgyhNc">Privacy</a>&nbsp;section
+ <p>See also the dedicated&nbsp;<a class="reference-link" href="#root/_help_cRRrdZjgyhNc">Privacy</a>&nbsp;section
to better understand what data is being sent to a cloud provider.</p>
</aside>
<h2>Local/self-hosted providers</h2>
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 5244d455b7..7fe5e38d32 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
@@ -33,11 +33,27 @@
<li><a class="reference-link" href="#root/_help_S6Xx8QIWTV66">Lists</a>&nbsp;with
different bullet types.</li>
<li><a class="reference-link" href="#root/_help_NdowYOC1GFKS">Tables</a>
+ <ul>
+ <li>Cell backgrounds are preserved, including a best-effort hue correction
+ because the colors returned by the Graph API are sometimes incorrect.</li>
+ <li>Cell widths are also preserved proportionally, with the only difference
+ that tables in Trilium have a percentage-based width, not fixed pixel sizes.</li>
+ </ul>
+ </li>
+ <li>Images and&nbsp;<a class="reference-link" href="#root/_help_0vhv7lsOLy82">Attachments</a>.
+ <ul>
+ <li>Screen clippings are also properly supported since v0.104.1, displaying
+ their timestamp as a figure caption.</li>
+ </ul>
</li>
- <li>Images and&nbsp;<a class="reference-link" href="#root/_help_0vhv7lsOLy82">Attachments</a>.</li>
<li>To-do lists</li>
- <li>Hand-drawing is preserved and displayed as an SVG image (however there
- are some</li>
+ <li>Hand-drawing is preserved and displayed as an SVG image inside the note
+ <ul>
+ <li>OneNote's default color (black) is special since it also renders as white
+ for dark themes. Since v0.104.1, this is also supported by using a special
+ SVG tweak which reacts to light/dark themes.</li>
+ </ul>
+ </li>
<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
@@ -125,6 +141,7 @@
<li>Revision history.</li>
<li>Paragraph indentation.</li>
<li>Section colors.</li>
+ <li>Drawings inside titles, the title might appear incomplete or “Untitled”.</li>
</ul>
<h2>Reporting issues</h2>
<p>When importing notes, you might find that some text is not rendered properly
diff --git a/docs/User Guide/!!!meta.json b/docs/User Guide/!!!meta.json
index bb34f86c05..9ae1112a78 100644
--- a/docs/User Guide/!!!meta.json
+++ b/docs/User Guide/!!!meta.json
@@ -7412,13 +7412,6 @@
"isInheritable": false,
"position": 20
},
- {
- "type": "relation",
- "name": "internalLink",
- "value": "NdowYOC1GFKS",
- "isInheritable": false,
- "position": 30
- },
{
"type": "relation",
"name": "internalLink",
@@ -7481,6 +7474,13 @@
"value": "bx bx-window-open",
"isInheritable": false,
"position": 20
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "NdowYOC1GFKS",
+ "isInheritable": false,
+ "position": 110
}
],
"format": "markdown",
@@ -19180,114 +19180,128 @@
{
"type": "relation",
"name": "internalLink",
- "value": "MgibgPcfeuGz",
+ "value": "bkPZAMT7d2sR",
"isInheritable": false,
"position": 10
},
{
"type": "relation",
"name": "internalLink",
- "value": "HcABDtFCkbFN",
+ "value": "cRRrdZjgyhNc",
"isInheritable": false,
"position": 20
},
{
"type": "relation",
"name": "internalLink",
- "value": "IF7Q6I9x7zuw",
+ "value": "MgibgPcfeuGz",
"isInheritable": false,
"position": 30
},
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "HcABDtFCkbFN",
+ "isInheritable": false,
+ "position": 40
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "IF7Q6I9x7zuw",
+ "isInheritable": false,
+ "position": 50
+ },
{
"type": "relation",
"name": "internalLink",
"value": "4TIF1oA4VQRO",
"isInheritable": false,
- "position": 70
+ "position": 60
},
{
"type": "relation",
"name": "internalLink",
"value": "RnaPdbciOfeq",
"isInheritable": false,
- "position": 80
+ "position": 70
},
{
"type": "relation",
"name": "internalLink",
"value": "l0tKav7yLHGF",
"isInheritable": false,
- "position": 90
+ "position": 80
},
{
"type": "relation",
"name": "internalLink",
"value": "2mUhVmZK8RF3",
"isInheritable": false,
- "position": 100
+ "position": 90
},
{
"type": "relation",
"name": "internalLink",
"value": "KC1HB96bqqHX",
"isInheritable": false,
- "position": 110
+ "position": 100
},
{
"type": "relation",
"name": "internalLink",
"value": "vZWERwf8U3nx",
"isInheritable": false,
- "position": 120
+ "position": 110
},
{
"type": "relation",
"name": "internalLink",
"value": "0vhv7lsOLy82",
"isInheritable": false,
- "position": 130
+ "position": 120
},
{
"type": "relation",
"name": "internalLink",
"value": "TiQbQDgP8L5t",
"isInheritable": false,
- "position": 140
+ "position": 130
},
{
"type": "relation",
"name": "internalLink",
"value": "hrZ1D00cLbal",
"isInheritable": false,
- "position": 150
+ "position": 140
},
{
"type": "relation",
"name": "internalLink",
"value": "eIg8jdvaoNNd",
"isInheritable": false,
- "position": 160
+ "position": 150
},
{
"type": "relation",
"name": "internalLink",
"value": "SPirpZypehBG",
"isInheritable": false,
- "position": 170
+ "position": 160
},
{
"type": "relation",
"name": "internalLink",
"value": "yIhgI5H7A2Sm",
"isInheritable": false,
- "position": 180
+ "position": 170
},
{
"type": "relation",
"name": "internalLink",
"value": "6f9hih2hXXZk",
"isInheritable": false,
- "position": 190
+ "position": 180
},
{
"type": "label",
@@ -19302,20 +19316,6 @@
"value": "bx bx-bot",
"isInheritable": false,
"position": 30
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "bkPZAMT7d2sR",
- "isInheritable": false,
- "position": 200
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "cRRrdZjgyhNc",
- "isInheritable": false,
- "position": 210
}
],
"format": "markdown",
@@ -19339,53 +19339,53 @@
"mime": "text/html",
"attributes": [
{
- "type": "label",
- "name": "shareAlias",
- "value": "providers",
- "isInheritable": false,
- "position": 30
- },
- {
- "type": "label",
- "name": "iconClass",
- "value": "bx bx-cog",
+ "type": "relation",
+ "name": "internalLink",
+ "value": "cRRrdZjgyhNc",
"isInheritable": false,
- "position": 40
+ "position": 10
},
{
"type": "relation",
"name": "internalLink",
"value": "wy8So3yZZlH9",
"isInheritable": false,
- "position": 50
+ "position": 20
},
{
"type": "relation",
"name": "internalLink",
"value": "poXkQfguuA0U",
"isInheritable": false,
- "position": 60
+ "position": 30
},
{
"type": "relation",
"name": "internalLink",
"value": "WOcw2SLH6tbX",
"isInheritable": false,
- "position": 70
+ "position": 40
},
{
"type": "relation",
"name": "internalLink",
"value": "4TIF1oA4VQRO",
"isInheritable": false,
- "position": 80
+ "position": 50
},
{
- "type": "relation",
- "name": "internalLink",
- "value": "cRRrdZjgyhNc",
+ "type": "label",
+ "name": "shareAlias",
+ "value": "providers",
"isInheritable": false,
- "position": 90
+ "position": 30
+ },
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bx-cog",
+ "isInheritable": false,
+ "position": 40
}
],
"format": "markdown",
@@ -19410,16 +19410,16 @@
{
"type": "relation",
"name": "internalLink",
- "value": "CdNpE2pqjmI6",
+ "value": "bwg0e8ewQMak",
"isInheritable": false,
- "position": 30
+ "position": 10
},
{
"type": "relation",
"name": "internalLink",
- "value": "bwg0e8ewQMak",
+ "value": "CdNpE2pqjmI6",
"isInheritable": false,
- "position": 40
+ "position": 20
},
{
"type": "label",
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Microsoft OneNote.md b/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Microsoft OneNote.md
index 01293e35f4..cc8319958d 100644
--- a/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Microsoft OneNote.md
+++ b/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Microsoft OneNote.md
@@ -19,9 +19,13 @@ The following features are preserved by Trilium during the import process:
* Black-colored text is intentionally stripped to allow it to work in dark themes.
* <a class="reference-link" href="../../../Note%20Types/Text/Lists.md">Lists</a> with different bullet types.
* <a class="reference-link" href="../../../Note%20Types/Text/Tables.md">Tables</a>
+ * Cell backgrounds are preserved, including a best-effort hue correction because the colors returned by the Graph API are sometimes incorrect.
+ * Cell widths are also preserved proportionally, with the only difference that tables in Trilium have a percentage-based width, not fixed pixel sizes.
* Images and <a class="reference-link" href="../../Notes/Attachments.md">Attachments</a>.
+ * Screen clippings are also properly supported since v0.104.1, displaying their timestamp as a figure caption.
* To-do lists
-* Hand-drawing is preserved and displayed as an SVG image (however there are some
+* Hand-drawing is preserved and displayed as an SVG image inside the note
+ * OneNote's default color (black) is special since it also renders as white for dark themes. Since v0.104.1, this is also supported by using a special SVG tweak which reacts to light/dark themes.
* Links between other imported pages are converted to <a class="reference-link" href="../../../Note%20Types/Text/Links/Internal%20(reference)%20links.md">Internal (reference) links</a> 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 `onenote:` link is kept.
* Tags (apart from to-do lists) are mildly preserved by converting them to emojis. This loses their searchability. Since Trilium has no concept of inline attributes or badges, this is considered a middle-ground.
@@ -77,6 +81,7 @@ The following are known limitations due to how the information comes from the im
* Revision history.
* Paragraph indentation.
* Section colors.
+* Drawings inside titles, the title might appear incomplete or “Untitled”.
## Reporting issues