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): restore the non-breaking space after tab title icons
Elian Doran0c646b0f8225
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables).html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables).htmlindex d7fdf79bdb..9587f52dac 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables).html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables).html@@ -322,8 +322,9 @@<h2>Examples</h2><div class="trilium-tabs"><section class="trilium-tab">- <p class="trilium-tab-title"><span class="tn-icon bx bxl-docker"></span> Docker Compose</p>- <div class="trilium-tab-panel"><pre><code class="language-text-x-yaml">services:+ <p class="trilium-tab-title"><span class="tn-icon bx bxl-docker"></span> Docker Compose</p>+ <div+ class="trilium-tab-panel"><pre><code class="language-text-x-yaml">services:trilium:image: triliumnext/triliumenvironment:@@ -341,7 +342,7 @@</div></section><section class="trilium-tab">- <p class="trilium-tab-title"><span class="tn-icon bx bxl-tux"></span> Linux Shell</p>+ <p class="trilium-tab-title"><span class="tn-icon bx bxl-tux"></span> Linux Shell</p><div class="trilium-tab-panel"><pre><code class="language-text-x-trilium-auto"># Using either formatexport TRILIUM_GENERAL_NOAUTHENTICATION=falseexport TRILIUM_NETWORK_HTTPS=truediff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Nightly release.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Nightly release.htmlindex 742b4be033..ed3050dd2f 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Nightly release.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Nightly release.html@@ -28,7 +28,7 @@update their version:</p><div class="trilium-tabs"><section class="trilium-tab">- <p class="trilium-tab-title"><span class="tn-icon bx bxl-tux"></span> Ubuntu (Bash)</p>+ <p class="trilium-tab-title"><span class="tn-icon bx bxl-tux"></span> Ubuntu (Bash)</p><div class="trilium-tab-panel"><pre><code class="language-text-x-sh">#!/usr/bin/env bashname=TriliumNotes-linux-x64-nightly.deb@@ -39,7 +39,7 @@ rm $name</code></pre></div></section><section class="trilium-tab">- <p class="trilium-tab-title"><span class="tn-icon bx bxl-windows"></span> Windows (PowerShell)</p>+ <p class="trilium-tab-title"><span class="tn-icon bx bxl-windows"></span> Windows (PowerShell)</p><divclass="trilium-tab-panel"><pre><code class="language-application-x-powershell">if ($env:PROCESSOR_ARCHITECTURE -eq "ARM64") {$arch = "arm64";diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Data directory.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Data directory.htmlindex d93df045f6..d2c85834d7 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Data directory.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Data directory.html@@ -34,7 +34,7 @@variable to some other location:</p><div class="trilium-tabs"><section class="trilium-tab">- <p class="trilium-tab-title"><span class="tn-icon bx bxl-windows"></span> Windows</p>+ <p class="trilium-tab-title"><span class="tn-icon bx bxl-windows"></span> Windows</p><div class="trilium-tab-panel"><ol><li>Press the <span class="tn-icon bx bxl-windows"></span> key on your@@ -51,7 +51,7 @@</div></section><section class="trilium-tab">- <p class="trilium-tab-title"><span class="tn-icon bx bxl-tux"></span> Linux</p>+ <p class="trilium-tab-title"><span class="tn-icon bx bxl-tux"></span> Linux</p><div class="trilium-tab-panel"><p>Trilium reads <code>TRILIUM_DATA_DIR</code> when it starts, so the variablemust be set in the environment that launches it.</p>@@ -103,7 +103,7 @@ sudo systemctl restart trilium</code></pre></div></section><section class="trilium-tab">- <p class="trilium-tab-title"><span class="tn-icon bx bxl-apple"></span> macOS</p>+ <p class="trilium-tab-title"><span class="tn-icon bx bxl-apple"></span> macOS</p><div class="trilium-tab-panel"><p>You need to create a <code>.plist</code> file under <code>~/Library/LaunchAgents</code> toload it properly each login.</p>diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Mobile Frontend.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Mobile Frontend.htmlindex ccfbd961b2..dfb1012e1c 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Mobile Frontend.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Mobile Frontend.html@@ -57,8 +57,9 @@makes it easy to access via your mobile phone's home screen.</p><div class="trilium-tabs"><section class="trilium-tab">- <p class="trilium-tab-title"><span class="tn-icon bx bxl-apple"></span> iOS with Safari</p>- <div class="trilium-tab-panel">+ <p class="trilium-tab-title"><span class="tn-icon bx bxl-apple"></span> iOS with Safari</p>+ <div+ class="trilium-tab-panel"><ol><li>Open your default web browser and access your Trilium instance.</li><li>Login.</li>@@ -69,7 +70,7 @@</div></section><section class="trilium-tab">- <p class="trilium-tab-title"><span class="tn-icon bx bxl-chrome"></span> Android with Google Chrome</p>+ <p class="trilium-tab-title"><span class="tn-icon bx bxl-chrome"></span> Android with Google Chrome</p><divclass="trilium-tab-panel"><aside class="admonition important">diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Web Clipper.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Web Clipper.htmlindex a8a20c7680..7079d6523f 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Web Clipper.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Web Clipper.html@@ -75,7 +75,7 @@</ul><div class="trilium-tabs"><section class="trilium-tab">- <p class="trilium-tab-title"><span class="tn-icon bx bxl-chrome"></span> Chrome</p>+ <p class="trilium-tab-title"><span class="tn-icon bx bxl-chrome"></span> Chrome</p><div class="trilium-tab-panel"><ol><li>Download <code>trilium-web-clipper-[x.y.z]-chrome.zip</code>.</li>@@ -89,7 +89,7 @@</div></section><section class="trilium-tab">- <p class="trilium-tab-title"><span class="tn-icon bx bxl-firefox"></span> Firefox</p>+ <p class="trilium-tab-title"><span class="tn-icon bx bxl-firefox"></span> Firefox</p><div class="trilium-tab-panel"><aside class="admonition warning"><p>Firefox prevents installation of unsigned packages in the “retail” version.diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Launch Bar Widgets/Note Title Widget.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Launch Bar Widgets/Note Title Widget.htmlindex e595b51df2..079a4521f6 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Launch Bar Widgets/Note Title Widget.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics/Launch Bar Widgets/Note Title Widget.html@@ -9,7 +9,7 @@the <a href="#root/_help_x0JgW8UqGXvq">horizontal layout</a>.</p><div class="trilium-tabs"><section class="trilium-tab">- <p class="trilium-tab-title"><span class="tn-icon bx bxl-react"></span> Preact</p>+ <p class="trilium-tab-title"><span class="tn-icon bx bxl-react"></span> Preact</p><div class="trilium-tab-panel"><pre><code class="language-text-x-trilium-auto">import { defineLauncherWidget, useActiveNoteContext } from "trilium:preact";export default defineLauncherWidget({@@ -28,7 +28,7 @@ export default defineLauncherWidget({</div></section><section class="trilium-tab">- <p class="trilium-tab-title"><span class="tn-icon bx bxl-javascript"></span> Legacy</p>+ <p class="trilium-tab-title"><span class="tn-icon bx bxl-javascript"></span> Legacy</p><div class="trilium-tab-panel"><pre><code class="language-text-javascript">const TPL = `\<div style="display: flex;diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Theme development/Reference.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Theme development/Reference.htmlindex b9a4b2ce4d..2b3ecea403 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Theme development/Reference.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Theme development/Reference.html@@ -38,29 +38,28 @@ body.layout-horizontal #center-pane {<h2>Detecting platform (Windows, macOS) or Electron</h2><div class="trilium-tabs"><section class="trilium-tab">- <p class="trilium-tab-title"><span class="tn-icon bx bxl-windows"></span> Windows</p>+ <p class="trilium-tab-title"><span class="tn-icon bx bxl-windows"></span> Windows</p><div class="trilium-tab-panel"><pre><code class="language-text-css">body.platform-win32 {background: red;}</code></pre></div></section><section class="trilium-tab">- <p class="trilium-tab-title"><span class="tn-icon bx bxl-apple"></span> macOS</p>+ <p class="trilium-tab-title"><span class="tn-icon bx bxl-apple"></span> macOS</p><div class="trilium-tab-panel"><pre><code class="language-text-css">body.platform-darwin {background: red;}</code></pre></div></section><section class="trilium-tab">- <p class="trilium-tab-title"><span class="tn-icon bx bx-windows"></span> Electron (desktop app)</p>+ <p class="trilium-tab-title"><span class="tn-icon bx bx-windows"></span> Electron (desktop app)</p><divclass="trilium-tab-panel"><p>To distinguish between a <a class="reference-link" href="#root/_help_poXkQfguuA0U">Desktop Installation</a> anda <a class="reference-link" href="#root/_help_WOcw2SLH6tbX">Server Installation</a>:</p><pre><code class="language-text-x-trilium-auto">body.electron {background: blue;}</code></pre>- <p>Can be chained with detections for <a class="reference-link" href="#root/_help_WN5z4M8ASACJ">Reference</a> or <a- class="reference-link" href="#root/_help_WN5z4M8ASACJ">Reference</a> (e.g. <code>body.electron.platform-win32</code>).</p>+ <p>Can be chained with Windows/macOS detections (e.g. <code>body.electron.platform-win32</code>).</p></div></section></div>@@ -81,7 +80,7 @@ body.electron:not(.native-titlebar) {<divclass="trilium-tabs"><section class="trilium-tab">- <p class="trilium-tab-title"><span class="tn-icon bx bxl-windows"></span> Windows</p>+ <p class="trilium-tab-title"><span class="tn-icon bx bxl-windows"></span> Windows</p><div class="trilium-tab-panel"><p>The colors of the native window button area can be adjusted using a RGBhex color:</p><pre><code class="language-text-x-trilium-auto">body {@@ -97,7 +96,7 @@ class="trilium-tabs"></div></section><section class="trilium-tab">- <p class="trilium-tab-title"><span class="tn-icon bx bxl-apple"></span> macOS</p>+ <p class="trilium-tab-title"><span class="tn-icon bx bxl-apple"></span> macOS</p><div class="trilium-tab-panel"><p>On macOS the semaphore window buttons are enabled by default when thenative title bar is disabled. The offset of the buttons can be adjusteddiff --git a/docs/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables).md b/docs/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables).mdindex 826b7e4efd..8697abb106 100644--- a/docs/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables).md+++ b/docs/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables).md@@ -131,7 +131,7 @@ Both naming patterns are fully supported and can be used interchangeably:## Examples-=== "<span class="tn-icon bx bxl-docker"></span> Docker Compose"+=== "<span class="tn-icon bx bxl-docker"></span> Docker Compose"```yamlservices:@@ -151,7 +151,7 @@ Both naming patterns are fully supported and can be used interchangeably:# TRILIUM_OAUTH_BASE_URL: "https://auth.example.com"```-=== "<span class="tn-icon bx bxl-tux"></span> Linux Shell"+=== "<span class="tn-icon bx bxl-tux"></span> Linux Shell"```# Using either formatdiff --git a/docs/User Guide/User Guide/Advanced Usage/Nightly release.md b/docs/User Guide/User Guide/Advanced Usage/Nightly release.mdindex c04d9bafc3..fe901eafd1 100644--- a/docs/User Guide/User Guide/Advanced Usage/Nightly release.md+++ b/docs/User Guide/User Guide/Advanced Usage/Nightly release.md@@ -21,7 +21,7 @@ Depending on your use case, you can either test the portable version or even useThis is pretty useful if you are a beta tester that wants to periodically update their version:-=== "<span class="tn-icon bx bxl-tux"></span> Ubuntu (Bash)"+=== "<span class="tn-icon bx bxl-tux"></span> Ubuntu (Bash)"```sh#!/usr/bin/env bash@@ -33,7 +33,7 @@ This is pretty useful if you are a beta tester that wants to periodically updaterm $name```-=== "<span class="tn-icon bx bxl-windows"></span> Windows (PowerShell)"+=== "<span class="tn-icon bx bxl-windows"></span> Windows (PowerShell)"```powershellif ($env:PROCESSOR_ARCHITECTURE -eq "ARM64") {diff --git a/docs/User Guide/User Guide/Installation & Setup/Data directory.md b/docs/User Guide/User Guide/Installation & Setup/Data directory.mdindex 936ba62f45..4c38e56260 100644--- a/docs/User Guide/User Guide/Installation & Setup/Data directory.md+++ b/docs/User Guide/User Guide/Installation & Setup/Data directory.md@@ -29,7 +29,7 @@ If you want to back up your Trilium data, just backup this single directory - itIf you want to use some other location for the data directory than the default one, you may change it via `TRILIUM_DATA_DIR` environment variable to some other location:-=== "<span class="tn-icon bx bxl-windows"></span> Windows"+=== "<span class="tn-icon bx bxl-windows"></span> Windows"1. Press the <span class="tn-icon bx bxl-windows"></span> key on your keyboard.2. Search and select _Edit the system variables_.@@ -39,7 +39,7 @@ If you want to use some other location for the data directory than the default o6. Press the _Browse Directory…_ button and select the new directory where to store the database.7. Close all the windows by pressing the _OK_ button for each of them.-=== "<span class="tn-icon bx bxl-tux"></span> Linux"+=== "<span class="tn-icon bx bxl-tux"></span> Linux"Trilium reads `TRILIUM_DATA_DIR` when it starts, so the variable must be set in the environment that launches it.@@ -96,7 +96,7 @@ If you want to use some other location for the data directory than the default oThe user set in `User=` must be able to write to the folder. For Docker, see <a class="reference-link" href="Server%20Installation/1.%20Installing%20the%20server/Using%20Docker.md">Using Docker</a> instead.-=== "<span class="tn-icon bx bxl-apple"></span> macOS"+=== "<span class="tn-icon bx bxl-apple"></span> macOS"You need to create a `.plist` file under `~/Library/LaunchAgents` to load it properly each login.diff --git a/docs/User Guide/User Guide/Installation & Setup/Mobile Frontend.md b/docs/User Guide/User Guide/Installation & Setup/Mobile Frontend.mdindex dfe0a23a5b..be9a679ebe 100644--- a/docs/User Guide/User Guide/Installation & Setup/Mobile Frontend.md+++ b/docs/User Guide/User Guide/Installation & Setup/Mobile Frontend.md@@ -27,7 +27,7 @@ Here is a non-exhaustive list of differences between the desktop version and theThe mobile view can be set up as a PWA. While this does not offer any offline capabilities, it will display the application in full-screen and makes it easy to access via your mobile phone's home screen.-=== "<span class="tn-icon bx bxl-apple"></span> iOS with Safari"+=== "<span class="tn-icon bx bxl-apple"></span> iOS with Safari"1. Open your default web browser and access your Trilium instance.2. Login.@@ -35,7 +35,7 @@ The mobile view can be set up as a PWA. While this does not offer any offline ca4. Scroll down to reveal the full list of items and choose _Add to Home Screen_.5. Press _Add_ and the web app will be available.-=== "<span class="tn-icon bx bxl-chrome"></span> Android with Google Chrome"+=== "<span class="tn-icon bx bxl-chrome"></span> Android with Google Chrome"> [!IMPORTANT]> Google Chrome requires the server to be served over HTTPS in order to display in full-screen. If using HTTP, the app will appear like a normal web page (similar to a bookmark).diff --git a/docs/User Guide/User Guide/Installation & Setup/Web Clipper.md b/docs/User Guide/User Guide/Installation & Setup/Web Clipper.mdindex 11c42b9b0b..97cfdb371e 100644--- a/docs/User Guide/User Guide/Installation & Setup/Web Clipper.md+++ b/docs/User Guide/User Guide/Installation & Setup/Web Clipper.md@@ -62,7 +62,7 @@ Development versions are version pre-release versions, generally meant for testi* [GitHub Releases](https://github.com/TriliumNext/Trilium/releases) by looking for releases starting with _Web Clipper._* Artifacts in GitHub Actions, by looking for the [_Deploy web clipper extension_ workflow](https://github.com/TriliumNext/Trilium/actions/workflows/web-clipper.yml). Once a workflow run is selected, the ZIP files are available in the _Artifacts_ section, under the name `web-clipper-extension`.-=== "<span class="tn-icon bx bxl-chrome"></span> Chrome"+=== "<span class="tn-icon bx bxl-chrome"></span> Chrome"1. Download `trilium-web-clipper-[x.y.z]-chrome.zip`.2. Extract the archive.@@ -71,7 +71,7 @@ Development versions are version pre-release versions, generally meant for testi5. Press the _Load unpacked_ button near the header.6. Point to the extracted directory from step (2).-=== "<span class="tn-icon bx bxl-firefox"></span> Firefox"+=== "<span class="tn-icon bx bxl-firefox"></span> Firefox"> [!WARNING]> Firefox prevents installation of unsigned packages in the “retail” version. To be able to install extensions from disk, consider using _Firefox Developer Edition_ or a non-branded version of Firefox (e.g. _GNU IceCat_).diff --git a/docs/User Guide/User Guide/Scripting/Frontend Basics/Launch Bar Widgets/Note Title Widget.md b/docs/User Guide/User Guide/Scripting/Frontend Basics/Launch Bar Widgets/Note Title Widget.mdindex ab944a20da..be39d035ba 100644--- a/docs/User Guide/User Guide/Scripting/Frontend Basics/Launch Bar Widgets/Note Title Widget.md+++ b/docs/User Guide/User Guide/Scripting/Frontend Basics/Launch Bar Widgets/Note Title Widget.md@@ -5,7 +5,7 @@ This is an example of a note context-aware widget, which reacts to the currentlyIn this example, the title of the note is displayed. It works best on the [horizontal layout](../../../Basic%20Concepts%20and%20Features/UI%20Elements/Vertical%20and%20horizontal%20layout.md).-=== "<span class="tn-icon bx bxl-react"></span> Preact"+=== "<span class="tn-icon bx bxl-react"></span> Preact"```import { defineLauncherWidget, useActiveNoteContext } from "trilium:preact";@@ -25,7 +25,7 @@ In this example, the title of the note is displayed. It works best on the [horiz});```-=== "<span class="tn-icon bx bxl-javascript"></span> Legacy"+=== "<span class="tn-icon bx bxl-javascript"></span> Legacy"```javascriptconst TPL = `\diff --git a/docs/User Guide/User Guide/Theme development/Reference.md b/docs/User Guide/User Guide/Theme development/Reference.mdindex 04c300107d..b5989afdc7 100644--- a/docs/User Guide/User Guide/Theme development/Reference.md+++ b/docs/User Guide/User Guide/Theme development/Reference.md@@ -51,7 +51,7 @@ The two different layouts use different containers (but they are present in the## Detecting platform (Windows, macOS) or Electron-=== "<span class="tn-icon bx bxl-windows"></span> Windows"+=== "<span class="tn-icon bx bxl-windows"></span> Windows"```cssbody.platform-win32 {@@ -59,7 +59,7 @@ The two different layouts use different containers (but they are present in the}```-=== "<span class="tn-icon bx bxl-apple"></span> macOS"+=== "<span class="tn-icon bx bxl-apple"></span> macOS"```cssbody.platform-darwin {@@ -67,7 +67,7 @@ The two different layouts use different containers (but they are present in the}```-=== "<span class="tn-icon bx bx-windows"></span> Electron (desktop app)"+=== "<span class="tn-icon bx bx-windows"></span> Electron (desktop app)"To distinguish between a <a class="reference-link" href="../Installation%20%26%20Setup/Desktop%20Installation.md">Desktop Installation</a> and a <a class="reference-link" href="../Installation%20%26%20Setup/Server%20Installation.md">Server Installation</a>:@@ -77,7 +77,7 @@ The two different layouts use different containers (but they are present in the}```- Can be chained with detections for <a class="reference-link" href="Reference.md">Reference</a> or <a class="reference-link" href="Reference.md">Reference</a> (e.g. `body.electron.platform-win32`).+ Can be chained with Windows/macOS detections (e.g. `body.electron.platform-win32`).### Native title bar@@ -99,7 +99,7 @@ When running under Electron with native title bar off, a feature was introducedSee [Native title bar buttons by eliandoran · Pull Request #702 · TriliumNext/Notes](https://github.com/TriliumNext/Notes/pull/702) for the original implementation of this feature, including screenshots.-=== "<span class="tn-icon bx bxl-windows"></span> Windows"+=== "<span class="tn-icon bx bxl-windows"></span> Windows"The colors of the native window button area can be adjusted using a RGB hex color:@@ -120,7 +120,7 @@ See [Native title bar buttons by eliandoran · Pull Request #702 · TriliumNext/Note that the value is read when the window is initialized and then it is refreshed only when the user changes their light/dark mode preference.-=== "<span class="tn-icon bx bxl-apple"></span> macOS"+=== "<span class="tn-icon bx bxl-apple"></span> macOS"On macOS the semaphore window buttons are enabled by default when the native title bar is disabled. The offset of the buttons can be adjusted using: