Skip to content

Build your personal knowledge base with Trilium Notes

docs(user): sync

Elian Doran82ff5f666096
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing.html
index 41492ceb69..af9f19b693 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing.html
@@ -6,178 +6,173 @@ class="image">
<img style="aspect-ratio:1144/660;" src="Sharing_image.png"
width="1144" height="660">
</figure>
- <h2>Features, interaction and limitations</h2>
+
+<h2>Features, interaction and limitations</h2>
<ul>
- <li data-list-item-id="ef22b391cbc76ef956be01dd41a6b60bf">Searching by note title.</li>
- <li data-list-item-id="eeab18d3a35263669809a1b89d7b060b9">Automatic dark/light mode based on the user's browser settings.</li>
- <li
- data-list-item-id="e9a0db9cceacd026e71ad8bda9948542e">Mobile-friendly layout, with sidebar.</li>
- <li data-list-item-id="eb9da2104d017644f71fcee18eb17d34b">Collapsible tree with the same note icons as the application.</li>
- <li
- data-list-item-id="ea2be5ec72816441e702ff6dba92ed30d">Customizable logo.</li>
- <li data-list-item-id="e26648726ce48aa84a8c71cf0fe3e4ee2">Toggle button for dark/light mode, which also stores the user preferences.</li>
- <li
- data-list-item-id="ef143555e0d67d1d389f6bbc226ebdc55">Quick navigation buttons (previous and next note).</li>
- <li data-list-item-id="e32f67105cfb655c235d2454d9ec4874f">Displaying the date of the last update of the note.</li>
+ <li>Searching by note title.</li>
+ <li>Automatic dark/light mode based on the user's browser settings.</li>
+ <li>Mobile-friendly layout, with sidebar.</li>
+ <li>Collapsible tree with the same note icons as the application.</li>
+ <li>Customizable logo.</li>
+ <li>Toggle button for dark/light mode, which also stores the user preferences.</li>
+ <li>Quick navigation buttons (previous and next note).</li>
+ <li>Displaying the date of the last update of the note.</li>
</ul>
<h3>By note type</h3>
- <figure class="table">
- <table class="ck-table-resized">
- <colgroup>
- <col style="width:19.92%;">
- <col style="width:41.66%;">
- <col style="width:38.42%;">
- </colgroup>
- <thead>
- <tr>
- <th>&nbsp;</th>
- <th>Supported features</th>
- <th>Limitations</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <th><a class="reference-link" href="#root/_help_iPIMuisry3hd">Text</a>
- </th>
- <td>
- <ul>
- <li data-list-item-id="e26b4ce9ba4e9dfe224d04e0f341925ed">Table of contents.</li>
- <li data-list-item-id="e9707fdfa2c92d66690cf932f7e647253">Syntax highlight of code blocks, provided a language is selected (does
- not work if “Auto-detected” is enabled).</li>
- <li data-list-item-id="e84420a10c6d64bd107edb6e867c91d4b">Rendering for math equations.</li>
- <li data-list-item-id="e10834dcd0619d77ae2e94d3695bedf58"><a href="#root/_help_nBAXQFj20hS1">Including notes</a> (only if the included
- notes are also shared).</li>
- </ul>
- </td>
- <td>
- <ul>
- <li data-list-item-id="e41cc4139377f9f88d653d1eb8ca47bb4">Inline Mermaid diagrams are not rendered.</li>
- </ul>
- </td>
- </tr>
- <tr>
- <th><a class="reference-link" href="#root/_help_6f9hih2hXXZk">Code</a>
- </th>
- <td>
- <ul>
- <li data-list-item-id="e291ae6d5130677b4c99f7c3bdbe974b4">Basic support (displaying the contents of the note in a monospace font).</li>
- </ul>
- </td>
- <td>
- <ul>
- <li data-list-item-id="e0270680bbdd7a129306e61e11691e36d">No syntax highlight.</li>
- </ul>
- </td>
- </tr>
- <tr>
- <th><a class="reference-link" href="#root/_help_m523cpzocqaD">Saved Search</a>
- </th>
- <td>Not supported.</td>
- <td>&nbsp;</td>
- </tr>
- <tr>
- <th><a class="reference-link" href="#root/_help_iRwzGnHPzonm">Relation Map</a>
- </th>
- <td>Not supported.</td>
- <td>&nbsp;</td>
- </tr>
- <tr>
- <th><a class="reference-link" href="#root/_help_bdUJEHsAPYQR">Note Map</a>
- </th>
- <td>Not supported.</td>
- <td>&nbsp;</td>
- </tr>
- <tr>
- <th><a class="reference-link" href="#root/_help_HcABDtFCkbFN">Render Note</a>
- </th>
- <td>Not supported.</td>
- <td>&nbsp;</td>
- </tr>
- <tr>
- <th><a class="reference-link" href="#root/_help_GTwFsgaA0lCt">Collections</a>
- </th>
- <td>
- <ul>
- <li data-list-item-id="ea031e1d4149eb443ace756234490c5a4">The child notes are displayed in a fixed format.&nbsp;</li>
- </ul>
- </td>
- <td>
- <ul>
- <li data-list-item-id="ea4a9d424aec2afbaecc07bbf64b7bebd">More advanced view types such as the calendar view are not supported.</li>
- </ul>
- </td>
- </tr>
- <tr>
- <th><a class="reference-link" href="#root/_help_s1aBHPd79XYj">Mermaid Diagrams</a>
- </th>
- <td>
- <ul>
- <li data-list-item-id="e582d283f2b1b30cbe5ae35d8e01b2bf2">The diagram is displayed as a vector image.</li>
- </ul>
- </td>
- <td>
- <ul>
- <li data-list-item-id="e33268686446e3c217077201bb5964364">No further interaction supported.</li>
- </ul>
- </td>
- </tr>
- <tr>
- <th><a class="reference-link" href="#root/_help_grjYqerjn243">Canvas</a>
- </th>
- <td>
- <ul>
- <li data-list-item-id="e443dd0e97c30cb12c77e8906a71569ea">The diagram is displayed as a vector image.</li>
- </ul>
- </td>
- <td>
- <ul>
- <li data-list-item-id="efe151ef3f3826c825416417525fb5fb2">No further interaction supported.</li>
- </ul>
- </td>
- </tr>
- <tr>
- <th><a class="reference-link" href="#root/_help_1vHRoWCEjj0L">Web View</a>
- </th>
- <td>Not supported.</td>
- <td>&nbsp;</td>
- </tr>
- <tr>
- <th><a class="reference-link" href="#root/_help_gBbsAeiuUxI5">Mind Map</a>
- </th>
- <td>The diagram is displayed as a vector image.</td>
- <td>
- <ul>
- <li data-list-item-id="ed3b4fb473042f6e32b4502d4fa11a767">No further interaction supported.</li>
- </ul>
- </td>
- </tr>
- <tr>
- <th><a class="reference-link" href="#root/_help_81SGnPGMk7Xc">Geo Map</a>
- </th>
- <td>Not supported.</td>
- <td>&nbsp;</td>
- </tr>
- <tr>
- <th><a class="reference-link" href="#root/_help_W8vYD3Q1zjCR">File</a>
- </th>
- <td>Basic interaction (downloading the file).</td>
- <td>
- <ul>
- <li data-list-item-id="ed87e836a39d127ebcbb33e9e59045afb">No further interaction supported.</li>
- </ul>
- </td>
- </tr>
- </tbody>
- </table>
- </figure>
+ <table class="ck-table-resized">
+ <colgroup>
+ <col style="width:19.92%;">
+ <col style="width:41.66%;">
+ <col style="width:38.42%;">
+ </colgroup>
+ <thead>
+ <tr>
+ <th>&nbsp;</th>
+ <th>Supported features</th>
+ <th>Limitations</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <th><a class="reference-link" href="#root/_help_iPIMuisry3hd">Text</a>
+ </th>
+ <td>
+ <ul>
+ <li data-list-item-id="e26b4ce9ba4e9dfe224d04e0f341925ed">Table of contents.</li>
+ <li data-list-item-id="e9707fdfa2c92d66690cf932f7e647253">Syntax highlight of code blocks, provided a language is selected (does
+ not work if “Auto-detected” is enabled).</li>
+ <li data-list-item-id="e84420a10c6d64bd107edb6e867c91d4b">Rendering for math equations.</li>
+ <li data-list-item-id="e10834dcd0619d77ae2e94d3695bedf58"><a href="#root/_help_nBAXQFj20hS1">Including notes</a> (only if the included
+ notes are also shared).</li>
+ </ul>
+ </td>
+ <td>
+ <ul>
+ <li data-list-item-id="e41cc4139377f9f88d653d1eb8ca47bb4">Inline Mermaid diagrams are not rendered.</li>
+ </ul>
+ </td>
+ </tr>
+ <tr>
+ <th><a class="reference-link" href="#root/_help_6f9hih2hXXZk">Code</a>
+ </th>
+ <td>
+ <ul>
+ <li data-list-item-id="e291ae6d5130677b4c99f7c3bdbe974b4">Basic support (displaying the contents of the note in a monospace font).</li>
+ </ul>
+ </td>
+ <td>
+ <ul>
+ <li data-list-item-id="e0270680bbdd7a129306e61e11691e36d">No syntax highlight.</li>
+ </ul>
+ </td>
+ </tr>
+ <tr>
+ <th><a class="reference-link" href="#root/_help_m523cpzocqaD">Saved Search</a>
+ </th>
+ <td>Not supported.</td>
+ <td>&nbsp;</td>
+ </tr>
+ <tr>
+ <th><a class="reference-link" href="#root/_help_iRwzGnHPzonm">Relation Map</a>
+ </th>
+ <td>Not supported.</td>
+ <td>&nbsp;</td>
+ </tr>
+ <tr>
+ <th><a class="reference-link" href="#root/_help_bdUJEHsAPYQR">Note Map</a>
+ </th>
+ <td>Not supported.</td>
+ <td>&nbsp;</td>
+ </tr>
+ <tr>
+ <th><a class="reference-link" href="#root/_help_HcABDtFCkbFN">Render Note</a>
+ </th>
+ <td>Not supported.</td>
+ <td>&nbsp;</td>
+ </tr>
+ <tr>
+ <th><a class="reference-link" href="#root/_help_GTwFsgaA0lCt">Collections</a>
+ </th>
+ <td>
+ <ul>
+ <li data-list-item-id="ea031e1d4149eb443ace756234490c5a4">The child notes are displayed in a fixed format.&nbsp;</li>
+ </ul>
+ </td>
+ <td>
+ <ul>
+ <li data-list-item-id="ea4a9d424aec2afbaecc07bbf64b7bebd">More advanced view types such as the calendar view are not supported.</li>
+ </ul>
+ </td>
+ </tr>
+ <tr>
+ <th><a class="reference-link" href="#root/_help_s1aBHPd79XYj">Mermaid Diagrams</a>
+ </th>
+ <td>
+ <ul>
+ <li data-list-item-id="e582d283f2b1b30cbe5ae35d8e01b2bf2">The diagram is displayed as a vector image.</li>
+ </ul>
+ </td>
+ <td>
+ <ul>
+ <li data-list-item-id="e33268686446e3c217077201bb5964364">No further interaction supported.</li>
+ </ul>
+ </td>
+ </tr>
+ <tr>
+ <th><a class="reference-link" href="#root/_help_grjYqerjn243">Canvas</a>
+ </th>
+ <td>
+ <ul>
+ <li data-list-item-id="e443dd0e97c30cb12c77e8906a71569ea">The diagram is displayed as a vector image.</li>
+ </ul>
+ </td>
+ <td>
+ <ul>
+ <li data-list-item-id="efe151ef3f3826c825416417525fb5fb2">No further interaction supported.</li>
+ </ul>
+ </td>
+ </tr>
+ <tr>
+ <th><a class="reference-link" href="#root/_help_1vHRoWCEjj0L">Web View</a>
+ </th>
+ <td>Not supported.</td>
+ <td>&nbsp;</td>
+ </tr>
+ <tr>
+ <th><a class="reference-link" href="#root/_help_gBbsAeiuUxI5">Mind Map</a>
+ </th>
+ <td>The diagram is displayed as a vector image.</td>
+ <td>
+ <ul>
+ <li data-list-item-id="ed3b4fb473042f6e32b4502d4fa11a767">No further interaction supported.</li>
+ </ul>
+ </td>
+ </tr>
+ <tr>
+ <th><a class="reference-link" href="#root/_help_81SGnPGMk7Xc">Geo Map</a>
+ </th>
+ <td>Not supported.</td>
+ <td>&nbsp;</td>
+ </tr>
+ <tr>
+ <th><a class="reference-link" href="#root/_help_W8vYD3Q1zjCR">File</a>
+ </th>
+ <td>Basic interaction (downloading the file).</td>
+ <td>
+ <ul>
+ <li data-list-item-id="ed87e836a39d127ebcbb33e9e59045afb">No further interaction supported.</li>
+ </ul>
+ </td>
+ </tr>
+ </tbody>
+ </table>
<p>While the sharing feature is powerful, it has some limitations:</p>
<ul>
- <li data-list-item-id="e35e0cab1eec05f391623e8279959070c"><strong>Code Notes</strong>: No syntax highlighting.</li>
- <li class="ck-list-marker-bold"
- data-list-item-id="e36b70bd10c3666c0def874b4ec52db31"><strong>Static Note Tree</strong>
+ <li><strong>Code Notes</strong>: No syntax highlighting.</li>
+ <li><strong>Static Note Tree</strong>
</li>
- <li data-list-item-id="ef8144aff172d450cf7b4edbf1a430ab9"><strong>Protected Notes</strong>: Cannot be shared.</li>
- <li data-list-item-id="ec3761c9dce911b115b840a32eebd18b8"><strong>Include Notes</strong>: Not supported.</li>
+ <li><strong>Protected Notes</strong>: Cannot be shared.</li>
+ <li><strong>Include Notes</strong>: Not supported.</li>
</ul>
<p>Some of these limitations may be addressed in future updates.</p>
<h2>Prerequisites</h2>
@@ -186,7 +181,7 @@ class="image">
is necessary because the notes will be hosted from the server.</p>
<h2>Sharing a note</h2>
<ol>
- <li data-list-item-id="e503f8ad52fe9033ef59212b7b692d69f">
+ <li>
<p><strong>Enable Sharing</strong>: To share a note, toggle the <code>Shared</code> switch
within the note's interface. Once sharing is enabled, an URL will appear,
which you can click to access the shared note.</p>
@@ -195,9 +190,11 @@ class="image">
alt="Share Note">
</p>
</li>
- <li data-list-item-id="e9c5083764d919503412f4f7f1cb0e0e0"><strong>Access the Shared Note</strong>: 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 <code>localhost (127.0.0.1)</code>.</li>
+ <li>
+ <p><strong>Access the Shared Note</strong>: 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 <code>localhost (127.0.0.1)</code>.</p>
+ </li>
</ol>
<h2>Sharing a note subtree</h2>
<p>When you share a note, you actually share the entire subtree of notes
@@ -212,11 +209,11 @@ class="image">
public.</p>
<h2>Security considerations</h2>
<ul>
- <li data-list-item-id="ea35f4596f6a8c69a83416766b567c3cd">Shared notes are published on the open internet and can be accessed by
+ <li>Shared notes are published on the open internet and can be accessed by
anyone with the URL unless the notes are password-protected.</li>
- <li data-list-item-id="e34e983d07439b781597d1abaf8b6e297">The URL's randomness does not provide security, so it is crucial not to
+ <li>The URL's randomness does not provide security, so it is crucial not to
share sensitive information through this feature.</li>
- <li data-list-item-id="e94fbe4fb4b9f7806074aba4fe7601cb7">Trilium takes precautions to protect your publicly shared instance from
+ <li>Trilium takes precautions to protect your publicly shared instance from
leaking information for non-shared notes, including opening a separate
read-only connection to the&nbsp;<a class="reference-link" href="#root/_help_wX4HbRucYSDD">Database</a>.
Depending on your threat model, it might make more sense to use&nbsp;
@@ -233,13 +230,12 @@ class="image">
<p>The default design should be a good starting point, but you can customize
it using your own CSS:</p>
<ul>
- <li data-list-item-id="e3fdd3f9d73ed0655a94330d0a75790e4"><strong>Custom CSS</strong>: Link a CSS&nbsp;<a class="reference-link"
+ <li><strong>Custom CSS</strong>: Link a CSS&nbsp;<a class="reference-link"
href="#root/_help_6f9hih2hXXZk">Code</a>&nbsp;note to the shared page by adding
a <code>~shareCss</code> 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 <code>#shareHiddenFromTree</code> label.</li>
- <li
- data-list-item-id="ee0bb81c27f4cd176412d38258d32da39"><strong>Omitting Default CSS</strong>: For extensive styling changes,
+ <li><strong>Omitting Default CSS</strong>: For extensive styling changes,
use the <code>#shareOmitDefaultCss</code> label to avoid conflicts with Trilium's
<a
href="#root/_help_Wy267RK4M69c">default stylesheet</a>.</li>
@@ -257,22 +253,22 @@ class="image">
itself.</p>
<p>The <code>#shareHtmlLocation</code> label accepts values in the format <code>location:position</code>:</p>
<ul>
- <li data-list-item-id="ead2588d20ac1fb23e7cb2a6d33d02bcb"><strong>Locations</strong>: <code>head</code>, <code>body</code>, <code>content</code>
+ <li><strong>Locations</strong>: <code>head</code>, <code>body</code>, <code>content</code>
</li>
- <li data-list-item-id="e368323f330b229cb3428266304ebc2b4"><strong>Positions</strong>: <code>start</code>, <code>end</code>
+ <li><strong>Positions</strong>: <code>start</code>, <code>end</code>
</li>
</ul>
<p>For example:</p>
<ul>
- <li data-list-item-id="e2f0cbb70e71902ec26d64b4c10f1b3cf"><code>#shareHtmlLocation=head:start</code> - Injects HTML at the beginning
+ <li><code>#shareHtmlLocation=head:start</code> - Injects HTML at the beginning
of the <code>&lt;head&gt;</code> section</li>
- <li data-list-item-id="e2ac6f7ec36059fc5ea2148bee57d9329"><code>#shareHtmlLocation=head:end</code> - Injects HTML at the end of the <code>&lt;head&gt;</code> section
+ <li><code>#shareHtmlLocation=head:end</code> - Injects HTML at the end of the <code>&lt;head&gt;</code> section
(default)</li>
- <li data-list-item-id="e9fea05a82b09b66521807ae4b08bfd53"><code>#shareHtmlLocation=body:start</code> - Injects HTML at the beginning
+ <li><code>#shareHtmlLocation=body:start</code> - Injects HTML at the beginning
of the <code>&lt;body&gt;</code> section</li>
- <li data-list-item-id="ed33846c38d6e8a631111fc858ecf4963"><code>#shareHtmlLocation=content:start</code> - Injects HTML at the beginning
+ <li><code>#shareHtmlLocation=content:start</code> - Injects HTML at the beginning
of the content area</li>
- <li data-list-item-id="e89347723de7736060ce226d93530a162"><code>#shareHtmlLocation=content:end</code> - Injects HTML at the end of
+ <li><code>#shareHtmlLocation=content:end</code> - Injects HTML at the end of
the content area</li>
</ul>
<p>If no location is specified, the HTML will be injected at <code>content:end</code> by
@@ -290,16 +286,16 @@ for (const attr of parentNote.attributes) {
This will change the URL to <code>http://domain.tld/share/highlighting</code>.</p>
<p><strong>Important</strong>:</p>
<ol>
- <li data-list-item-id="edff04cba1df31a2aae23fd2f6a5ee847">Ensure that aliases are unique.</li>
- <li data-list-item-id="eea48bfb287b0559450050141243032a9">Using slashes (<code>/</code>) within aliases to create subpaths is not
+ <li>Ensure that aliases are unique.</li>
+ <li>Using slashes (<code>/</code>) within aliases to create subpaths is not
supported.</li>
</ol>
<aside class="admonition tip">
<ul>
- <li data-list-item-id="e0fcb644d56cb60448a87ddb7831e6043">To easily identify pages that don't have a share alias, run a&nbsp;
+ <li>To easily identify pages that don't have a share alias, run a&nbsp;
<a
class="reference-link" href="#root/_help_eIg8jdvaoNNd">Search</a>&nbsp;with <code>#!shareAlias</code>.</li>
- <li data-list-item-id="e888d6e9d905db9a030755430007e522b">To be able to enter the share alias faster, consider using&nbsp;<a class="reference-link"
+ <li>To be able to enter the share alias faster, consider using&nbsp;<a class="reference-link"
href="#root/_help_OFXdgB2nNk1F">Promoted Attributes</a>&nbsp;(for example <code>#label:shareAlias(inheritable)="promoted,alias=Slug,single,text"</code>).</li>
</ul>
</aside>
@@ -323,176 +319,165 @@ for (const attr of parentNote.attributes) {
When viewed, the list of shared roots will be displayed at the bottom of
the note.</p>
<h2>Attribute reference</h2>
- <figure class="table" style="width:100%;">
- <table class="ck-table-resized">
- <colgroup>
- <col style="width:18.38%;">
- <col style="width:81.62%;">
- </colgroup>
- <thead>
- <tr>
- <th>Attribute</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><code>#shareHiddenFromTree</code>
- </td>
- <td>this note is hidden from left navigation tree, but still accessible with
- its URL</td>
- </tr>
- <tr>
- <td><code>#shareExternalLink</code>
- </td>
- <td>note will act as a link to an external website in the share tree</td>
- </tr>
- <tr>
- <td><code>#shareAlias</code>
- </td>
- <td>define an alias using which the note will be available under <code>https://your_trilium_host/share/[your_alias]</code>
- </td>
- </tr>
- <tr>
- <td><code>#shareOmitDefaultCss</code>
- </td>
- <td>default share page CSS will be omitted. Use when you make extensive styling
- changes.</td>
- </tr>
- <tr>
- <td><code>#shareRoot</code>
- </td>
- <td>marks note which is served on /share root.</td>
- </tr>
- <tr>
- <td><code>#shareDescription</code>
- </td>
- <td>define text to be added to the HTML meta tag for description</td>
- </tr>
- <tr>
- <td><code>#shareRaw</code>
- </td>
- <td>Note will be served in its raw format, without HTML wrapper. See also&nbsp;
- <a
- class="reference-link" href="#root/_help_Qjt68inQ2bRj">Serving directly the content of a note</a>&nbsp;for an alternative method
- without setting an attribute.</td>
- </tr>
- <tr>
- <td><code>#shareDisallowRobotIndexing</code>
- </td>
- <td>
- <p>Indicates to web crawlers that the page should not be indexed of this
- note by:</p>
- <ul>
- <li data-list-item-id="e6baa9f60bf59d085fd31aa2cce07a0e7">Setting the <code>X-Robots-Tag: noindex</code> HTTP header.</li>
- <li data-list-item-id="ec0d067db136ef9794e4f1033405880b7">Setting the <code>noindex, follow</code> meta tag.</li>
- </ul>
- </td>
- </tr>
- <tr>
- <td><code>#shareCredentials</code>
- </td>
- <td>require credentials to access this shared note. Value is expected to be
- in format <code>username:password</code>. Don't forget to make this inheritable
- to apply to child-notes/images.</td>
- </tr>
- <tr>
- <td><code>#shareIndex</code>
- </td>
- <td>Note with this label will list all roots of shared notes.</td>
- </tr>
- <tr>
- <td><code>#shareHtmlLocation</code>
- </td>
- <td>defines where custom HTML injected via <code>~shareHtml</code> relation
- should be placed. Applied to the HTML snippet note itself. Format: <code>location:position</code> where
- location is <code>head</code>, <code>body</code>, or <code>content</code> and
- position is <code>start</code> or <code>end</code>. Defaults to <code>content:end</code>.</td>
- </tr>
- </tbody>
- </table>
- </figure>
- <h3>Customizing logo</h3>
+ <table class="ck-table-resized">
+ <colgroup>
+ <col style="width:18.38%;">
+ <col style="width:81.62%;">
+ </colgroup>
+ <thead>
+ <tr>
+ <th>Attribute</th>
+ <th>Description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><code>#shareHiddenFromTree</code>
+ </td>
+ <td>this note is hidden from left navigation tree, but still accessible with
+ its URL</td>
+ </tr>
+ <tr>
+ <td><code>#shareExternalLink</code>
+ </td>
+ <td>note will act as a link to an external website in the share tree</td>
+ </tr>
+ <tr>
+ <td><code>#shareAlias</code>
+ </td>
+ <td>define an alias using which the note will be available under <code>https://your_trilium_host/share/[your_alias]</code>
+ </td>
+ </tr>
+ <tr>
+ <td><code>#shareOmitDefaultCss</code>
+ </td>
+ <td>default share page CSS will be omitted. Use when you make extensive styling
+ changes.</td>
+ </tr>
+ <tr>
+ <td><code>#shareRoot</code>
+ </td>
+ <td>marks note which is served on /share root.</td>
+ </tr>
+ <tr>
+ <td><code>#shareDescription</code>
+ </td>
+ <td>define text to be added to the HTML meta tag for description</td>
+ </tr>
+ <tr>
+ <td><code>#shareRaw</code>
+ </td>
+ <td>Note will be served in its raw format, without HTML wrapper. See also&nbsp;
+ <a
+ class="reference-link" href="#root/_help_Qjt68inQ2bRj">Serving directly the content of a note</a>&nbsp;for an alternative method
+ without setting an attribute.</td>
+ </tr>
+ <tr>
+ <td><code>#shareDisallowRobotIndexing</code>
+ </td>
+ <td>
+ <p>Indicates to web crawlers that the page should not be indexed of this
+ note by:</p>
+ <ul>
+ <li data-list-item-id="e6baa9f60bf59d085fd31aa2cce07a0e7">Setting the <code>X-Robots-Tag: noindex</code> HTTP header.</li>
+ <li data-list-item-id="ec0d067db136ef9794e4f1033405880b7">Setting the <code>noindex, follow</code> meta tag.</li>
+ </ul>
+ </td>
+ </tr>
+ <tr>
+ <td><code>#shareCredentials</code>
+ </td>
+ <td>require credentials to access this shared note. Value is expected to be
+ in format <code>username:password</code>. Don't forget to make this inheritable
+ to apply to child-notes/images.</td>
+ </tr>
+ <tr>
+ <td><code>#shareIndex</code>
+ </td>
+ <td>Note with this label will list all roots of shared notes.</td>
+ </tr>
+ <tr>
+ <td><code>#shareHtmlLocation</code>
+ </td>
+ <td>defines where custom HTML injected via <code>~shareHtml</code> relation
+ should be placed. Applied to the HTML snippet note itself. Format: <code>location:position</code> where
+ location is <code>head</code>, <code>body</code>, or <code>content</code> and
+ position is <code>start</code> or <code>end</code>. Defaults to <code>content:end</code>.</td>
+ </tr>
+ </tbody>
+ </table>
+
+<h3>Customizing logo</h3>
<p>It's possible to adjust the logo which is displayed on the top-left of
the left pane.</p>
- <figure class="table" style="width:100%;">
- <table class="ck-table-resized">
- <colgroup>
- <col style="width:19.08%;">
- <col style="width:80.92%;">
- </colgroup>
- <thead>
- <tr>
- <th>Attribute</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><code>~shareLogo</code>
- </td>
- <td>Relation set to an image to use as logo. The image must be part of the
- share tree (it can be hidden if needed).</td>
- </tr>
- <tr>
- <td><code>#shareLogoWidth</code>
- </td>
- <td>The width (in pixels, without unit) to set for the logo. Default is <code>53</code>.</td>
- </tr>
- <tr>
- <td><code>#shareLogoHeight</code>
- </td>
- <td>The height (in pixels, without unit) to set for the logo. Default is <code>40</code>.</td>
- </tr>
- <tr>
- <td><code>#shareRootLink</code>
- </td>
- <td>URL to navigate to when the logo is pressed.</td>
- </tr>
- </tbody>
- </table>
- </figure>
- <h3>Customizing OpenGraph</h3>
- <figure class="table" style="width:100%;">
- <table class="ck-table-resized">
- <colgroup>
- <col style="width:19.08%;">
- <col style="width:80.92%;">
- </colgroup>
- <thead>
- <tr>
- <th>Attribute</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><span style="color:#3b3b3b;"><code>#shareOpenGraphColor</code></span>
- </td>
- <td>This adjusts the <code>theme-color</code> meta-property.</td>
- </tr>
- <tr>
- <td><code>#shareOpenGraphURL</code>
- </td>
- <td>This adjusts the <code>og:url</code> and <code>twitter:url</code> meta-properties.</td>
- </tr>
- <tr>
- <td><code>#shareOpenGraphDomain</code>
- </td>
- <td>Adjusts the <code>twitter:domain</code> meta-property.</td>
- </tr>
- <tr>
- <td><code>#shareOpenGraphImage</code>
- <br><code>~shareOpenGraphImage</code>
- </td>
- <td>Can be either a label, case in which the value is passed on as-is, or
- it can be a relation to an image&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_W8vYD3Q1zjCR">File</a>.
- This controls the <code>og:image</code> meta-property.</td>
- </tr>
- </tbody>
- </table>
- </figure>
- <h2>Credits</h2>
+ <table>
+ <thead>
+ <tr>
+ <th>Attribute</th>
+ <th>Description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><code>~shareLogo</code>
+ </td>
+ <td>Relation set to an image to use as logo. The image must be part of the
+ share tree (it can be hidden if needed).</td>
+ </tr>
+ <tr>
+ <td><code>#shareLogoWidth</code>
+ </td>
+ <td>The width (in pixels, without unit) to set for the logo. Default is <code>53</code>.</td>
+ </tr>
+ <tr>
+ <td><code>#shareLogoHeight</code>
+ </td>
+ <td>The height (in pixels, without unit) to set for the logo. Default is <code>40</code>.</td>
+ </tr>
+ <tr>
+ <td><code>#shareRootLink</code>
+ </td>
+ <td>URL to navigate to when the logo is pressed.</td>
+ </tr>
+ </tbody>
+ </table>
+
+<h3>Customizing OpenGraph</h3>
+ <table>
+ <thead>
+ <tr>
+ <th>Attribute</th>
+ <th>Description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><code>#shareOpenGraphColor</code>
+ </td>
+ <td>This adjusts the <code>theme-color</code> meta-property.</td>
+ </tr>
+ <tr>
+ <td><code>#shareOpenGraphURL</code>
+ </td>
+ <td>This adjusts the <code>og:url</code> and <code>twitter:url</code> meta-properties.</td>
+ </tr>
+ <tr>
+ <td><code>#shareOpenGraphDomain</code>
+ </td>
+ <td>Adjusts the <code>twitter:domain</code> meta-property.</td>
+ </tr>
+ <tr>
+ <td><code>#shareOpenGraphImage</code>
+ <br><code>~shareOpenGraphImage</code>
+ </td>
+ <td>Can be either a label, case in which the value is passed on as-is, or
+ it can be a relation to an image&nbsp;<a class="reference-link" href="#root/_help_W8vYD3Q1zjCR">File</a>.
+ This controls the <code>og:image</code> meta-property.</td>
+ </tr>
+ </tbody>
+ </table>
+
+<h2>Credits</h2>
<p>Since v0.95.0, a new theme was introduced (and enabled by default) which
greatly improves the visual aspect of the Share feature, as well as its
functionality (such as mobile support, dark/light mode, collapsible tree,
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Reverse proxy configuration.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Reverse proxy configuration.html
index 220ae8b745..5f1bafa0c8 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Reverse proxy configuration.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Reverse proxy configuration.html
@@ -6,18 +6,13 @@
reverse_proxy /share http://localhost:8080/share
}</code></pre>
<p>This is for newer versions where the share functionality is isolated,
- for older versions it's required to also include <code>/assets</code>.
- <span
- class="footnote-reference" data-footnote-reference="" data-footnote-index="1"
- data-footnote-id="2b8mg20aol8" role="doc-noteref" id="fnref2b8mg20aol8"><sup><a href="#fn2b8mg20aol8">[1]</a></sup>
- </span>
+ for older versions it's required to also include <code>/assets</code>.<sup><a href="#fn2b8mg20aol8">[1]</a></sup>
</p>
-<ol class="footnote-section footnotes" data-footnote-section="" role="doc-endnotes">
- <li class="footnote-item" data-footnote-item="" data-footnote-index="1"
- data-footnote-id="2b8mg20aol8" role="doc-endnote" id="fn2b8mg20aol8"><span class="footnote-back-link" data-footnote-back-link="" data-footnote-id="2b8mg20aol8"><sup><strong><a href="#fnref2b8mg20aol8">^</a></strong></sup></span>
- <div
- class="footnote-content" data-footnote-content="">
- <p><a href="https://github.com/orgs/TriliumNext/discussions/7341#discussioncomment-14679897">https://github.com/orgs/TriliumNext/discussions/7341#discussioncomment-14679897</a>&nbsp;</p>
- </div>
+<ol>
+ <li>
+ <p><sup><strong><a href="#fnref2b8mg20aol8">^</a></strong></sup>
+ </p>
+ <p><a href="https://github.com/orgs/TriliumNext/discussions/7341#discussioncomment-14679897">https://github.com/orgs/TriliumNext/discussions/7341#discussioncomment-14679897</a>
+ </p>
</li>
</ol>
\ No newline at end of file