Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
docs(user): update importer documentation
Elian Doran88232b8c2dc4
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.htmlindex 6ee56f831e..7bf3d87b9a 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@@ -46,6 +46,12 @@<li>In the <em>Import from</em> section, select <em>Anytype</em>.</li><li>Upload the ZIP.</li></ol>+<aside class="admonition note">+ <p>Exporting collections individually can sometimes miss information that+ would otherwise be picked up from an export of the entire channel. The+ reason is that Anytype leaves out some information when exporting individual+ pages/collections.</p>+</aside><h2>Supported features</h2><p>The following features are preserved by Trilium during the import process:</p><ul>@@ -53,26 +59,38 @@highlights, inline code).</li><li><a class="reference-link" href="#root/_help_S6Xx8QIWTV66">Lists</a> (numberedor bullet)</li>- <li>To-do lists</li>- <li>Toggle sections</li>- <li><a class="reference-link" href="#root/_help_NdowYOC1GFKS">Tables</a>- </li>- <li>Inline <a class="reference-link" href="#root/_help_s1aBHPd79XYj">Mermaid Diagrams</a>- </li>- <li><a class="reference-link" href="#root/_help_YfYAtQBcfo5V">Math Equations</a>- </li>- <li>Highlight blocks are imported as block quotes.</li>- <li><a class="reference-link" href="#root/_help_QxEyIjRBizuC">Code blocks</a>, with- a best-effort attempt to restore the language.</li>- <li>Links between other imported pages are converted to <a class="reference-link"- href="#root/_help_hrZ1D00cLbal">Internal (reference) links</a> if they are- part of the same import.</li>- <li>Collections are imported as Trilium-native <a class="reference-link"- href="#root/_help_GTwFsgaA0lCt">Collections</a> (see below).</li>- <li>Dividers (line, dots) are imported as horizontal rules.</li>- <li><a href="#root/_help_NwBbFdNZ9h7O">Admonitions</a> are preserved, including its- emoji (added as part of the content).</li>- <li>Creation and modification date of pages is preserved.</li>+ <li><a class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/iPIMuisry3hd/_help_mT0HEkOsz6i1">Images</a> and+ files are handled as <a class="reference-link" href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/BFs8mudNFgCS/_help_0vhv7lsOLy82">Attachments</a>.</li>+ <li+ >To-do lists</li>+ <li>Toggle sections</li>+ <li><a class="reference-link" href="#root/_help_NdowYOC1GFKS">Tables</a>+ </li>+ <li>Inline <a class="reference-link" href="#root/_help_s1aBHPd79XYj">Mermaid Diagrams</a>+ </li>+ <li><a class="reference-link" href="#root/_help_YfYAtQBcfo5V">Math Equations</a>+ </li>+ <li>Highlight blocks are imported as block quotes.</li>+ <li><a class="reference-link" href="#root/_help_QxEyIjRBizuC">Code blocks</a>, with+ a best-effort attempt to restore the language.</li>+ <li>Links between other imported pages are converted to <a class="reference-link"+ href="#root/_help_hrZ1D00cLbal">Internal (reference) links</a> if they are+ part of the same import.+ <ul>+ <li>Applies to both block links and inline links.</li>+ </ul>+ </li>+ <li>Collections are imported as Trilium-native <a class="reference-link"+ href="#root/_help_GTwFsgaA0lCt">Collections</a> (see below).+ <ul>+ <li>Files inside collections are imported as <a class="reference-link"+ href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_W8vYD3Q1zjCR">File</a> notes.</li>+ </ul>+ </li>+ <li>Dividers (line, dots) are imported as horizontal rules.</li>+ <li><a href="#root/_help_NwBbFdNZ9h7O">Admonitions</a> are preserved, including its+ emoji (added as part of the content).</li>+ <li>Creation and modification date of pages is preserved.</li></ul><h2>Collections</h2><p>Collections created in Anytype are imported on a best-effort basis, preserving@@ -142,4 +160,14 @@</tr></tbody></table>-</figure>\ No newline at end of file+</figure>+<h2>Reporting issues</h2>+<p>When importing your Anytype notes, you might find issues in how a 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 .zip export of the original note (and children if applicable). 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 filediff --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.htmlindex 235996896f..80f2654af5 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@@ -116,19 +116,14 @@references are determined via their note title.</p><p>Limitations:</p><ul>- <li>- <p>Only notes that are part of the same import will have their links rewritten- to reference links, to avoid linking to the wrong note.</p>- </li>- <li>- <p>If there are to notes with the same name, internal links will not be created- to avoid pointing to the wrong note.</p>- </li>- <li>- <p>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.</p>- </li>- <li>It will not fix links to anchors and links to notes that you renamed in+ <li>Only notes that are part of the same import will have their links rewritten+ to reference links, to avoid linking to the wrong note.</li>+ <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>+ <li+ >It will not fix links to anchors and links to notes that you renamed inEvernote after you created the links.</li></ul><h4>Post-processing notes</h4>@@ -159,4 +154,14 @@<li>Some note titles might not be well identified, even if they exist. Thisis especially the case if the note title contains some special characters.Should this be problematic, consider <a class="reference-link" href="#root/_help_wy8So3yZZlH9">Reporting issues</a>.</li>+</ul>+<h2>Reporting issues</h2>+<p>When importing your Evernote notebooks, you might find issues in how a+ 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 screenshot with how it originally looked like before the import and+ how it looks after the import.</li></ul>\ No newline at end of filediff --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.htmlindex 4e1f865f45..cb8b978def 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@@ -48,9 +48,7 @@<li>To-do lists</li><li><a class="reference-link" href="#root/_help_mT0HEkOsz6i1">Images</a> and <a- class="reference-link" href="#root/_help_0vhv7lsOLy82">Attachments</a> are- preserved: images are embedded inline in the note, while other files are- kept as attachments.</li>+ class="reference-link" href="#root/_help_0vhv7lsOLy82">Attachments</a>.</li><li>Creation and modification dates are preserved.</li></ul><h2>Limitations</h2>diff --git a/docs/User Guide/!!!meta.json b/docs/User Guide/!!!meta.jsonindex c8c723166e..81e48ace36 100644--- a/docs/User Guide/!!!meta.json+++ b/docs/User Guide/!!!meta.json@@ -7388,20 +7388,6 @@"isInheritable": false,"position": 20},- {- "type": "relation",- "name": "internalLink",- "value": "mT0HEkOsz6i1",- "isInheritable": false,- "position": 30- },- {- "type": "relation",- "name": "internalLink",- "value": "0vhv7lsOLy82",- "isInheritable": false,- "position": 40- },{"type": "relation","name": "internalLink",@@ -7422,6 +7408,20 @@"value": "bx bx-window-open","isInheritable": false,"position": 20+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "mT0HEkOsz6i1",+ "isInheritable": false,+ "position": 60+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "0vhv7lsOLy82",+ "isInheritable": false,+ "position": 70}],"format": "markdown",@@ -7729,6 +7729,34 @@"value": "anytype","isInheritable": false,"position": 190+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "mT0HEkOsz6i1",+ "isInheritable": false,+ "position": 200+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "0vhv7lsOLy82",+ "isInheritable": false,+ "position": 210+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "wy8So3yZZlH9",+ "isInheritable": false,+ "position": 220+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "W8vYD3Q1zjCR",+ "isInheritable": false,+ "position": 230}],"format": "markdown",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.mdindex 6d9244455b..fc61a8eb32 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@@ -32,12 +32,16 @@ In Trilium Notes:2. In the _Import from_ section, select _Anytype_.3. Upload the ZIP.+> [!NOTE]+> Exporting collections individually can sometimes miss information that would otherwise be picked up from an export of the entire channel. The reason is that Anytype leaves out some information when exporting individual pages/collections.+## Supported featuresThe following features are preserved by Trilium during the import process:* Basic formatting (bold, italic, underline, strikethrough, headings, colors, highlights, inline code).* <a class="reference-link" href="../../../Note%20Types/Text/Lists.md">Lists</a> (numbered or bullet)+* <a class="reference-link" href="../../../Note%20Types/Text/Images.md">Images</a> and files are handled as <a class="reference-link" href="../../Notes/Attachments.md">Attachments</a>.* To-do lists* Toggle sections* <a class="reference-link" href="../../../Note%20Types/Text/Tables.md">Tables</a>@@ -46,7 +50,9 @@ The following features are preserved by Trilium during the import process:* Highlight blocks are imported as block quotes.* <a class="reference-link" href="../../../Note%20Types/Text/Developer-specific%20formatting/Code%20blocks.md">Code blocks</a>, with a best-effort attempt to restore the language.* 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 they are part of the same import.+ * Applies to both block links and inline links.* Collections are imported as Trilium-native <a class="reference-link" href="../../../Collections.md">Collections</a> (see below).+ * Files inside collections are imported as <a class="reference-link" href="../../../Note%20Types/File.md">File</a> notes.* Dividers (line, dots) are imported as horizontal rules.* [Admonitions](../../../Note%20Types/Text/Block%20quotes%20%26%20admonitions.md) are preserved, including its emoji (added as part of the content).* Creation and modification date of pages is preserved.@@ -65,4 +71,13 @@ The following view modes are supported:The following types are supported:-<table><thead><tr><th scope="col">Anytype property type</th><th scope="col">Trilium</th></tr></thead><tbody><tr><td>Text / Select</td><td>Single-valued <code spellcheck="false">text</code> label</td></tr><tr><td>Number</td><td>Single-valued <code spellcheck="false">number</code> label</td></tr><tr><td>Multi-select</td><td>One <code spellcheck="false">text</code> label per option (multi)</td></tr><tr><td>Date / Date with time</td><td><ul><li data-list-item-id="eb2f417ce240ac72c1773231746ecf0c6"><code spellcheck="false">datetime</code> if the time is included.</li><li data-list-item-id="ee9dcf32dba7753df568315409159aa7d"><code spellcheck="false">date</code> if only dates.</li></ul></td></tr><tr><td>File</td><td>The files are preserved as attachments, and a link to them is prepended to the content of the note for visibility.</td></tr><tr><td>Checkbox</td><td><code spellcheck="false">boolean</code> label (<code spellcheck="false">true</code>/<code spellcheck="false">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></tr></tbody></table>\ No newline at end of file+<table><thead><tr><th scope="col">Anytype property type</th><th scope="col">Trilium</th></tr></thead><tbody><tr><td>Text / Select</td><td>Single-valued <code spellcheck="false">text</code> label</td></tr><tr><td>Number</td><td>Single-valued <code spellcheck="false">number</code> label</td></tr><tr><td>Multi-select</td><td>One <code spellcheck="false">text</code> label per option (multi)</td></tr><tr><td>Date / Date with time</td><td><ul><li data-list-item-id="eb2f417ce240ac72c1773231746ecf0c6"><code spellcheck="false">datetime</code> if the time is included.</li><li data-list-item-id="ee9dcf32dba7753df568315409159aa7d"><code spellcheck="false">date</code> if only dates.</li></ul></td></tr><tr><td>File</td><td>The files are preserved as attachments, and a link to them is prepended to the content of the note for visibility.</td></tr><tr><td>Checkbox</td><td><code spellcheck="false">boolean</code> label (<code spellcheck="false">true</code>/<code spellcheck="false">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></tr></tbody></table>++## Reporting issues++When importing your Anytype notes, you might find issues in how a note is imported; in that case consider [reporting](../../../Troubleshooting/Reporting%20issues.md) it.++When reporting such an issue make sure to provide the following information:++* A .zip export of the original note (and children if applicable). This allows us to reproduce the issue.+* A screenshot with how it originally looked like before the import and how it looks after the import.\ No newline at end of filediff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Evernote.md b/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Evernote.mdindex de14e5b9a9..85c7c111b3 100644--- a/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Evernote.md+++ b/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Evernote.md@@ -91,4 +91,13 @@ The script does the following:The script has the following limitations:* It will not fix links to anchors and links to notes that you renamed in Evernote after you created the links.-* Some note titles might not be well identified, even if they exist. This is especially the case if the note title contains some special characters. Should this be problematic, consider <a class="reference-link" href="../../../Troubleshooting/Reporting%20issues.md">Reporting issues</a>.\ No newline at end of file+* Some note titles might not be well identified, even if they exist. This is especially the case if the note title contains some special characters. Should this be problematic, consider <a class="reference-link" href="../../../Troubleshooting/Reporting%20issues.md">Reporting issues</a>.++## Reporting issues++When importing your Evernote notebooks, you might find issues in how a note is imported; in that case consider [reporting](../../../Troubleshooting/Reporting%20issues.md) it.++When reporting such an issue make sure to provide the following information:++* A `.enex` export of the original note. This allows us to reproduce the issue.+* A screenshot with how it originally looked like before the import and how it looks after the import.\ No newline at end of filediff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Google Keep.md b/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Google Keep.mdindex 55a227f7c8..f1a7b5c8b6 100644--- a/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Google Keep.md+++ b/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Google Keep.md@@ -34,7 +34,7 @@ Then in Trilium Notes:* Note titles are maintained, if present.* In Google Keep it's common for notes not to have a title, case in which the date and time of the note are used as a title.* To-do lists-* <a class="reference-link" href="../../../Note%20Types/Text/Images.md">Images</a> and <a class="reference-link" href="../../Notes/Attachments.md">Attachments</a> are preserved: images are embedded inline in the note, while other files are kept as attachments.+* <a class="reference-link" href="../../../Note%20Types/Text/Images.md">Images</a> and <a class="reference-link" href="../../Notes/Attachments.md">Attachments</a>.* Creation and modification dates are preserved.## Limitations