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 regarding attachments & Notion import
Elian Doran7ec14e511fe1
diff --git a/docs/User Guide/!!!meta.json b/docs/User Guide/!!!meta.jsonindex 5216c144b7..fc2df27f76 100644--- a/docs/User Guide/!!!meta.json+++ b/docs/User Guide/!!!meta.json@@ -5459,6 +5459,34 @@"value": "bx bx-paperclip","isInheritable": false,"position": 40+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "GnhlmrATVqcH",+ "isInheritable": false,+ "position": 70+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "GTwFsgaA0lCt",+ "isInheritable": false,+ "position": 80+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "CtBQqbwXDx1w",+ "isInheritable": false,+ "position": 90+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "UmgZAfcltxkS",+ "isInheritable": false,+ "position": 100}],"format": "markdown",@@ -8183,6 +8211,13 @@"value": "bx bx-window-open","isInheritable": false,"position": 20+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "4TIF1oA4VQRO",+ "isInheritable": false,+ "position": 190}],"format": "markdown",@@ -11279,66 +11314,73 @@{"type": "relation","name": "internalLink",- "value": "6f9hih2hXXZk",+ "value": "iPIMuisry3hd","isInheritable": false,"position": 30},{"type": "relation","name": "internalLink",- "value": "iPIMuisry3hd",+ "value": "6RM1Q7ppFVoj","isInheritable": false,"position": 40},{"type": "relation","name": "internalLink",- "value": "GBBMSlVSOIGP",+ "value": "iRwzGnHPzonm","isInheritable": false,"position": 50},{"type": "relation","name": "internalLink",- "value": "iRwzGnHPzonm",+ "value": "GBBMSlVSOIGP","isInheritable": false,"position": 60},{"type": "relation","name": "internalLink",- "value": "KRlZFoIH0j6p",+ "value": "6f9hih2hXXZk","isInheritable": false,"position": 70},{"type": "relation","name": "internalLink",- "value": "RnaPdbciOfeq",+ "value": "KRlZFoIH0j6p","isInheritable": false,"position": 80},{"type": "relation","name": "internalLink",- "value": "AlJ73vBCjWDw",+ "value": "RnaPdbciOfeq","isInheritable": false,"position": 90},{"type": "relation","name": "internalLink",- "value": "BCkXAVs63Ttv",+ "value": "AlJ73vBCjWDw","isInheritable": false,"position": 100},{"type": "relation","name": "internalLink",- "value": "XpOYSgsLkTJy",+ "value": "BCkXAVs63Ttv","isInheritable": false,"position": 110},+ {+ "type": "relation",+ "name": "internalLink",+ "value": "XpOYSgsLkTJy",+ "isInheritable": false,+ "position": 120+ },{"type": "label","name": "shareAlias",@@ -11352,13 +11394,6 @@"value": "bx bx-link-alt","isInheritable": false,"position": 90- },- {- "type": "relation",- "name": "internalLink",- "value": "6RM1Q7ppFVoj",- "isInheritable": false,- "position": 120}],"format": "markdown",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.mdindex b4b285c889..08631d1e7c 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@@ -45,6 +45,7 @@ The following features are preserved by Trilium during the import process:* Toggle headings are stripped of their toggle button and become normal headings instead.* <a class="reference-link" href="../../../Note%20Types/Text/Math%20Equations.md">Math Equations</a> (inline or block)* <a class="reference-link" href="../../../Note%20Types/Text/Link%20Previews.md">Link Previews</a>+ * The icon and image of the links need to be retrieved online since the exports don't carry the images. This operation is done only if _Download images automatically_ is enabled in <a class="reference-link" href="../../UI%20Elements/Options.md">Options</a> → _Media_.* <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.* <a class="reference-link" href="../../../Note%20Types/Mermaid%20Diagrams.md">Mermaid Diagrams</a>* 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.diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Markdown/Supported syntax.md b/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Markdown/Supported syntax.mdindex 34df67b555..7550056eb9 100644--- a/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Markdown/Supported syntax.md+++ b/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Markdown/Supported syntax.md@@ -62,7 +62,7 @@ Background highlights are supported in two ways:* The Markdown `==` extension which is supported by other Markdown-based applications such as Obsidian:- ```markdown+ ```gfm==highlighted==```* The canonical HTML representation of highlights, as supported by Trilium:diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Attachments.md b/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Attachments.mdindex bb38e72f90..48f55e1933 100644--- a/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Attachments.md+++ b/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Attachments.md@@ -7,6 +7,18 @@ Each note exclusively owns its attachments, meaning attachments cannot be sharedAttachments, especially image files, are the recommended method for embedding visuals in notes. It is important to link image attachments within the text of the owning note; otherwise, they will be automatically deleted after a configurable timeout period if not referenced.+## Types of attachments++There are two different types of attachment:++* _User content_, representing files or images that are uploaded and part of the content of the note.+* _System attachments_ which are used internally by Trilium and can be of multiple types, including:+ * <a class="reference-link" href="../../Collections.md">Collections</a> to store information about views such as the column information for the <a class="reference-link" href="../../Collections/Kanban%20Board.md">Kanban Board</a>.+ * Icons and cover images for <a class="reference-link" href="../../Note%20Types/Text/Link%20Previews.md">Link Previews</a>.+ * Debug information for some importers such as <a class="reference-link" href="../Import%20%26%20Export/Importing%20data%20from%20other%20applications/Microsoft%20OneNote.md">Microsoft OneNote</a> (only if the debug flag was enabled at import time).++The system attachments are displayed at the end of the attachments list, in a dedicated section (_Generated by Trilium_).+## Converting notes to attachments<a class="reference-link" href="../../Note%20Types/File.md">File</a> notes can be easily converted to attachments of the parent note.diff --git a/docs/User Guide/User Guide/Note Types/Markdown.md b/docs/User Guide/User Guide/Note Types/Markdown.mdindex 56c1feec46..8edadc8606 100644--- a/docs/User Guide/User Guide/Note Types/Markdown.md+++ b/docs/User Guide/User Guide/Note Types/Markdown.md@@ -27,6 +27,7 @@ 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 & admonitions</a>@@ -48,7 +49,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%;">@@ -85,7 +86,7 @@ The following features are supported by Trilium's Markdown format and will show```* Highlights (background color) are supported both via the `==` Markdown syntax, as well as the canonical HTML representation in Trilium:- ```markdown+ ```gfm==highlighted==<span style="background-color:hsl(0,0%,100%);">Highlighted</span>```