docs(user): index page for import/export

This commit is contained in:
Elian Doran 2025-10-30 11:54:44 +02:00
parent 8ab2069411
commit bcffa77c90
No known key found for this signature in database
6 changed files with 86 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,31 @@
<p>Trilium natively supports the following formats for both import and export.</p>
<ul>
<li data-list-item-id="ecbfc881c66732c02aa6e7d726644d8bf">HTML:
<ul>
<li data-list-item-id="eb869f70d49a6f5754fd7c0ea12d41e4d">This is the main format used by Trilium, where standard tags are used
to represent basic formatting and layout (e.g. <code>&lt;strong&gt;</code>, <code>&lt;table&gt;</code>, <code>&lt;pre&gt;</code>).&nbsp;</li>
<li
data-list-item-id="e34558f623b9aa8cf213a7fdefd434599">Note that HTML is not a standardized format so some more specific features
such as admonitions or&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/iPIMuisry3hd/QEAPj01N5f7w/_help_hrZ1D00cLbal">Internal (reference) links</a>&nbsp;might
not be supported by other applications.</li>
</ul>
</li>
<li data-list-item-id="e19d9bf03c7721a1213b13d57c538bb3c"><a class="reference-link" href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/mHbBMPDPkVV5/_help_Oau6X9rCuegd">Markdown</a>
<ul>
<li data-list-item-id="ed987b5652f140018f4ae5021fb22888c">Most of the formatting is preserved, see&nbsp;<a class="reference-link"
href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/mHbBMPDPkVV5/Oau6X9rCuegd/_help_rJ9grSgoExl9">Supported syntax</a>.</li>
</ul>
</li>
<li data-list-item-id="e9a2bcf3fa8a4b2614df4b61b2023f1cb">OPML (Outliner Interchange Format)
<ul>
<li data-list-item-id="e878699fc9d0bd5cc3b9899ca385cf884">Supports both OPML v1.0 for plain text and v2.0 with HTML support.</li>
</ul>
</li>
</ul>
<p>To import from other applications, see the dedicated pages:</p>
<ul>
<li data-list-item-id="e222c10292f253e00d2b79ec0ad16d5a2"><a class="reference-link" href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/mHbBMPDPkVV5/_help_syuSEKf2rUGr">Evernote</a>
</li>
<li data-list-item-id="e348b2a0fec8827945ab6142f306fa5ac"><a class="reference-link" href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/mHbBMPDPkVV5/_help_GnhlmrATVqcH">OneNote</a>
</li>
</ul>

View File

@ -5066,9 +5066,45 @@
"value": "import-export",
"isInheritable": false,
"position": 20
},
{
"type": "relation",
"name": "internalLink",
"value": "hrZ1D00cLbal",
"isInheritable": false,
"position": 30
},
{
"type": "relation",
"name": "internalLink",
"value": "rJ9grSgoExl9",
"isInheritable": false,
"position": 40
},
{
"type": "relation",
"name": "internalLink",
"value": "Oau6X9rCuegd",
"isInheritable": false,
"position": 50
},
{
"type": "relation",
"name": "internalLink",
"value": "syuSEKf2rUGr",
"isInheritable": false,
"position": 60
},
{
"type": "relation",
"name": "internalLink",
"value": "GnhlmrATVqcH",
"isInheritable": false,
"position": 70
}
],
"format": "markdown",
"dataFileName": "Import & Export.md",
"attachments": [],
"dirFileName": "Import & Export",
"children": [

View File

@ -0,0 +1,15 @@
# Import & Export
Trilium natively supports the following formats for both import and export.
* HTML:
* This is the main format used by Trilium, where standard tags are used to represent basic formatting and layout (e.g. `<strong>`, `<table>`, `<pre>`).
* Note that HTML is not a standardized format so some more specific features such as admonitions or <a class="reference-link" href="../Note%20Types/Text/Links/Internal%20(reference)%20links.md">Internal (reference) links</a> might not be supported by other applications.
* <a class="reference-link" href="Import%20%26%20Export/Markdown.md">Markdown</a>
* Most of the formatting is preserved, see <a class="reference-link" href="Import%20%26%20Export/Markdown/Supported%20syntax.md">Supported syntax</a>.
* OPML (Outliner Interchange Format)
* Supports both OPML v1.0 for plain text and v2.0 with HTML support.
To import from other applications, see the dedicated pages:
* <a class="reference-link" href="Import%20%26%20Export/Evernote.md">Evernote</a>
* <a class="reference-link" href="Import%20%26%20Export/OneNote.md">OneNote</a>

View File

@ -62,9 +62,9 @@ The contextual menu can operate:
* _Delete also all clones_ to ensure that the note will be deleted everywhere if it has been placed into multiple locations (see <a class="reference-link" href="../../Notes/Cloning%20Notes.md">Cloning Notes</a>).
* _Erase notes permanently_ will ensure that the note cannot be recovered from <a class="reference-link" href="../Recent%20Changes.md">Recent Changes</a>.
* **Import into note**
* Opens the [import](../../Import%20%26%20Export) dialog and places the imported notes as child notes of the selected one.
* Opens the [import](../../Import%20%26%20Export.md) dialog and places the imported notes as child notes of the selected one.
* **Export**
* Opens the [export](../../Import%20%26%20Export) dialog for the selected notes.
* Opens the [export](../../Import%20%26%20Export.md) dialog for the selected notes.
* **Search in subtree**
* Opens a full <a class="reference-link" href="../../Navigation/Search.md">Search</a> with it preconfigured to only look into this note and its descendants (the _Ancestor_ field).

View File

@ -63,7 +63,7 @@ Interactions:
Files that are identified as containing text will show a preview of their content. One common use case for this type of file is to embed text files whose content is not necessarily of interest to the user, such as third-party libraries or generated content, that can then be downloaded if needed.
Note that generally text files will be [imported](../Basic%20Concepts%20and%20Features/Import%20%26%20Export) as either <a class="reference-link" href="Text.md">Text</a> or <a class="reference-link" href="Code.md">Code</a> notes. To bypass this behavior and create a _File_ note type, use the _Import into note_ feature and uncheck _Import HTML, Markdown and TXT as text notes_, as well as _Import recognized code files as code notes_. 
Note that generally text files will be [imported](../Basic%20Concepts%20and%20Features/Import%20%26%20Export.md) as either <a class="reference-link" href="Text.md">Text</a> or <a class="reference-link" href="Code.md">Code</a> notes. To bypass this behavior and create a _File_ note type, use the _Import into note_ feature and uncheck _Import HTML, Markdown and TXT as text notes_, as well as _Import recognized code files as code notes_. 
Since one of the use cases for having files instead of notes is to display large files, the content preview is limited to a relatively small amount of characters. To view the full file, consider opening it in an external application.