Toggle button for dark/light mode, which also stores the user preferences.
Quick navigation buttons (previous and next note).
-
Displaying the date of the last update of the note.
+ data-list-item-id="e0ba76ae1a1b97e38ca239ccc919ad562">Quick navigation buttons (previous and next note).
+
Displaying the date of the last update of the note.
By note type
@@ -45,11 +45,12 @@ class="image">
Syntax highlight of code blocks, provided a language is selected (does
not work if “Auto-detected” is enabled).
Rendering for math equations.
+
Including notes (only
+ if the included notes are also shared).
-
Including notes is not supported.
Inline Mermaid diagrams are not rendered.
@@ -171,12 +172,12 @@ class="image">
While the sharing feature is powerful, it has some limitations:
-
Code Notes: No syntax highlighting.
+
Code Notes: No syntax highlighting.
Static Note Tree
+ data-list-item-id="ec84705de13a1a2ce9f21bc5fd8b3ad64">Static Note Tree
-
Protected Notes: Cannot be shared.
-
Include Notes: Not supported.
+
Protected Notes: Cannot be shared.
+
Include Notes: Not supported.
Some of these limitations may be addressed in future updates.
Prerequisites
@@ -185,7 +186,7 @@ class="image">
This is necessary because the notes will be hosted from the server.
Sharing a note
-
+
Enable Sharing: To share a note, toggle the Shared switch
within the note's interface. Once sharing is enabled, an URL will appear,
which you can click to access the shared note.
@@ -193,7 +194,7 @@ class="image">
-
Access the Shared Note: The link provided will open the
+
Access the Shared Note: The link provided will open the
note in your browser. If your server is not configured with a public IP,
the URL will refer to localhost (127.0.0.1).
@@ -221,13 +222,13 @@ class="image">
The default design should be a good starting point, but you can customize
it using your own CSS:
-
Custom CSS: Link a CSS Custom CSS: Link a CSS Code note to the shared page by
adding a ~shareCss relation to the note. If you want this style
to apply to the entire subtree, make the label inheritable. You can hide
the CSS code note from the tree navigation by adding the #shareHiddenFromTree label.
Omitting Default CSS: For extensive styling changes,
+ data-list-item-id="ec911775f2f39d62f7a6a2ab762e3f773">Omitting Default CSS: For extensive styling changes,
use the #shareOmitDefaultCss label to avoid conflicts with Trilium's
default stylesheet.
@@ -250,8 +251,8 @@ for (const attr of parentNote.attributes) {
This will change the URL to http://domain.tld/share/highlighting.
Important:
-
Ensure that aliases are unique.
-
Using slashes (/) within aliases to create subpaths is not
+
Ensure that aliases are unique.
+
Using slashes (/) within aliases to create subpaths is not
supported.
In the Formatting toolbar,
look for the
button. There is also a keyboard shortcut defined for it but it is not
- allocated by default.
\ No newline at end of file
+ allocated by default.
+
Included notes in the share functionality
+
If a shared note contains
+ one or more included notes, they will be displayed in the content of the
+ note as if they were part of the note itself.
+
For this to work, the included notes must also be shared, otherwise they
+ will not be shown. However, the included notes can still be hidden from
+ the note tree via #shareHiddenFromTree.
While the sharing feature is powerful, it has some limitations:
diff --git a/docs/User Guide/User Guide/Note Types/Text/Include Note.md b/docs/User Guide/User Guide/Note Types/Text/Include Note.md
index 874bf70ca..8a3584f8b 100644
--- a/docs/User Guide/User Guide/Note Types/Text/Include Note.md
+++ b/docs/User Guide/User Guide/Note Types/Text/Include Note.md
@@ -3,4 +3,10 @@ Text notes can "include" another note as a read-only widget. This can be useful
## Including a note
-In the Formatting toolbar, look for the  button. There is also a keyboard shortcut defined for it but it is not allocated by default.
\ No newline at end of file
+In the Formatting toolbar, look for the  button. There is also a keyboard shortcut defined for it but it is not allocated by default.
+
+## Included notes in the share functionality
+
+If a [shared note](../../Advanced%20Usage/Sharing.md) contains one or more included notes, they will be displayed in the content of the note as if they were part of the note itself.
+
+For this to work, the included notes must also be shared, otherwise they will not be shown. However, the included notes can still be hidden from the note tree via `#shareHiddenFromTree`.
\ No newline at end of file