Skip to content

Build your personal knowledge base with Trilium Notes

docs(user): mention update to lists

Elian Doran6758db649578
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 1d0ce08b9c..7067b8bc08 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
@@ -25,23 +25,20 @@
<ul>
<li>Chat-based interface with live streaming of the messages.</li>
<li>Provides the AI context with the note currently being looked at.</li>
- <li
- >Tools to alter note content, create new notes, etc.</li>
- <li>Statistics regarding context window use and pricing per message.</li>
- <li
- >Attachments for multi-modal chat (images, text files, PDFs).</li>
- <li>Optional MCP to allow external chat tools (e.g. Claude Code) to operate
- on notes within Trilium.</li>
+ <li>Tools to alter note content, create new notes, etc.</li>
+ <li>Statistics regarding context window use and pricing per message.</li>
+ <li>Attachments for multi-modal chat (images, text files, PDFs).</li>
+ <li>Optional MCP to allow external chat tools (e.g. Claude Code) to operate
+ on notes within Trilium.</li>
</ul>
<h2>Sample use-cases</h2>
<ul>
- <li>Create any type of&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/CdNpE2pqjmI6/yIhgI5H7A2Sm/_help_MgibgPcfeuGz">Custom Widgets</a>.</li>
- <li
- >Easily create a&nbsp;<a class="reference-link" href="#root/_help_HcABDtFCkbFN">Render Note</a>,
+ <li>Create any type of&nbsp;<a class="reference-link" href="#root/_help_MgibgPcfeuGz">Custom Widgets</a>.</li>
+ <li>Easily create a&nbsp;<a class="reference-link" href="#root/_help_HcABDtFCkbFN">Render Note</a>,
e.g. <em>Create for me a render note which allows me to play tic-tac-toe. Make sure to use Preact instead of the legacy jQuery.</em>
- </li>
- <li>Create widgets for a&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/GTwFsgaA0lCt/_help_IF7Q6I9x7zuw">Dashboard</a>,
- such as a calculator, a stopwatch, a pomodoro timer.</li>
+ </li>
+ <li>Create widgets for a&nbsp;<a class="reference-link" href="#root/_help_IF7Q6I9x7zuw">Dashboard</a>,
+ such as a calculator, a stopwatch, a pomodoro timer.</li>
</ul>
<aside class="admonition note">
<p>Claude Sonnet is known to produce very good frontend or backend scripts
@@ -83,8 +80,7 @@
<ol>
<li>Go to&nbsp;<a class="reference-link" href="#root/_help_4TIF1oA4VQRO">Options</a>&nbsp;→ <em>Advanced</em> and
check <em>AI / LLM Chat</em> in the <em>Experimental Options</em> section.</li>
- <li
- >Go to&nbsp;<a class="reference-link" href="#root/_help_4TIF1oA4VQRO">Options</a>&nbsp;→ <em>AI / LLM</em> and
+ <li>Go to&nbsp;<a class="reference-link" href="#root/_help_4TIF1oA4VQRO">Options</a>&nbsp;→ <em>AI / LLM</em> and
configure a new provider.</li>
</ol>
<h2>Creating a new chat</h2>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections.html
index f56b82b449..14488bf0a9 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections.html
@@ -1,76 +1,75 @@
<p>Collections are a unique type of note that don't have content, but instead
display their child notes in various presentation methods.</p>
<h2>Main collections</h2>
-<figure class="table">
- <table>
- <thead>
- <tr>
- <th>&nbsp;</th>
- <th>&nbsp;</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>
- <figure class="image">
- <img style="aspect-ratio:1651/810;" src="Collections_collection_ca.webp"
- width="1651" height="810">
- </figure>
- </td>
- <td><a class="reference-link" href="#root/_help_xWbu3jpNWapp">Calendar</a>&nbsp;&nbsp;
- <br>which displays a week, month or year calendar with the notes being shown
- as events. New events can be added easily by dragging across the calendar.</td>
- </tr>
- <tr>
- <td>
- <figure class="image">
- <img style="aspect-ratio:1643/647;" src="Collections_collection_ta.webp"
- width="1643" height="647">
- </figure>
- </td>
- <td><a class="reference-link" href="#root/_help_2FvYrpmOXm29">Table</a>&nbsp;&nbsp;
- <br>displays each note as a row in a table, with&nbsp;<a class="reference-link"
- href="#root/_help_OFXdgB2nNk1F">Promoted Attributes</a>&nbsp;being shown as well.
- This makes it easy to visualize attributes of notes, as well as making
- them easily editable.</td>
- </tr>
- <tr>
- <td>
- <figure class="image">
- <img style="aspect-ratio:1174/850;" src="Collections_collection_bo.webp"
- width="1174" height="850">
- </figure>
- </td>
- <td><a class="reference-link" href="#root/_help_CtBQqbwXDx1w">Kanban Board</a>&nbsp;&nbsp;
- <br>displays notes in columns, grouped by the value of a label. Items and
- columns can easily be created or dragged around to change their status.</td>
- </tr>
- <tr>
- <td>
- <figure class="image">
- <img style="aspect-ratio:844/639;" src="Collections_collection_ge.webp"
- width="844" height="639">
- </figure>
- </td>
- <td><a class="reference-link" href="#root/_help_81SGnPGMk7Xc">Geo Map</a>&nbsp;&nbsp;
- <br>which displays a geographical map in which the notes are represented as
- markers/pins on the map. New events can be easily added by pointing on
- the map.</td>
- </tr>
- <tr>
- <td>
- <figure class="image">
- <img style="aspect-ratio:1120/763;" src="Collections_collection_pr.webp"
- width="1120" height="763">
- </figure>
- </td>
- <td><a class="reference-link" href="#root/_help_zP3PMqaG71Ct">Presentation</a>&nbsp;&nbsp;
- <br>which shows each note as a slide and can be presented full-screen with
- smooth transitions or exported to PDF for sharing.</td>
- </tr>
- </tbody>
- </table>
-</figure>
+<table>
+ <thead>
+ <tr>
+ <th></th>
+ <th></th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <figure class="image">
+ <img style="aspect-ratio:1651/810;" src="Collections_collection_ca.webp"
+ width="1651" height="810">
+ </figure>
+ </td>
+ <td><a class="reference-link" href="#root/_help_xWbu3jpNWapp">Calendar</a>&nbsp;&nbsp;
+ <br>which displays a week, month or year calendar with the notes being shown
+ as events. New events can be added easily by dragging across the calendar.</td>
+ </tr>
+ <tr>
+ <td>
+ <figure class="image">
+ <img style="aspect-ratio:1643/647;" src="Collections_collection_ta.webp"
+ width="1643" height="647">
+ </figure>
+ </td>
+ <td><a class="reference-link" href="#root/_help_2FvYrpmOXm29">Table</a>&nbsp;&nbsp;
+ <br>displays each note as a row in a table, with&nbsp;<a class="reference-link"
+ href="#root/_help_OFXdgB2nNk1F">Promoted Attributes</a>&nbsp;being shown as well.
+ This makes it easy to visualize attributes of notes, as well as making
+ them easily editable.</td>
+ </tr>
+ <tr>
+ <td>
+ <figure class="image">
+ <img style="aspect-ratio:1174/850;" src="Collections_collection_bo.webp"
+ width="1174" height="850">
+ </figure>
+ </td>
+ <td><a class="reference-link" href="#root/_help_CtBQqbwXDx1w">Kanban Board</a>&nbsp;&nbsp;
+ <br>displays notes in columns, grouped by the value of a label. Items and
+ columns can easily be created or dragged around to change their status.</td>
+ </tr>
+ <tr>
+ <td>
+ <figure class="image">
+ <img style="aspect-ratio:844/639;" src="Collections_collection_ge.webp"
+ width="844" height="639">
+ </figure>
+ </td>
+ <td><a class="reference-link" href="#root/_help_81SGnPGMk7Xc">Geo Map</a>&nbsp;&nbsp;
+ <br>which displays a geographical map in which the notes are represented as
+ markers/pins on the map. New events can be easily added by pointing on
+ the map.</td>
+ </tr>
+ <tr>
+ <td>
+ <figure class="image">
+ <img style="aspect-ratio:1120/763;" src="Collections_collection_pr.webp"
+ width="1120" height="763">
+ </figure>
+ </td>
+ <td><a class="reference-link" href="#root/_help_zP3PMqaG71Ct">Presentation</a>&nbsp;&nbsp;
+ <br>which shows each note as a slide and can be presented full-screen with
+ smooth transitions or exported to PDF for sharing.</td>
+ </tr>
+ </tbody>
+</table>
+
<h2>Classic collections</h2>
<p>Classic collections are read-only mode and compiles the contents of all
child notes into one continuous view. This makes it ideal for reading extensive
@@ -94,11 +93,10 @@
<ol>
<li>Create a new note of type <em>Text</em> (or any type).</li>
<li>Change the <a href="#root/_help_KSZ04uQ2D1St">note type</a> to <em>Collection</em>.</li>
- <li
- >In&nbsp;<a class="reference-link" href="#root/_help_CssoWBu8I7jF">Collection Properties</a>,
+ <li>In&nbsp;<a class="reference-link" href="#root/_help_CssoWBu8I7jF">Collection Properties</a>,
select the desired view type.</li>
- <li>Consult the help page of the corresponding view type in order to understand
- how to configure them.</li>
+ <li>Consult the help page of the corresponding view type in order to understand
+ how to configure them.</li>
</ol>
<h2>Configuration</h2>
<p>To change the configuration of a collection or even switch to a different
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Dashboard.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Dashboard.html
index 5da53a79fc..573073749a 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Dashboard.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Dashboard.html
@@ -7,58 +7,50 @@
some changes in behavior until it is stabilized.</p>
</aside>
<p>The dashboard is a collection introduced in Trilium v0.104.0. It is similar
- to the&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/GTwFsgaA0lCt/_help_8QqnMzx393bx">Grid View</a>&nbsp;collection,
+ to the&nbsp;<a class="reference-link" href="#root/_help_8QqnMzx393bx">Grid View</a>&nbsp;collection,
but with some key differences:</p>
<ul>
<li>The grid layout is not fixed, allowing for tiles of varying widths and
heights. The grid has 12 columns and an unlimited number of rows.</li>
- <li
- >Each widget represents a child note of the collection and can be reordered
+ <li>Each widget represents a child note of the collection and can be reordered
or resized.</li>
- <li>The grid will distribute the columns evenly to fill the entire screen.
- <ul>
- <li>If the available space is too low (e.g. in a split or in mobile), the
- columns are collapsed so that all widgets are displayed one under the other.</li>
- <li
- >While the columns are collapsed, the widgets cannot be reordered or resized.</li>
+ <li>The grid will distribute the columns evenly to fill the entire screen.
+ <ul>
+ <li>If the available space is too low (e.g. in a split or in mobile), the
+ columns are collapsed so that all widgets are displayed one under the other.</li>
+ <li>While the columns are collapsed, the widgets cannot be reordered or resized.</li>
</ul>
- </li>
- <li>Unlike the&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/GTwFsgaA0lCt/_help_8QqnMzx393bx">Grid View</a>,
- the widgets are not clickable which allows them to be interactive.</li>
+ </li>
+ <li>Unlike the&nbsp;<a class="reference-link" href="#root/_help_8QqnMzx393bx">Grid View</a>,
+ the widgets are not clickable which allows them to be interactive.</li>
</ul>
<h2>Types of widgets</h2>
<p>The dashboard uses the same rendering mechanism as the&nbsp;<a class="reference-link"
- href="#root/pOsGYCXsbNQG/GTwFsgaA0lCt/_help_8QqnMzx393bx">Grid View</a>&nbsp;or
- the&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/BFs8mudNFgCS/_help_0ESUbbAxVnoK">Note List</a>,
- which means every note can be rendered, such as:</p>
+ href="#root/_help_8QqnMzx393bx">Grid View</a>&nbsp;or the&nbsp;<a class="reference-link"
+ href="#root/_help_0ESUbbAxVnoK">Note List</a>, which means every note can be
+ rendered, such as:</p>
<ul>
- <li>Static content, via&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_iPIMuisry3hd">Text</a>&nbsp;or&nbsp;
+ <li>Static content, via&nbsp;<a class="reference-link" href="#root/_help_iPIMuisry3hd">Text</a>&nbsp;or&nbsp;
<a
- class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_6f9hih2hXXZk">Code</a>.</li>
- <li>Images via&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_W8vYD3Q1zjCR">File</a>,&nbsp;
+ class="reference-link" href="#root/_help_6f9hih2hXXZk">Code</a>.</li>
+ <li>Images via&nbsp;<a class="reference-link" href="#root/_help_W8vYD3Q1zjCR">File</a>,&nbsp;
<a
- class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_s1aBHPd79XYj">Mermaid Diagrams</a>,&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_gBbsAeiuUxI5">Mind Map</a>.</li>
- <li
- >Interactive widgets via&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_HcABDtFCkbFN">Render Note</a>.</li>
+ class="reference-link" href="#root/_help_s1aBHPd79XYj">Mermaid Diagrams</a>,&nbsp;<a class="reference-link" href="#root/_help_gBbsAeiuUxI5">Mind Map</a>.</li>
+ <li>Interactive widgets via&nbsp;<a class="reference-link" href="#root/_help_HcABDtFCkbFN">Render Note</a>.</li>
</ul>
<aside class="admonition tip">
<p>Interactive widgets through the use of&nbsp;<a class="reference-link"
- href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_HcABDtFCkbFN">Render Note</a>&nbsp;is
- the highlighted use case of the dashboard. Using the&nbsp;<a class="reference-link"
- href="#root/pOsGYCXsbNQG/_help_GBBMSlVSOIGP">AI</a>&nbsp;chat, these widgets
- can be easily created as the AI is instructed in how to write them.</p>
+ href="#root/_help_HcABDtFCkbFN">Render Note</a>&nbsp;is the highlighted use case
+ of the dashboard. Using the&nbsp;<a class="reference-link" href="#root/_help_GBBMSlVSOIGP">AI</a>&nbsp;chat,
+ these widgets can be easily created as the AI is instructed in how to write
+ them.</p>
</aside>
<h2>Adding new widgets</h2>
<p>There are two ways to add widgets to a dashboard:</p>
<ul>
- <li>
- <p>Create a child note of any type, the dashboard will automatically pick
- it up and add it onto the grid.</p>
- </li>
- <li>
- <p>From the&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/Vc8PjrjAGuOp/_help_oPVyFC7WL2Lp">Note Tree</a>,
- drag an existing note onto the dashboard and it will be placed there. This
- will <a href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/BFs8mudNFgCS/_help_IakOLONlIfGI">clone</a> the
- note into the collection.</p>
- </li>
+ <li>Create a child note of any type, the dashboard will automatically pick
+ it up and add it onto the grid.</li>
+ <li>From the&nbsp;<a class="reference-link" href="#root/_help_oPVyFC7WL2Lp">Note Tree</a>,
+ drag an existing note onto the dashboard and it will be placed there. This
+ will <a href="#root/_help_IakOLONlIfGI">clone</a> the note into the collection.</li>
</ul>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Lists.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Lists.html
index 1ba6f9008e..69fa317d0e 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Lists.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Lists.html
@@ -31,76 +31,79 @@
</li>
<li>To create a new item in the list, press <kbd>Enter</kbd>.</li>
<li>To create a blank line within a list item, press <kbd>Shift</kbd>+<kbd>Enter</kbd>.</li>
- <li>To exit out of the list, press <kbd>Enter</kbd> twice.</li>
- <li>To merge two lists, simply delete the gap between them.</li>
- <li>To create nested lists, simply use the
- <img src="7_Lists_image.png"
- width="17" height="14">button (see <em>Indentation</em> in&nbsp;<a class="reference-link" href="#root/_help_dEHYtoWWi8ct">Other features</a>)
- or the <kbd>Tab</kbd> key. To decrease the nesting level for the current
- element, press <kbd>Shift</kbd>+<kbd>Tab</kbd>.</li>
+ <li
+ >To exit out of the list, press <kbd>Enter</kbd> twice.</li>
+ <li>To merge two lists, simply delete the gap between them.</li>
+ <li>To create nested lists, simply use the
+ <img src="7_Lists_image.png"
+ width="17" height="14">button (see <em>Indentation</em> in&nbsp;<a class="reference-link" href="#root/_help_dEHYtoWWi8ct">Other features</a>)
+ or the <kbd>Tab</kbd> key. To decrease the nesting level for the current
+ element, press <kbd>Shift</kbd>+<kbd>Tab</kbd>.</li>
</ul>
<h2>Headings, code blocks within lists</h2>
<p>It possible to add content-level blocks such as headings, code blocks,
tables within lists, as follows:</p>
-<table>
- <thead>
- <tr>
- <th></th>
- <th></th>
- <th></th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>1</td>
- <td>
- <img src="6_Lists_image.png">
- </td>
- <td>First, create a list.</td>
- </tr>
- <tr>
- <td>2</td>
- <td>
- <img src="9_Lists_image.png">
- </td>
- <td>Press Enter to create a new list item.</td>
- </tr>
- <tr>
- <td>3</td>
- <td>
- <img src="5_Lists_image.png">
- </td>
- <td>Press Backspace to get rid of the bullet point. Notice the cursor position.</td>
- </tr>
- <tr>
- <td>4</td>
- <td>
- <img class="image_resized" style="aspect-ratio:676/112;width:98.29%;"
- src="10_Lists_image.png" width="676"
- height="112">
- </td>
- <td>At this point, insert any desired block-level item such as a code block.</td>
- </tr>
- <tr>
- <td>5</td>
- <td>
- <img class="image_resized" style="aspect-ratio:675/129;width:94.22%;"
- src="8_Lists_image.png" width="675"
- height="129">
- </td>
- <td>To continue with a new bullet point, press Enter until the cursor moves
- to a new blank position.</td>
- </tr>
- <tr>
- <td>6</td>
- <td>
- <img class="image_resized" style="aspect-ratio:675/129;width:100%;" src="3_Lists_image.png"
- width="675" height="129">
- </td>
- <td>Press Enter once more to create the new bullet.</td>
- </tr>
- </tbody>
-</table>
+<figure class="table">
+ <table>
+ <thead>
+ <tr>
+ <th>&nbsp;</th>
+ <th>&nbsp;</th>
+ <th>&nbsp;</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>1</td>
+ <td>
+ <img src="6_Lists_image.png">
+ </td>
+ <td>First, create a list.</td>
+ </tr>
+ <tr>
+ <td>2</td>
+ <td>
+ <img src="9_Lists_image.png">
+ </td>
+ <td>Press Enter to create a new list item.</td>
+ </tr>
+ <tr>
+ <td>3</td>
+ <td>
+ <img src="5_Lists_image.png">
+ </td>
+ <td>Press Backspace to get rid of the bullet point. Notice the cursor position.</td>
+ </tr>
+ <tr>
+ <td>4</td>
+ <td>
+ <img class="image_resized" style="aspect-ratio:676/112;width:98.29%;"
+ src="10_Lists_image.png" width="676"
+ height="112">
+ </td>
+ <td>At this point, insert any desired block-level item such as a code block.</td>
+ </tr>
+ <tr>
+ <td>5</td>
+ <td>
+ <img class="image_resized" style="aspect-ratio:675/129;width:94.22%;"
+ src="8_Lists_image.png" width="675"
+ height="129">
+ </td>
+ <td>To continue with a new bullet point, press Enter until the cursor moves
+ to a new blank position.</td>
+ </tr>
+ <tr>
+ <td>6</td>
+ <td>
+ <img class="image_resized" style="aspect-ratio:675/129;width:100%;" src="3_Lists_image.png"
+ width="675" height="129">
+ </td>
+ <td>Press Enter once more to create the new bullet.</td>
+ </tr>
+ </tbody>
+ </table>
+</figure>
<p>The same principle applies to all three list types (bullet, numbered and
to-do).</p>
<h2>To-do lists</h2>
@@ -110,4 +113,47 @@
while on an empty paragraph.</li>
<li>To reorder the item under the cursor, press <kbd>Alt</kbd>+<kbd>Up</kbd> or <kbd>Alt</kbd>+<kbd>Down</kbd>.
To reorder multiple items, select them first.</li>
+</ul>
+<h2>Collapsible lists</h2>
+<p>Starting with Trilium v0.104.0, it is possible to collapse nested list
+ items. This applies to bullet lists, numbered lists as well as to-do lists.</p>
+<p>To collapse or expand a list item that has nested sub-items:</p>
+<ul>
+ <li>
+ <p>Using the mouse, move the cursor over the list item and an arrow will
+ appear to its left. Clicking it will toggle between collapsed and expanded.</p>
+ </li>
+ <li>
+ <p>For bullet lists and numbered lists, it's also possible to click directly
+ on the marker (e.g. the bullet or the number) instead of on the arrow to
+ collapse or expand it. This won't work for to-do lists since this would
+ toggle the to-do instead.</p>
+ </li>
+ <li>
+ <p>Press <kbd spellcheck="false">Ctrl</kbd>+<kbd spellcheck="false">Alt</kbd>+
+ <kbd
+ spellcheck="false">Enter</kbd>which will toggle the collapse/expand state for the item at
+ the cursor position.</p>
+ </li>
+</ul>
+<p>Of note:</p>
+<ul>
+ <li>Collapsed items always show the arrow to indicate its state.</li>
+ <li>
+ <p>The collapsed state is saved at note level and synced across instances,
+ which means that it will restore after a refresh or reopening of the application.</p>
+ </li>
+ <li>
+ <p>The collapsed state is also persisted in&nbsp;<a class="reference-link"
+ href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/_help_mHbBMPDPkVV5">Import &amp; Export</a>,
+ but only for the HTML format. Markdown exports will not preserve the collapse
+ state.</p>
+ </li>
+ <li>
+ <p>Collapsible bullets only exist in the context of editable text notes.
+ Read-only lists will always be fully expanded.</p>
+ </li>
+ <li>
+ <p>The list items will auto-expand on edit to avoid typing in a hidden area.</p>
+ </li>
</ul>
\ No newline at end of file
diff --git a/docs/Developer Guide/Developer Guide/Documentation.md b/docs/Developer Guide/Developer Guide/Documentation.md
index a37c0b8105..f933e58ec9 100644
--- a/docs/Developer Guide/Developer Guide/Documentation.md
+++ b/docs/Developer Guide/Developer Guide/Documentation.md
@@ -1,5 +1,5 @@
# Documentation
-There are multiple types of documentation for Trilium:<img class="image-style-align-right" src="api/images/CdZpq9tHcLwB/Documentation_image.png" width="205" height="162">
+There are multiple types of documentation for Trilium:<img class="image-style-align-right" src="api/images/zmrKO8pPH6ie/Documentation_image.png" width="205" height="162">
* The _User Guide_ represents the user-facing documentation. This documentation can be browsed by users directly from within Trilium, by pressing <kbd>F1</kbd>.
* The _Developer's Guide_ represents a set of Markdown documents that present the internals of Trilium, for developers.
diff --git a/docs/User Guide/!!!meta.json b/docs/User Guide/!!!meta.json
index a31d15d075..359737a446 100644
--- a/docs/User Guide/!!!meta.json
+++ b/docs/User Guide/!!!meta.json
@@ -9114,6 +9114,13 @@
"value": "lists",
"isInheritable": false,
"position": 20
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "mHbBMPDPkVV5",
+ "isInheritable": false,
+ "position": 30
}
],
"format": "markdown",
@@ -12586,89 +12593,89 @@
"type": "text",
"mime": "text/html",
"attributes": [
- {
- "type": "label",
- "name": "iconClass",
- "value": "bx bxs-dashboard",
- "isInheritable": false,
- "position": 30
- },
{
"type": "relation",
"name": "internalLink",
"value": "8QqnMzx393bx",
"isInheritable": false,
- "position": 40
+ "position": 10
},
{
"type": "relation",
"name": "internalLink",
"value": "0ESUbbAxVnoK",
"isInheritable": false,
- "position": 50
+ "position": 20
},
{
"type": "relation",
"name": "internalLink",
"value": "iPIMuisry3hd",
"isInheritable": false,
- "position": 60
+ "position": 30
},
{
"type": "relation",
"name": "internalLink",
"value": "6f9hih2hXXZk",
"isInheritable": false,
- "position": 70
+ "position": 40
},
{
"type": "relation",
"name": "internalLink",
- "value": "HcABDtFCkbFN",
+ "value": "W8vYD3Q1zjCR",
"isInheritable": false,
- "position": 80
+ "position": 50
},
{
"type": "relation",
"name": "internalLink",
- "value": "W8vYD3Q1zjCR",
+ "value": "s1aBHPd79XYj",
"isInheritable": false,
- "position": 90
+ "position": 60
},
{
"type": "relation",
"name": "internalLink",
- "value": "s1aBHPd79XYj",
+ "value": "gBbsAeiuUxI5",
"isInheritable": false,
- "position": 100
+ "position": 70
},
{
"type": "relation",
"name": "internalLink",
- "value": "gBbsAeiuUxI5",
+ "value": "HcABDtFCkbFN",
"isInheritable": false,
- "position": 110
+ "position": 80
},
{
"type": "relation",
"name": "internalLink",
"value": "GBBMSlVSOIGP",
"isInheritable": false,
- "position": 120
+ "position": 90
},
{
"type": "relation",
"name": "internalLink",
"value": "oPVyFC7WL2Lp",
"isInheritable": false,
- "position": 130
+ "position": 100
},
{
"type": "relation",
"name": "internalLink",
"value": "IakOLONlIfGI",
"isInheritable": false,
- "position": 140
+ "position": 110
+ },
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bxs-dashboard",
+ "isInheritable": false,
+ "position": 30
}
],
"format": "markdown",
@@ -16895,101 +16902,115 @@
{
"type": "relation",
"name": "internalLink",
- "value": "HcABDtFCkbFN",
+ "value": "MgibgPcfeuGz",
"isInheritable": false,
"position": 20
},
{
"type": "relation",
"name": "internalLink",
- "value": "wy8So3yZZlH9",
+ "value": "HcABDtFCkbFN",
"isInheritable": false,
"position": 30
},
{
"type": "relation",
"name": "internalLink",
- "value": "4TIF1oA4VQRO",
+ "value": "IF7Q6I9x7zuw",
"isInheritable": false,
"position": 40
},
{
"type": "relation",
"name": "internalLink",
- "value": "RnaPdbciOfeq",
+ "value": "wy8So3yZZlH9",
"isInheritable": false,
"position": 50
},
{
"type": "relation",
"name": "internalLink",
- "value": "l0tKav7yLHGF",
+ "value": "4TIF1oA4VQRO",
"isInheritable": false,
"position": 60
},
{
"type": "relation",
"name": "internalLink",
- "value": "2mUhVmZK8RF3",
+ "value": "RnaPdbciOfeq",
"isInheritable": false,
"position": 70
},
{
"type": "relation",
"name": "internalLink",
- "value": "KC1HB96bqqHX",
+ "value": "l0tKav7yLHGF",
"isInheritable": false,
"position": 80
},
{
"type": "relation",
"name": "internalLink",
- "value": "vZWERwf8U3nx",
+ "value": "2mUhVmZK8RF3",
"isInheritable": false,
"position": 90
},
{
"type": "relation",
"name": "internalLink",
- "value": "0vhv7lsOLy82",
+ "value": "KC1HB96bqqHX",
"isInheritable": false,
"position": 100
},
{
"type": "relation",
"name": "internalLink",
- "value": "TiQbQDgP8L5t",
+ "value": "vZWERwf8U3nx",
"isInheritable": false,
"position": 110
},
{
"type": "relation",
"name": "internalLink",
- "value": "hrZ1D00cLbal",
+ "value": "0vhv7lsOLy82",
"isInheritable": false,
"position": 120
},
{
"type": "relation",
"name": "internalLink",
- "value": "eIg8jdvaoNNd",
+ "value": "TiQbQDgP8L5t",
"isInheritable": false,
"position": 130
},
{
"type": "relation",
"name": "internalLink",
- "value": "SPirpZypehBG",
+ "value": "hrZ1D00cLbal",
"isInheritable": false,
"position": 140
},
{
"type": "relation",
"name": "internalLink",
- "value": "yIhgI5H7A2Sm",
+ "value": "eIg8jdvaoNNd",
"isInheritable": false,
"position": 150
},
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "SPirpZypehBG",
+ "isInheritable": false,
+ "position": 160
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "yIhgI5H7A2Sm",
+ "isInheritable": false,
+ "position": 170
+ },
{
"type": "label",
"name": "shareAlias",
@@ -17003,20 +17024,6 @@
"value": "bx bx-bot",
"isInheritable": false,
"position": 30
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "MgibgPcfeuGz",
- "isInheritable": false,
- "position": 160
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "IF7Q6I9x7zuw",
- "isInheritable": false,
- "position": 170
}
],
"format": "markdown",
diff --git a/docs/User Guide/User Guide/Note Types/Text/Lists.md b/docs/User Guide/User Guide/Note Types/Text/Lists.md
index 93bcf0910f..43c03d0e48 100644
--- a/docs/User Guide/User Guide/Note Types/Text/Lists.md
+++ b/docs/User Guide/User Guide/Note Types/Text/Lists.md
@@ -37,4 +37,22 @@ The same principle applies to all three list types (bullet, numbered and to-do).
## To-do lists
* To insert a to-do list from the keyboard, type `- [ ]` for an unchecked item or `[x]` for a checked item while on an empty paragraph.
-* To reorder the item under the cursor, press <kbd>Alt</kbd>+<kbd>Up</kbd> or <kbd>Alt</kbd>+<kbd>Down</kbd>. To reorder multiple items, select them first.
\ No newline at end of file
+* To reorder the item under the cursor, press <kbd>Alt</kbd>+<kbd>Up</kbd> or <kbd>Alt</kbd>+<kbd>Down</kbd>. To reorder multiple items, select them first.
+
+## Collapsible lists
+
+Starting with Trilium v0.104.0, it is possible to collapse nested list items. This applies to bullet lists, numbered lists as well as to-do lists.
+
+To collapse or expand a list item that has nested sub-items:
+
+* Using the mouse, move the cursor over the list item and an arrow will appear to its left. Clicking it will toggle between collapsed and expanded.
+* For bullet lists and numbered lists, it's also possible to click directly on the marker (e.g. the bullet or the number) instead of on the arrow to collapse or expand it. This won't work for to-do lists since this would toggle the to-do instead.
+* Press <kbd spellcheck="false">Ctrl</kbd>+<kbd spellcheck="false">Alt</kbd>+<kbd spellcheck="false">Enter</kbd> which will toggle the collapse/expand state for the item at the cursor position.
+
+Of note:
+
+* Collapsed items always show the arrow to indicate its state.
+* The collapsed state is saved at note level and synced across instances, which means that it will restore after a refresh or reopening of the application.
+* The collapsed state is also persisted in <a class="reference-link" href="../../Basic%20Concepts%20and%20Features/Import%20%26%20Export.md">Import &amp; Export</a>, but only for the HTML format. Markdown exports will not preserve the collapse state.
+* Collapsible bullets only exist in the context of editable text notes. Read-only lists will always be fully expanded.
+* The list items will auto-expand on edit to avoid typing in a hidden area.
\ No newline at end of file