Skip to content

Build your personal knowledge base with Trilium Notes

client/text editor/block references: create the initial implementation

Adorian Doran201d0462c6ad
diff --git a/apps/client/src/services/block_excerpts.spec.ts b/apps/client/src/services/block_excerpts.spec.ts
new file mode 100644
index 0000000000..1ff86bebb8
--- /dev/null
+++ b/apps/client/src/services/block_excerpts.spec.ts
@@ -0,0 +1,96 @@
+import { describe, expect, it, vi } from "vitest";
+
+import { buildNote } from "../test/easy-froca";
+import {
+ getBlockExcerpt, getCachedBlockReferenceLabel, loadBlockReferenceLabel
+} from "./block_excerpts.js";
+
+vi.mock("./i18n.js", () => ({ t: (key: string) => key }));
+
+const CONTENT = "<p data-trilium-block-id=\"a\">First block\n text</p>"
+ + "<ul><li><p data-trilium-block-id=\"b\">Second</p></li></ul>"
+ + "<figure class=\"image\" data-trilium-block-id=\"img\"><img src=\"x.png\"></figure>";
+const FIRST_LABEL = { text: "First block text", isBroken: false };
+
+describe("loadBlockReferenceLabel", () => {
+ it("labels blocks by their text, and a missing block as broken", async () => {
+ const note = buildNote({ title: "Source", content: CONTENT });
+
+ expect(await loadBlockReferenceLabel(note, "a")).toEqual(FIRST_LABEL);
+ expect(await loadBlockReferenceLabel(note, "a:b")).toEqual({
+ text: "First block text … Second",
+ isBroken: false
+ });
+ expect(await loadBlockReferenceLabel(note, "img")).toEqual({
+ text: "block_reference.untitled",
+ isBroken: false
+ });
+ expect(await loadBlockReferenceLabel(note, "a:gone")).toEqual({
+ text: "block_reference.broken",
+ isBroken: true
+ });
+ });
+
+ it("reads the content of a note once for each version of it", async () => {
+ const note = buildNote({ title: "Source", content: CONTENT });
+ const getBlob = vi.spyOn(note, "getBlob");
+
+ expect(getCachedBlockReferenceLabel(note, "a")).toBeNull();
+ await Promise.all([
+ loadBlockReferenceLabel(note, "a"),
+ loadBlockReferenceLabel(note, "b")
+ ]);
+ expect(getCachedBlockReferenceLabel(note, "a")).toEqual(FIRST_LABEL);
+ expect(getBlob).toHaveBeenCalledTimes(1);
+
+ note.blobId = "changed";
+ expect(getCachedBlockReferenceLabel(note, "a")).toBeNull();
+ await loadBlockReferenceLabel(note, "a");
+ expect(getBlob).toHaveBeenCalledTimes(2);
+ });
+
+ it("reads nothing of a note that is not text or whose content is protected", async () => {
+ const code = buildNote({ title: "Code", type: "code", content: CONTENT });
+ const locked = buildNote({ title: "Locked", content: CONTENT });
+ vi.spyOn(locked, "isContentAvailable").mockReturnValue(false);
+
+ expect(await loadBlockReferenceLabel(code, "a")).toBeNull();
+ expect(await loadBlockReferenceLabel(locked, "a")).toBeNull();
+ });
+
+ it("tries again after the content failed to load", async () => {
+ const note = buildNote({ title: "Source", content: CONTENT });
+ const getBlob = vi.spyOn(note, "getBlob").mockRejectedValueOnce(new Error("offline"));
+
+ expect(await loadBlockReferenceLabel(note, "a")).toBeNull();
+ expect(await loadBlockReferenceLabel(note, "a")).toEqual(FIRST_LABEL);
+ expect(getBlob).toHaveBeenCalledTimes(2);
+ });
+
+ it("keeps the content of the 20 notes read last", async () => {
+ const notes = Array.from({ length: 21 }, () =>
+ buildNote({ title: "Source", content: CONTENT }));
+ for (const note of notes) {
+ await loadBlockReferenceLabel(note, "a");
+ }
+
+ expect(getCachedBlockReferenceLabel(notes[0], "a")).toBeNull();
+ expect(getCachedBlockReferenceLabel(notes[20], "a")).not.toBeNull();
+ });
+});
+
+describe("getBlockExcerpt", () => {
+ it("shortens a long text, sharing the length between the two ends of a range", () => {
+ const long = document.createElement("p");
+ long.textContent = "word ".repeat(30);
+ const short = document.createElement("p");
+ short.textContent = "end";
+
+ const single = getBlockExcerpt(long, long);
+ const range = getBlockExcerpt(long, short);
+
+ expect(single).toHaveLength(60);
+ expect(single.endsWith("word…")).toBe(true);
+ expect(range).toBe(`${"word ".repeat(6).trimEnd()}… … end`);
+ });
+});
diff --git a/apps/client/src/services/block_excerpts.ts b/apps/client/src/services/block_excerpts.ts
new file mode 100644
index 0000000000..1f1a1b64d2
--- /dev/null
+++ b/apps/client/src/services/block_excerpts.ts
@@ -0,0 +1,106 @@
+import "./block_reference.css";
+
+import { resolveBlockReference } from "@triliumnext/commons";
+
+import type FNote from "../entities/fnote.js";
+import { t } from "./i18n.js";
+
+const MAX_CACHED_NOTES = 20;
+const EXCERPT_LENGTH = 60;
+
+/** What a reference link shows for the blocks it points at. */
+export interface BlockReferenceLabel {
+ text: string;
+ isBroken: boolean;
+}
+
+interface CachedContent {
+ blobId: string;
+ content: Document | null;
+ loaded: Promise<Document | null>;
+}
+
+const cache = new Map<string, CachedContent>();
+
+/**
+ * The label of a reference to `block`, a `block` link parameter, of `note`. `null` when the
+ * content of the note cannot be read.
+ */
+export async function loadBlockReferenceLabel(note: FNote, block: string) {
+ const content = await loadContent(note);
+ return content ? getLabel(content, block) : null;
+}
+
+/** The label of {@link loadBlockReferenceLabel}, if the content of `note` is loaded already. */
+export function getCachedBlockReferenceLabel(note: FNote, block: string) {
+ const cached = cache.get(note.noteId);
+ if (cached?.blobId !== note.blobId || !cached.content) {
+ return null;
+ }
+
+ return getLabel(cached.content, block);
+}
+
+/** A short text of the blocks from `start` to `end`. */
+export function getBlockExcerpt(start: Element, end: Element) {
+ const blocks = start === end ? [ start ] : [ start, end ];
+ const maxLength = EXCERPT_LENGTH / blocks.length;
+ const texts = blocks
+ .map((block) => truncate(getText(block), maxLength))
+ .filter((text) => text);
+
+ return texts.join(" … ") || t("block_reference.untitled");
+}
+
+function getLabel(content: Document, block: string): BlockReferenceLabel {
+ const { start, end } = resolveBlockReference<Element>(content.body, block);
+ if (!start || !end) {
+ return { text: t("block_reference.broken"), isBroken: true };
+ }
+
+ return { text: getBlockExcerpt(start, end), isBroken: false };
+}
+
+function loadContent(note: FNote) {
+ if (note.type !== "text" || !note.isContentAvailable()) {
+ return Promise.resolve(null);
+ }
+
+ const cached = cache.get(note.noteId);
+ if (cached?.blobId === note.blobId) {
+ return cached.loaded;
+ }
+
+ const entry: CachedContent = {
+ blobId: note.blobId,
+ content: null,
+ loaded: Promise.resolve(null)
+ };
+ entry.loaded = note.getBlob()
+ .then((blob) => {
+ entry.content = new DOMParser().parseFromString(blob?.content ?? "", "text/html");
+ return entry.content;
+ })
+ .catch(() => {
+ if (cache.get(note.noteId) === entry) {
+ cache.delete(note.noteId);
+ }
+ return null;
+ });
+
+ cache.delete(note.noteId);
+ cache.set(note.noteId, entry);
+ if (cache.size > MAX_CACHED_NOTES) {
+ cache.delete(cache.keys().next().value as string);
+ }
+
+ return entry.loaded;
+}
+
+function getText(element: Element) {
+ return (element.textContent ?? "").replace(/\s+/g, " ").trim();
+}
+
+function truncate(text: string, maxLength: number) {
+ return text.length > maxLength ? `${text.slice(0, maxLength - 1).trimEnd()}…` : text;
+}
diff --git a/apps/client/src/services/block_reference.css b/apps/client/src/services/block_reference.css
new file mode 100644
index 0000000000..bdd1c3b234
--- /dev/null
+++ b/apps/client/src/services/block_reference.css
@@ -0,0 +1,27 @@
+:where(:root) {
+ --block-reference-flash-color: rgb(255 200 0 / 40%);
+ --block-reference-broken-color: var(--muted-text-color);
+}
+
+.block-reference-flash {
+ /* The duration matches FLASH_DURATION_MS in block_reference.ts. */
+ animation: block-reference-flash 1.5s ease-out;
+}
+
+@keyframes block-reference-flash {
+ from,
+ 30% {
+ box-shadow:
+ 0 0 0 4px var(--block-reference-flash-color),
+ inset 0 0 0 100vmax var(--block-reference-flash-color);
+ }
+
+ to {
+ box-shadow: 0 0 0 4px transparent, inset 0 0 0 100vmax transparent;
+ }
+}
+
+.block-reference-broken {
+ color: var(--block-reference-broken-color);
+ font-style: italic;
+}
diff --git a/apps/client/src/services/block_reference.spec.ts b/apps/client/src/services/block_reference.spec.ts
new file mode 100644
index 0000000000..342b788c64
--- /dev/null
+++ b/apps/client/src/services/block_reference.spec.ts
@@ -0,0 +1,176 @@
+import type { CKTextEditor } from "@triliumnext/ckeditor5";
+import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
+
+import {
+ consumeBlockReference, copyBlockReference, getBlockRangeElements, openBlockHandleMenu
+} from "./block_reference.js";
+import type { ViewScope } from "./link.js";
+
+const { showError, showMenu, copyHtmlWithToast } = vi.hoisted(() => ({
+ showError: vi.fn(),
+ showMenu: vi.fn(),
+ copyHtmlWithToast: vi.fn()
+}));
+vi.mock("./i18n.js", () => ({
+ t: (key: string, options?: { count?: number }) => options ? `${key}:${options.count}` : key
+}));
+vi.mock("./toast.js", () => ({ default: { showError } }));
+vi.mock("../menus/context_menu.js", () => ({ default: { show: showMenu } }));
+vi.mock("./clipboard_ext.js", () => ({ copyHtmlWithToast }));
+
+const scrollIntoView = vi.fn();
+
+beforeEach(() => {
+ vi.clearAllMocks();
+ vi.useFakeTimers();
+ Element.prototype.scrollIntoView = scrollIntoView;
+});
+
+afterEach(() => {
+ vi.useRealTimers();
+});
+
+describe("consumeBlockReference", () => {
+ it("reveals a block, flashes it for a moment and consumes the reference", () => {
+ const container = buildContainer(
+ "<details><summary>s</summary><p data-trilium-block-id=\"a\">A</p></details>"
+ );
+ const block = container.querySelector("p");
+ const viewScope: ViewScope = { block: "a" };
+
+ consumeBlockReference(container, viewScope);
+
+ expect(container.querySelector("details")?.open).toBe(true);
+ expect(scrollIntoView).toHaveBeenCalledWith({ behavior: "smooth", block: "center" });
+ expect(scrollIntoView.mock.contexts[0]).toBe(block);
+ expect(block?.classList.contains("block-reference-flash")).toBe(true);
+ expect(viewScope.block).toBeUndefined();
+ expect(showError).not.toHaveBeenCalled();
+
+ vi.advanceTimersByTime(1500);
+ expect(block?.classList.contains("block-reference-flash")).toBe(false);
+ });
+
+ it("flashes the outermost elements of a range", () => {
+ const container = buildContainer(
+ "<p>before</p><p data-trilium-block-id=\"a\">A</p><blockquote><p>quote</p></blockquote>"
+ + "<ul><li><p data-trilium-block-id=\"b\">B</p><p>rest of item</p></li>"
+ + "<li>after</li></ul>"
+ );
+
+ consumeBlockReference(container, { block: "b:a" });
+
+ expect(getFlashed(container)).toEqual([ "A", "quote", "B" ]);
+ });
+
+ it("shows the block still found of a broken range, and says that it is broken", () => {
+ const container = buildContainer("<p data-trilium-block-id=\"b\">B</p>");
+
+ consumeBlockReference(container, { block: "gone:b" });
+
+ expect(getFlashed(container)).toEqual([ "B" ]);
+ expect(scrollIntoView).toHaveBeenCalledTimes(1);
+ expect(showError).toHaveBeenCalledWith("block_reference.not_found");
+ });
+
+ it("only says so when no block is found, or the reference is malformed", () => {
+ const container = buildContainer("<p data-trilium-block-id=\"a\">A</p>");
+
+ consumeBlockReference(container, { block: "gone" });
+ consumeBlockReference(container, { block: "a:b:c" });
+
+ expect(scrollIntoView).not.toHaveBeenCalled();
+ expect(showError).toHaveBeenCalledTimes(2);
+ });
+
+ it("waits for the content, and does nothing without a reference", () => {
+ const viewScope: ViewScope = { block: "a" };
+
+ consumeBlockReference(null, viewScope);
+ consumeBlockReference(buildContainer(""), {});
+ consumeBlockReference(buildContainer(""), undefined);
+
+ expect(viewScope.block).toBe("a");
+ expect(showError).not.toHaveBeenCalled();
+ });
+});
+
+describe("getBlockRangeElements", () => {
+ it("returns a single block, or the blocks between two in a list", () => {
+ const container = buildContainer(
+ "<ol><li data-trilium-block-id=\"a\">A</li><li>B</li>"
+ + "<li data-trilium-block-id=\"c\">C</li><li>D</li></ol>"
+ );
+ const [ first, , third ] = container.querySelectorAll("li");
+
+ expect(getBlockRangeElements(first, first)).toEqual([ first ]);
+ expect(getBlockRangeElements(first, third).map((element) => element.textContent))
+ .toEqual([ "A", "B", "C" ]);
+ });
+});
+
+describe("copyBlockReference", () => {
+ it("copies a link to the selected blocks, named by their text, and flashes them", async () => {
+ const root = buildContainer(
+ "<p>one</p><p data-trilium-block-id=\"s1\">Start</p>"
+ + "<p data-trilium-block-id=\"e1\">End</p>"
+ );
+ const editor = buildEditor(root, { startId: "s1", endId: "e1", count: 2 });
+
+ await copyBlockReference(editor, "root/p1/n1", "Note");
+
+ const href = "#root/p1/n1?block=s1:e1";
+ expect(editor.execute).toHaveBeenCalledWith("assignBlockReference");
+ expect(copyHtmlWithToast).toHaveBeenCalledWith(
+ `<a class="reference-link" href="${href}">Note - Start … End</a>`,
+ href
+ );
+ expect(getFlashed(root)).toEqual([ "Start", "End" ]);
+ });
+
+ it("copies nothing when no block is referenced", async () => {
+ const root = buildContainer("<p>one</p>");
+
+ await copyBlockReference(buildEditor(root, undefined), "root/n1", "Note");
+ const missingTarget = { startId: "x", endId: "x", count: 1 };
+ await copyBlockReference(buildEditor(root, missingTarget), "root/n1", "Note");
+
+ expect(copyHtmlWithToast).not.toHaveBeenCalled();
+ });
+});
+
+describe("openBlockHandleMenu", () => {
+ it("offers to copy a reference to the selected blocks", () => {
+ const event = new MouseEvent("contextmenu", { clientX: 10, clientY: 20 });
+ const copyReference = vi.fn();
+
+ openBlockHandleMenu(event, 3, copyReference);
+
+ expect(showMenu).toHaveBeenCalledWith(expect.objectContaining({
+ x: event.pageX,
+ y: event.pageY,
+ items: [ expect.objectContaining({
+ title: "block_reference.copy:3",
+ handler: copyReference
+ }) ]
+ }));
+ });
+});
+
+function buildContainer(html: string) {
+ const container = document.createElement("div");
+ container.innerHTML = html;
+ return container;
+}
+
+function getFlashed(container: HTMLElement) {
+ return [ ...container.querySelectorAll(".block-reference-flash") ]
+ .map((element) => element.textContent);
+}
+
+function buildEditor(root: HTMLElement, target: unknown) {
+ return {
+ execute: vi.fn(() => target),
+ editing: { view: { getDomRoot: () => root } }
+ } as unknown as CKTextEditor;
+}
diff --git a/apps/client/src/services/block_reference.ts b/apps/client/src/services/block_reference.ts
new file mode 100644
index 0000000000..8b405c5dfe
--- /dev/null
+++ b/apps/client/src/services/block_reference.ts
@@ -0,0 +1,120 @@
+import type { CKTextEditor } from "@triliumnext/ckeditor5";
+import { formatBlockRange, resolveBlockRange, resolveBlockReference } from "@triliumnext/commons";
+
+import contextMenu from "../menus/context_menu.js";
+import { getBlockExcerpt } from "./block_excerpts.js";
+import { copyHtmlWithToast } from "./clipboard_ext.js";
+import { expandAncestorDetails } from "./collapsible.js";
+import { t } from "./i18n.js";
+import { calculateHash, type ViewScope } from "./link.js";
+import toast from "./toast.js";
+
+const FLASH_CLASS = "block-reference-flash";
+/** The duration of the `block-reference-flash` animation in `block_reference.css`. */
+const FLASH_DURATION_MS = 1500;
+
+/** Opens the menu of the block handle at `event`, which copies a reference to `count` blocks. */
+export function openBlockHandleMenu(event: MouseEvent, count: number, copyReference: () => void) {
+ void contextMenu.show({
+ x: event.pageX,
+ y: event.pageY,
+ items: [ {
+ title: t("block_reference.copy", { count }),
+ uiIcon: "bx bx-link",
+ handler: copyReference
+ } ],
+ selectMenuItemHandler: () => {}
+ });
+}
+
+/**
+ * Gives ids to the selected blocks of `editor`, flashes the blocks and copies a reference link to
+ * them. `notePath` and `noteTitle` are of the note the editor shows.
+ */
+export async function copyBlockReference(
+ editor: CKTextEditor,
+ notePath: string,
+ noteTitle: string
+) {
+ const target = editor.execute("assignBlockReference");
+ const root = editor.editing.view.getDomRoot();
+ const { start, end } = target && root
+ ? resolveBlockRange<HTMLElement>(root, target)
+ : { start: null, end: null };
+ if (!target || !start || !end) {
+ return;
+ }
+
+ flashBlocks(getBlockRangeElements(start, end));
+ const href = calculateHash({ notePath, viewScope: { block: formatBlockRange(target) } });
+ const $link = $("<a>")
+ .addClass("reference-link")
+ .attr("href", href)
+ .text(`${noteTitle} - ${getBlockExcerpt(start, end)}`);
+ await copyHtmlWithToast($link[0].outerHTML, href);
+}
+
+/**
+ * Reads and clears `viewScope.block`, then scrolls to the blocks it points at in `container` and
+ * flashes them. When a block is missing, the blocks found are shown, with an error toast.
+ */
+export function consumeBlockReference(
+ container: HTMLElement | null | undefined,
+ viewScope: ViewScope | null | undefined
+) {
+ if (!viewScope?.block || !container) {
+ return;
+ }
+
+ const { start, end } = resolveBlockReference<HTMLElement>(container, viewScope.block);
+ viewScope.block = undefined;
+
+ const first = start ?? end;
+ if (first) {
+ expandAncestorDetails(first);
+ first.scrollIntoView({ behavior: "smooth", block: "center" });
+ flashBlocks(start && end ? getBlockRangeElements(start, end) : [ first ]);
+ }
+ if (!start || !end) {
+ toast.showError(t("block_reference.not_found"));
+ }
+}
+
+/** The outermost elements inside the range from `start` to `end`, both included. */
+export function getBlockRangeElements(start: Element, end: Element) {
+ const range = start.ownerDocument.createRange();
+ range.setStartBefore(start);
+ range.setEndAfter(end);
+ return getElementsInRange(range, range.commonAncestorContainer);
+}
+
+function getElementsInRange(range: Range, parent: Node): Element[] {
+ const elements: Element[] = [];
+ for (const child of Array.from(parent.childNodes)) {
+ if (!(child instanceof Element) || !range.intersectsNode(child)) {
+ continue;
+ }
+
+ if (isInRange(range, child)) {
+ elements.push(child);
+ } else {
+ elements.push(...getElementsInRange(range, child));
+ }
+ }
+
+ return elements;
+}
+
+function isInRange(range: Range, node: Node) {
+ const nodeRange = range.cloneRange();
+ nodeRange.selectNode(node);
+ return range.compareBoundaryPoints(Range.START_TO_START, nodeRange) <= 0
+ && range.compareBoundaryPoints(Range.END_TO_END, nodeRange) >= 0;
+}
+
+function flashBlocks(elements: Element[]) {
+ for (const element of elements) {
+ element.classList.add(FLASH_CLASS);
+ setTimeout(() => element.classList.remove(FLASH_CLASS), FLASH_DURATION_MS);
+ }
+}
diff --git a/apps/client/src/services/content_renderer.spec.ts b/apps/client/src/services/content_renderer.spec.ts
index 407daa610f..568bb4c98d 100644
--- a/apps/client/src/services/content_renderer.spec.ts
+++ b/apps/client/src/services/content_renderer.spec.ts
@@ -488,6 +488,19 @@ describe("getRenderedContent editable code", () => {
expect(rendered(again)).toBe("<p>Edited</p>");
});
+ it("renders the blocks of a text note without an editor", async () => {
+ const note = buildNote({ title: "Doc", type: "text", content: "<p>Hi</p>" });
+
+ const { $renderedContent } = await getRenderedContent(note, {
+ interactive: true,
+ noteEditor: buildEditor(),
+ block: "b1"
+ });
+
+ expect($renderedContent.find(".from-render-text").length).toBe(1);
+ expect(textEmbedComponent).not.toHaveBeenCalled();
+ });
+
it("edits only code and text notes", async () => {
const json = buildNote({
title: "Data", type: "file", mime: "application/json", content: "{}"
diff --git a/apps/client/src/services/content_renderer.ts b/apps/client/src/services/content_renderer.ts
index 84915fa625..fced14293d 100644
--- a/apps/client/src/services/content_renderer.ts
+++ b/apps/client/src/services/content_renderer.ts
@@ -62,6 +62,11 @@ export interface RenderOptions {
includeArchivedNotes?: boolean;
/** Set of note IDs that have already been seen during rendering to prevent infinite recursion. */
seenNoteIds?: Set<string>;
+ /**
+ * The blocks of a text note to render, a `block` link parameter. The rest of the note is left
+ * out, and a missing block renders as a broken reference.
+ */
+ block?: string;
showTextRepresentation?: boolean;
/**
* If enabled, note types that have a richer live representation (currently only web views) are
@@ -171,7 +176,7 @@ export async function getRenderedContent(this: {} | { ctx: string }, entity: FNo
// view type is excluded: it's the only view that re-propagates `interactive` to its tiles, so
// skipping it here is what keeps an embedded collection from recursing into itself.
await renderCollection(entity, $renderedContent);
- } else if (type === "text" && options.interactive && options.noteEditor
+ } else if (type === "text" && options.interactive && options.noteEditor && !options.block
&& entity instanceof FNote) {
await renderEditableText(entity, $renderedContent, options);
} else if (type === "text" || type === "book") {
diff --git a/apps/client/src/services/content_renderer_text.spec.ts b/apps/client/src/services/content_renderer_text.spec.ts
index 6f5553d532..f728006b14 100644
--- a/apps/client/src/services/content_renderer_text.spec.ts
+++ b/apps/client/src/services/content_renderer_text.spec.ts
@@ -758,3 +758,68 @@ describe("applyInlineMermaid", () => {
error.mockRestore();
});
});
+
+describe("Block embeds", () => {
+ const blockEmbed = (noteId: string, block: string, boxSize = "medium", blockId?: string) =>
+ `<figure class="include-note"${blockId ? ` data-trilium-block-id="${blockId}"` : ""}`
+ + ` data-note-id="${noteId}" data-block="${block}" data-box-size="${boxSize}"></figure>`;
+
+ it("renders only the referenced blocks, or a broken reference for a missing one", async () => {
+ buildNote({
+ id: "blkSource",
+ title: "Source",
+ content: "<p>Intro</p><blockquote><p>Skipped</p>"
+ + "<p data-trilium-block-id=\"b1\">Quoted</p></blockquote>"
+ + "<p data-trilium-block-id=\"b2\">Last</p><p>Outro</p>"
+ });
+ const host = buildNote({
+ title: "Host",
+ content: blockEmbed("blkSource", "b1:b2") + blockEmbed("blkSource", "b1:gone")
+ });
+ const contentEl = document.createElement("div");
+
+ await renderText(host, $(contentEl));
+
+ const [ embed, brokenEmbed ] = contentEl.querySelectorAll(".ck-content > .include-note");
+ expect(embed.querySelector("blockquote")?.textContent).toBe("Quoted");
+ expect(embed.textContent).toContain("Last");
+ expect(embed.textContent).not.toMatch(/Intro|Skipped|Outro/);
+ expect(brokenEmbed.querySelector(".block-reference-broken")?.textContent)
+ .toBe("block_reference.broken");
+ });
+
+ it("renders a broken reference for the blocks of an empty note", async () => {
+ const note = buildNote({ title: "Empty", content: "" });
+ const contentEl = document.createElement("div");
+
+ await renderTextContent(note, "", $(contentEl), { block: "b1" });
+
+ expect(contentEl.querySelector(".block-reference-broken")).not.toBeNull();
+ });
+
+ it("embeds blocks of the note itself, and stops at a block that embeds itself", async () => {
+ const note = buildNote({
+ id: "blkSelf",
+ title: "Self",
+ content: "<p data-trilium-block-id=\"top\">Top</p>"
+ + blockEmbed("blkSelf", "top")
+ + blockEmbed("blkSelf", "loop", "medium", "loop")
+ });
+ const contentEl = document.createElement("div");
+
+ await renderText(note, $(contentEl), { expandNestedEmbeds: true });
+
+ expect(contentEl.textContent?.match(/Top/g)).toHaveLength(2);
+ expect(contentEl.querySelectorAll(".include-note[data-block='loop']")).toHaveLength(1);
+ });
+
+ it("links to the blocks of an embed one level down", async () => {
+ const note = buildNote({ title: "Host", content: blockEmbed("blkSource", "b1:b 2") });
+ const contentEl = document.createElement("div");
+
+ await renderText(note, $(contentEl), { embedsAsReferenceLinks: true });
+
+ expect(contentEl.querySelector("a.reference-link")?.getAttribute("href"))
+ .toBe("#root/blkSource?block=b1:b%202");
+ });
+});
diff --git a/apps/client/src/services/content_renderer_text.ts b/apps/client/src/services/content_renderer_text.ts
index c04f84aa26..72b3f2580a 100644
--- a/apps/client/src/services/content_renderer_text.ts
+++ b/apps/client/src/services/content_renderer_text.ts
@@ -1,4 +1,4 @@
-import { KATEX_MACROS } from "@triliumnext/commons";
+import { encodeBlockParameter, KATEX_MACROS, sliceToBlockReference } from "@triliumnext/commons";
import FAttachment from "../entities/fattachment.js";
import FNote from "../entities/fnote.js";
@@ -21,7 +21,8 @@ export default async function renderText(note: FNote | FAttachment, $renderedCon
/**
* Renders `content`, the HTML of `note`, which can differ from the saved content, as while the
- * note is edited. An empty note shows the list of its children instead.
+ * note is edited. An empty note shows the list of its children instead. With `options.block`,
+ * only those blocks render.
*/
export async function renderTextContent(
note: FNote | FAttachment,
@@ -29,8 +30,16 @@ export async function renderTextContent(
$renderedContent: JQuery<HTMLElement>,
options: RenderOptions = {}
) {
- if (content !== undefined && !isHtmlEmpty(content)) {
- $renderedContent.append($('<div class="ck-content">').html(sanitizeNoteContentHtml(content)));
+ const hasContent = content !== undefined && !isHtmlEmpty(content);
+ const $content = $('<div class="ck-content">')
+ .html(hasContent ? sanitizeNoteContentHtml(content) : "");
+
+ if (options.block !== undefined && !sliceToBlockReference($content[0], options.block)) {
+ $renderedContent.append($("<p>")
+ .addClass("block-reference-broken")
+ .text(t("block_reference.broken")));
+ } else if (hasContent) {
+ $renderedContent.append($content);
await postProcessRichContent(note, $renderedContent, options);
} else if (note instanceof FNote && !options.noChildrenList) {
await renderChildrenList($renderedContent, note, options.includeArchivedNotes ?? false);
@@ -46,7 +55,7 @@ export async function renderTextContent(
*/
export async function postProcessRichContent(note: FNote | FAttachment, $renderedContent: JQuery<HTMLElement>, options: RenderOptions = {}) {
const seenNoteIds = options.seenNoteIds ?? new Set<string>();
- seenNoteIds.add("noteId" in note ? note.noteId : note.attachmentId);
+ seenNoteIds.add(getEmbedKey("noteId" in note ? note.noteId : note.attachmentId, options.block));
if (options.noContentEmbeds) {
$renderedContent.find(".include-note").remove();
} else if (options.embedsAsReferenceLinks) {
@@ -120,6 +129,7 @@ async function renderContentEmbeds(contentEl: HTMLElement, seenNoteIds: Set<stri
const noteId = embedEl.getAttribute("data-note-id");
if (!noteId) continue;
+ const block = embedEl.getAttribute("data-block") ?? undefined;
const note = froca.getNoteFromCache(noteId);
if (!note) {
@@ -127,7 +137,7 @@ async function renderContentEmbeds(contentEl: HTMLElement, seenNoteIds: Set<stri
continue;
}
- if (seenNoteIds.has(noteId)) {
+ if (seenNoteIds.has(getEmbedKey(noteId, block))) {
console.warn(`Skipping embedding of ${noteId} to avoid circular reference.`);
embedEl.remove();
continue;
@@ -138,13 +148,18 @@ async function renderContentEmbeds(contentEl: HTMLElement, seenNoteIds: Set<stri
// Clone seenNoteIds per descent so it tracks the current ancestor path only — sibling
// branches must not pollute each other (a note embedded in two sub-trees is not a cycle).
const renderedContent = (await content_renderer.getRenderedContent(note, expandNested
- ? { seenNoteIds: new Set(seenNoteIds), expandNestedEmbeds: true }
- : { seenNoteIds: new Set(seenNoteIds), embedsAsReferenceLinks: true }
+ ? { seenNoteIds: new Set(seenNoteIds), expandNestedEmbeds: true, block }
+ : { seenNoteIds: new Set(seenNoteIds), embedsAsReferenceLinks: true, block }
)).$renderedContent;
replaceEmbedContent(embedEl, renderedContent.toArray());
}
}
+/** The key of an embed in `seenNoteIds`. A note can embed blocks of itself. */
+function getEmbedKey(noteId: string, block: string | undefined) {
+ return block ? `${noteId}:${block}` : noteId;
+}
+
/** Puts `content` in an embed, followed by the embed's caption. */
function replaceEmbedContent(embedEl: Element, content: Node[]) {
const caption = getEmbedCaption(embedEl);
@@ -191,9 +206,12 @@ async function replaceEmbedWithReferenceLink(embedEl: Element) {
// comes from note HTML, and the reference-link pass later reinterprets that href.
if (!noteId || !/^[a-zA-Z0-9_]+$/.test(noteId)) return;
+ const block = embedEl.getAttribute("data-block");
const referenceLink = document.createElement("a");
referenceLink.className = "reference-link";
- referenceLink.setAttribute("href", `#root/${noteId}`);
+ referenceLink.setAttribute("href", block
+ ? `#root/${noteId}?block=${encodeBlockParameter(block)}`
+ : `#root/${noteId}`);
embedEl.replaceWith(referenceLink);
}
diff --git a/apps/client/src/services/link.spec.ts b/apps/client/src/services/link.spec.ts
index f3ec9447d5..c5c46033a1 100644
--- a/apps/client/src/services/link.spec.ts
+++ b/apps/client/src/services/link.spec.ts
@@ -1169,3 +1169,45 @@ describe("module-level click handlers", () => {
$a.remove();
});
});
+
+describe("block references", () => {
+ const content = "<p data-trilium-block-id=\"b1\">First block</p>"
+ + "<p data-trilium-block-id=\"b2\">Second</p>";
+
+ it("parses and writes the block parameter, keeping the colon of a range", () => {
+ expect(parseNavigationStateFromUrl("#root/a1b2/c3d4?block=b1:b%202").viewScope)
+ .toMatchObject({ block: "b1:b 2" });
+ expect(calculateHash({ notePath: "root/c3d4", viewScope: { block: "b1:b 2" } }))
+ .toBe("#root/c3d4?block=b1:b%202");
+ });
+
+ it("labels a reference by the text of its blocks, or as broken", async () => {
+ const note = buildNote({ title: "Source", content });
+ const $el = $("<span>");
+ const $broken = $("<span>");
+
+ const href = `#root/${note.noteId}?block=b1:b2`;
+ const brokenHref = `#root/${note.noteId}?block=gone`;
+
+ expect(linkService.getReferenceLinkTitleSync(href)).toBe("Source");
+ await linkService.loadReferenceLinkTitle($el, href);
+ await linkService.loadReferenceLinkTitle($broken, brokenHref);
+
+ expect($el.find("small span.bx.bx-paragraph")).toHaveLength(1);
+ expect($el.find("small").text()).toBe("First block … Second");
+ expect($el.find("small").hasClass("block-reference-broken")).toBe(false);
+ expect($broken.find("small").text()).toBe("block_reference.broken");
+ expect($broken.find("small").hasClass("block-reference-broken")).toBe(true);
+ expect(linkService.getReferenceLinkTitleSync(href)).toBe("Source - First block … Second");
+ expect(linkService.getReferenceLinkTitleSync(brokenHref)).toBe("Source");
+ });
+
+ it("adds no label to a reference to the blocks of a note that cannot be read", async () => {
+ const note = buildNote({ title: "Code", type: "code", content });
+ const $el = $("<span>");
+
+ await linkService.loadReferenceLinkTitle($el, `#root/${note.noteId}?block=b1`);
+
+ expect($el.find("small")).toHaveLength(0);
+ });
+});
diff --git a/apps/client/src/services/link.ts b/apps/client/src/services/link.ts
index 2f1546deb3..9cada5a644 100644
--- a/apps/client/src/services/link.ts
+++ b/apps/client/src/services/link.ts
@@ -1,8 +1,9 @@
-import { ALLOWED_PROTOCOLS } from "@triliumnext/commons";
+import { ALLOWED_PROTOCOLS, encodeBlockParameter } from "@triliumnext/commons";
import appContext, { type NoteCommandData } from "../components/app_context.js";
import { openInCurrentNoteContext } from "../components/note_context.js";
import linkContextMenuService from "../menus/link_context_menu.js";
+import { getCachedBlockReferenceLabel, loadBlockReferenceLabel } from "./block_excerpts.js";
import cssClassManager from "./css_class_manager.js";
import froca from "./froca.js";
import { t } from "./i18n.js";
@@ -74,6 +75,11 @@ export interface ViewScope {
tocCollapsedHeadings?: Set<string>;
/** When set, scrolls to a bookmark anchor within the note after navigation. */
bookmark?: string;
+ /**
+ * The blocks of a text note a reference points at, `id` or `startId:endId`, which the note
+ * scrolls to and flashes once it renders. Consumed once, as `bookmark` is.
+ */
+ block?: string;
/**
* Search terms to highlight and jump to after navigating from search results; consumed once
* by the destination type widget (mirrors `bookmark` semantics).
@@ -130,8 +136,8 @@ const NOTE_PATH_PATTERN = /^[_a-z0-9]{4,}(\/[_a-z0-9]{4,})*$/i;
const MAX_SPLIT_PANES_IN_HASH = 8;
/** Hash parameters that belong to a pane's view scope rather than to the window as a whole. */
-const VIEW_SCOPE_PARAMS = ["viewMode", "attachmentId", "bookmark", "column", "columnTitle",
- "columnIcon", "columnColor", "card", "page", "annotation"];
+const VIEW_SCOPE_PARAMS = ["viewMode", "attachmentId", "bookmark", "block", "column",
+ "columnTitle", "columnIcon", "columnColor", "card", "page", "annotation"];
interface CreateLinkOptions {
title?: string;
@@ -268,6 +274,7 @@ export function calculateHash(
hoistedNoteId && hoistedNoteId !== "root" ? { hoistedNoteId } : null,
viewScope.viewMode && viewScope.viewMode !== "default" ? { viewMode: viewScope.viewMode } : null,
viewScope.attachmentId ? { attachmentId: viewScope.attachmentId } : null,
+ viewScope.block ? { block: viewScope.block } : null,
viewScope.column ? { column: viewScope.column } : null,
viewScope.columnTitle ? { columnTitle: viewScope.columnTitle } : null,
viewScope.columnIcon ? { columnIcon: viewScope.columnIcon } : null,
@@ -289,7 +296,10 @@ export function calculateHash(
/* v8 ignore next -- `value` is never undefined: every retained pair holds a string. It
can be empty, but only for a `splits` list whose panes are all empty. */
- return `${encodeURIComponent(name)}=${encodeURIComponent(value || "")}`;
+ const encodedValue = name === "block"
+ ? encodeBlockParameter(value || "")
+ : encodeURIComponent(value || "");
+ return `${encodeURIComponent(name)}=${encodedValue}`;
})
.join("&");
@@ -700,6 +710,18 @@ async function loadReferenceLinkTitle($el: JQuery<HTMLElement>, href: string | n
));
}
+ if (viewScope?.block && note) {
+ const label = await loadBlockReferenceLabel(note, viewScope.block);
+ if (label) {
+ $el.append($("<small>")
+ .toggleClass("block-reference-broken", label.isBroken)
+ .append(
+ $("<span>").addClass("bx bx-paragraph"),
+ document.createTextNode(label.text)
+ ));
+ }
+ }
+
if (viewScope?.page) {
$el.append($("<small>").append(
$("<span>").addClass(viewScope.annotation ? "bx bx-comment-detail" : "bx bx-file"),
@@ -776,6 +798,13 @@ function getReferenceLinkTitleSync(href: string) {
return `${note.title} - ${viewScope.bookmark}`;
}
+ const blockLabel = viewScope?.block
+ ? getCachedBlockReferenceLabel(note, viewScope.block)
+ : null;
+ if (blockLabel && !blockLabel.isBroken) {
+ return `${note.title} - ${blockLabel.text}`;
+ }
+
if (viewScope?.page) {
return `${note.title} - ${getPdfReferenceLabel(viewScope.page, viewScope.annotation)}`;
}
diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json
index 6919796e54..f7bd220663 100644
--- a/apps/client/src/translations/en/translation.json
+++ b/apps/client/src/translations/en/translation.json
@@ -4594,5 +4594,12 @@
"filter": "Filter",
"filter_placeholder": "Type to filter…",
"back": "Back"
+ },
+ "block_reference": {
+ "copy_one": "Copy reference to this block",
+ "copy_other": "Copy reference to these {{count}} blocks",
+ "broken": "Broken reference",
+ "not_found": "A referenced block could not be found. It might have been deleted.",
+ "untitled": "Block"
}
}
diff --git a/apps/client/src/widgets/EmbeddedNotePane.tsx b/apps/client/src/widgets/EmbeddedNotePane.tsx
index 03ccbba14c..cef4e7db23 100644
--- a/apps/client/src/widgets/EmbeddedNotePane.tsx
+++ b/apps/client/src/widgets/EmbeddedNotePane.tsx
@@ -160,7 +160,7 @@ export function SelectTitleOnFirstOpen() {
* calendar turns to its date) — instead of navigating the whole tab away from the view. Every
* other link keeps meaning what it means anywhere else, as does every way of asking for more than
* a plain navigation: a modified click wanting a new tab or window, a link saying how it wants to
- * be opened — in a popup, at an attachment, at a bookmark, in a named tab.
+ * be opened — in a popup, at an attachment, at a bookmark or a block, in a named tab.
*
* `onFollowLink` is offered the link's note and answers whether the host took the navigation
* over; only then is the link stopped. Captured on the pane's own element, so it goes ahead of
@@ -184,7 +184,8 @@ export function useFollowLinksWithin(paneRef: RefObject<HTMLElement | null>, onF
// this note" is the pane's to take, and only for a note the host can go to.
const { noteId, ntxId, viewScope, openInPopup } = link.parseNavigationStateFromUrl(href);
if (!noteId || ntxId || openInPopup || viewScope?.viewMode !== "default"
- || viewScope.attachmentId || viewScope.bookmark || !onFollowLink(noteId)) return;
+ || viewScope.attachmentId || viewScope.bookmark || viewScope.block
+ || !onFollowLink(noteId)) return;
e.preventDefault();
e.stopPropagation();
diff --git a/apps/client/src/widgets/react/hooks.tsx b/apps/client/src/widgets/react/hooks.tsx
index e9e5c09387..b6d7efbf6c 100644
--- a/apps/client/src/widgets/react/hooks.tsx
+++ b/apps/client/src/widgets/react/hooks.tsx
@@ -926,6 +926,22 @@ export function useSearchTermsConsumer(note: FNote | null | undefined, noteConte
});
}
+/**
+ * Calls `callback` when the note context `ntxId` switches to `note`, the note the widget shows
+ * already, as when a link to a part of the open note is followed.
+ */
+export function useSameNoteSwitch(
+ note: FNote | null | undefined,
+ ntxId: string | null | undefined,
+ callback: () => void
+) {
+ useTriliumEvent("noteSwitched", ({ noteContext }) => {
+ if (noteContext.ntxId === ntxId && noteContext.note?.noteId === note?.noteId) {
+ callback();
+ }
+ });
+}
+
export function useLegacyWidget<T extends BasicWidget>(widgetFactory: () => T, { noteContext, containerClassName, containerStyle }: {
noteContext?: NoteContext;
containerClassName?: string;
diff --git a/apps/client/src/widgets/type_widgets/text/EditableText.tsx b/apps/client/src/widgets/type_widgets/text/EditableText.tsx
index 0f04ec813e..38cb6bcbdd 100644
--- a/apps/client/src/widgets/type_widgets/text/EditableText.tsx
+++ b/apps/client/src/widgets/type_widgets/text/EditableText.tsx
@@ -14,6 +14,9 @@ import { createPortal } from "preact";
import { useCallback, useEffect, useRef, useState } from "preact/hooks";
import appContext from "../../../components/app_context";
+import {
+ consumeBlockReference, copyBlockReference, openBlockHandleMenu
+} from "../../../services/block_reference";
import { consumeBookmark } from "../../../services/bookmark_jump";
import { getUploadBoxSize } from "../../../services/content_renderer";
import dialog from "../../../services/dialog";
@@ -26,7 +29,10 @@ import { consumeSearchTerms } from "../../../services/search_jump";
import toast from "../../../services/toast";
import utils, { isMobile } from "../../../services/utils";
import type { IconPickerOpts } from "../../dialogs/icon_picker";
-import { useEditorSpacedUpdate, useLegacyImperativeHandlers, useNoteLabel, useSearchTermsConsumer, useTriliumEvent, useTriliumOption, useTriliumOptionBool } from "../../react/hooks";
+import {
+ useEditorSpacedUpdate, useLegacyImperativeHandlers, useNoteLabel, useSameNoteSwitch,
+ useSearchTermsConsumer, useTriliumEvent, useTriliumOption, useTriliumOptionBool
+} from "../../react/hooks";
import IconPicker from "../../react/IconPicker";
import { setEditorNoteId } from "../../react/NoteStore";
import { TypeWidgetProps } from "../type_widget";
@@ -119,12 +125,10 @@ export default function EditableText({ note, parentComponent, ntxId, noteContext
// Jump to the first search match when navigated from search results.
consumeSearchTerms(noteContext, ntxId, initialized.current);
- // Scroll to bookmark anchor if navigated with ?bookmark=...
+ // Scroll to the bookmark or the blocks a link points at.
const viewScope = noteContext?.viewScope;
- if (viewScope?.bookmark) {
- requestAnimationFrame(() => {
- consumeBookmark(watchdogRef.current?.editor?.editing.view.getDomRoot(), viewScope);
- });
+ if (viewScope?.bookmark || viewScope?.block) {
+ requestAnimationFrame(revealLinkTarget);
}
},
dataSaved(savedData) {
@@ -137,6 +141,17 @@ export default function EditableText({ note, parentComponent, ntxId, noteContext
const templates = useTemplates();
useSearchTermsConsumer(note, noteContext, ntxId);
+ useSameNoteSwitch(note, ntxId, () => {
+ if (contentNoteIdRef.current === note?.noteId) {
+ revealLinkTarget();
+ }
+ });
+
+ function revealLinkTarget() {
+ const root = watchdogRef.current?.editor?.editing.view.getDomRoot();
+ consumeBookmark(root, noteContext?.viewScope);
+ consumeBlockReference(root, noteContext?.viewScope);
+ }
useTriliumEvent("scrollToEnd", () => {
const editor = watchdogRef.current?.editor;
@@ -205,8 +220,13 @@ export default function EditableText({ note, parentComponent, ntxId, noteContext
editorApi: editorApiRef.current,
});
},
- loadEmbeddedNote(noteId: string, $el: JQuery<HTMLElement>, boxSize?: string) {
- return loadEmbeddedNote(noteId, $el, boxSize, { noteEditor: embedNoteEditor });
+ loadEmbeddedNote(
+ noteId: string,
+ $el: JQuery<HTMLElement>,
+ boxSize?: string,
+ block?: string
+ ) {
+ return loadEmbeddedNote(noteId, $el, boxSize, { noteEditor: embedNoteEditor, block });
},
loadEmbeddedAttachment(attachmentId: string, $el: JQuery<HTMLElement>, boxSize?: string) {
const isFocused = focusedAttachmentIdRef.current === attachmentId;
@@ -227,6 +247,17 @@ export default function EditableText({ note, parentComponent, ntxId, noteContext
},
getEmbedBoxSize: getUploadBoxSize,
openContentEmbedMenu,
+ openBlockHandleMenu(event: MouseEvent, count: number) {
+ const editor = watchdogRef.current?.editor as CKTextEditor | undefined;
+ if (!editor) return;
+
+ const notePath = noteContext?.notePath ?? `root/${note.noteId}`;
+ openBlockHandleMenu(event, count, async () => {
+ await copyBlockReference(editor, notePath, note.title);
+ // Saved now, so that the link resolves in other notes at once.
+ spacedUpdate.updateNowIfNecessary();
+ });
+ },
getContentEmbedTools,
// Link preview functionality. The insert flow itself lives in the editor (a balloon form),
// so the host only has to supply the metadata and the rendering.
diff --git a/apps/client/src/widgets/type_widgets/text/ReadOnlyText.spec.tsx b/apps/client/src/widgets/type_widgets/text/ReadOnlyText.spec.tsx
index cd8a4c9ef3..a01cebc28d 100644
--- a/apps/client/src/widgets/type_widgets/text/ReadOnlyText.spec.tsx
+++ b/apps/client/src/widgets/type_widgets/text/ReadOnlyText.spec.tsx
@@ -33,13 +33,18 @@ import ReadOnlyText from "./ReadOnlyText";
// Imported by ReadOnlyText only for its content styles; irrelevant (and heavy) in happy-dom.
vi.mock("@triliumnext/ckeditor5", () => ({}));
-const { watchContentEmbeds, stopWatchingEmbeds } = vi.hoisted(() => {
+const { watchContentEmbeds, stopWatchingEmbeds, loadEmbeddedNote } = vi.hoisted(() => {
const stop = vi.fn();
- return { watchContentEmbeds: vi.fn(() => stop), stopWatchingEmbeds: stop };
+ return {
+ watchContentEmbeds: vi.fn(() => stop),
+ stopWatchingEmbeds: stop,
+ loadEmbeddedNote: vi.fn(async () => {})
+ };
});
vi.mock("./utils", async (importOriginal) => ({
...await importOriginal<typeof import("./utils")>(),
- watchContentEmbeds
+ watchContentEmbeds,
+ loadEmbeddedNote
}));
vi.stubGlobal("logError", vi.fn());
@@ -247,6 +252,85 @@ describe("ReadOnlyText ?bookmark= handling", () => {
});
});
+describe("ReadOnlyText ?block= handling", () => {
+ let cleanupContainer: HTMLElement | undefined;
+
+ afterEach(() => {
+ const mounted = cleanupContainer;
+ if (mounted) {
+ act(() => render(null, mounted));
+ mounted.remove();
+ cleanupContainer = undefined;
+ }
+ });
+
+ async function mountWithBlock(block: string) {
+ const scrollIntoView = vi.fn();
+ Element.prototype.scrollIntoView = scrollIntoView;
+ const note = buildNote({
+ title: "Blocks",
+ type: "text",
+ content: "<p data-trilium-block-id=\"b1\">One</p>"
+ + "<p data-trilium-block-id=\"b2\">Two</p>"
+ });
+ const parent = new Component();
+ const noteContext = new NoteContext("block-ntx");
+ noteContext.noteId = note.noteId;
+ noteContext.viewScope = { block };
+
+ const container = document.createElement("div");
+ document.body.appendChild(container);
+ cleanupContainer = container;
+ await act(async () => {
+ render(
+ <ParentComponent.Provider value={parent}>
+ <ReadOnlyText
+ note={note}
+ noteContext={noteContext}
+ ntxId={noteContext.ntxId}
+ parentComponent={parent}
+ viewScope={noteContext.viewScope}
+ isVisible={true}
+ />
+ </ParentComponent.Provider>,
+ container
+ );
+ });
+ const isBlockKept = noteContext.viewScope?.block === block;
+ await act(async () => {});
+
+ return { parent, noteContext, container, scrollIntoView, isBlockKept };
+ }
+
+ it("reveals the referenced block once the content renders", async () => {
+ const { noteContext, container, scrollIntoView, isBlockKept } = await mountWithBlock("b2");
+
+ expect(isBlockKept).toBe(true);
+ expect(noteContext.viewScope?.block).toBeUndefined();
+ expect(scrollIntoView.mock.contexts)
+ .toEqual([ container.querySelector("[data-trilium-block-id='b2']") ]);
+ });
+
+ it("reveals a block of the open note when a link to it is followed", async () => {
+ const { parent, noteContext, container, scrollIntoView } = await mountWithBlock("b2");
+ const otherContext = new NoteContext("other-ntx");
+ otherContext.noteId = noteContext.noteId;
+
+ noteContext.viewScope = { block: "b1" };
+ await act(async () => {
+ await parent.handleEvent("noteSwitched", { noteContext: otherContext, notePath: "" });
+ });
+ expect(noteContext.viewScope?.block).toBe("b1");
+
+ await act(async () => {
+ await parent.handleEvent("noteSwitched", { noteContext, notePath: "" });
+ });
+ expect(noteContext.viewScope?.block).toBeUndefined();
+ expect(scrollIntoView.mock.contexts.at(-1))
+ .toBe(container.querySelector("[data-trilium-block-id='b1']"));
+ });
+});
+
/**
* The direction is resolved from the note's `#language` label and handed to the content
* element as `dir`, which is what the RTL rules in the content stylesheets key off (they
@@ -300,4 +384,20 @@ describe("ReadOnlyText embedded notes", () => {
harness.container.remove();
expect(stopWatchingEmbeds).toHaveBeenCalledOnce();
});
+
+ it("loads an embed with the blocks it shows", async () => {
+ loadEmbeddedNote.mockClear();
+ const harness = setupHarness({ isVisible: true });
+ harness.note.getBlob = async () => ({
+ content: "<figure class=\"include-note\" data-note-id=\"src1\""
+ + " data-block=\"b1:b2\"></figure>"
+ }) as never;
+
+ await harness.mount();
+
+ expect(loadEmbeddedNote)
+ .toHaveBeenCalledWith("src1", expect.anything(), undefined, { block: "b1:b2" });
+ await act(async () => render(null, harness.container));
+ harness.container.remove();
+ });
});
diff --git a/apps/client/src/widgets/type_widgets/text/ReadOnlyText.tsx b/apps/client/src/widgets/type_widgets/text/ReadOnlyText.tsx
index a7e1c216cd..d7e00184c7 100644
--- a/apps/client/src/widgets/type_widgets/text/ReadOnlyText.tsx
+++ b/apps/client/src/widgets/type_widgets/text/ReadOnlyText.tsx
@@ -10,6 +10,7 @@ import { useEffect, useLayoutEffect, useMemo, useRef as usePreactRef } from "pre
import appContext from "../../../components/app_context";
import FNote from "../../../entities/fnote";
+import { consumeBlockReference } from "../../../services/block_reference";
import { consumeBookmark } from "../../../services/bookmark_jump";
import { applyInlineMermaid, rewriteMermaidDiagramsInContainer } from "../../../services/content_renderer_text";
import { applyLinkEmbeds } from "../../../services/link_embed";
@@ -18,7 +19,10 @@ import { trackPendingRender } from "../../../services/pending_renders";
import { consumeSearchTerms } from "../../../services/search_jump";
import { formatCodeBlocks } from "../../../services/syntax_highlight";
import { isContentRightToLeft } from "../../../utils/formatters";
-import { useNoteBlob, useNoteLabel, useSearchTermsConsumer, useSyncedRef, useTriliumEvent, useTriliumOption, useTriliumOptionBool } from "../../react/hooks";
+import {
+ useNoteBlob, useNoteLabel, useSameNoteSwitch, useSearchTermsConsumer, useSyncedRef,
+ useTriliumEvent, useTriliumOption, useTriliumOptionBool
+} from "../../react/hooks";
import { RawHtmlBlock } from "../../react/RawHtml";
import { TypeWidgetProps } from "../type_widget";
import { applyReferenceLinks } from "./read_only_helper";
@@ -43,13 +47,25 @@ export default function ReadOnlyText({ note, noteContext, ntxId, parentComponent
});
const { isRtl } = useNoteLanguage(note);
const readOnlyContentRef = usePreactRef<HTMLDivElement>(null);
+ const renderedNoteIdRef = usePreactRef<string | undefined>(undefined);
- // Scroll to bookmark anchor if navigated with ?bookmark=... The blob gate skips the mount run,
+ // Scroll to the bookmark or the blocks a link points at. The blob gate skips the mount run,
// which fires against an empty container while the content is still loading.
useEffect(() => {
if (!blob) return;
- consumeBookmark(readOnlyContentRef.current, noteContext?.viewScope);
+ renderedNoteIdRef.current = note.noteId;
+ revealLinkTarget();
}, [blob]);
+ useSameNoteSwitch(note, ntxId, () => {
+ if (renderedNoteIdRef.current === note.noteId) {
+ revealLinkTarget();
+ }
+ });
+
+ function revealLinkTarget() {
+ consumeBookmark(readOnlyContentRef.current, noteContext?.viewScope);
+ consumeBlockReference(readOnlyContentRef.current, noteContext?.viewScope);
+ }
// Jump to the first search match when navigated from search results.
useEffect(() => {
@@ -168,11 +184,11 @@ function applyContentEmbeds(container: HTMLDivElement) {
const loaded: Promise<unknown>[] = [];
const embeddedNotes = container.querySelectorAll<HTMLElement>(".include-note");
for (const embeddedNote of embeddedNotes) {
- const { attachmentId, noteId } = embeddedNote.dataset;
+ const { attachmentId, noteId, block } = embeddedNote.dataset;
if (attachmentId) {
loaded.push(loadEmbeddedAttachment(attachmentId, $(embeddedNote)));
} else if (noteId) {
- loaded.push(loadEmbeddedNote(noteId, $(embeddedNote)));
+ loaded.push(loadEmbeddedNote(noteId, $(embeddedNote), undefined, { block }));
}
}
return Promise.all(loaded);
diff --git a/apps/client/src/widgets/type_widgets/text/utils.spec.ts b/apps/client/src/widgets/type_widgets/text/utils.spec.ts
index e28477798e..549b88e54e 100644
--- a/apps/client/src/widgets/type_widgets/text/utils.spec.ts
+++ b/apps/client/src/widgets/type_widgets/text/utils.spec.ts
@@ -175,6 +175,29 @@ describe("loadEmbeddedNote", () => {
});
});
+describe("loadEmbeddedNote of blocks", () => {
+ it("shows only the blocks, and opens the note at them", async () => {
+ const wrapper = createWrapper();
+ const figure = inPage(document.createElement("figure"));
+ figure.className = "include-note";
+ figure.dataset.boxSize = "tiny";
+
+ await loadEmbeddedNote("noteY", $(wrapper), "medium", { block: "b1:b2" });
+
+ const viewScope = { block: "b1:b2" };
+ expect(link.createLink)
+ .toHaveBeenCalledWith("noteY", expect.objectContaining({ viewScope }));
+ expect(content_renderer.getRenderedContent).toHaveBeenCalledWith(note,
+ expect.objectContaining({ block: "b1:b2" }));
+ expect(lastMount().props.viewScope).toEqual(viewScope);
+
+ await loadEmbeddedNote("noteY", $(figure), undefined, { block: "b1" });
+
+ expect(lastMount().type).toBe(TinyContentEmbed);
+ expect(lastMount().props.viewScope).toEqual({ block: "b1" });
+ });
+});
+
describe("loadEmbeddedAttachment", () => {
it("mounts a box with the attachment, opened in its note", async () => {
const wrapper = createWrapper();
@@ -337,7 +360,7 @@ describe("refreshEmbeddedNote", () => {
it("reloads every embed of the note, of either element", async () => {
const container = inPage(document.createElement("div"));
container.innerHTML = `<figure class="include-note" data-note-id="noteY"></figure>`
- + `<section class="include-note" data-note-id="noteY"></section>`
+ + `<section class="include-note" data-note-id="noteY" data-block="b1"></section>`
+ `<figure class="include-note" data-note-id="other"></figure>`;
const [ figure, section ] = [ ...container.children ];
@@ -349,6 +372,8 @@ describe("refreshEmbeddedNote", () => {
const mountedIn = vi.mocked(content_renderer.mountInteractiveWidget).mock.calls
.map(([ , wrapper ]) => wrapper.parentElement);
expect(mountedIn).toEqual([ figure, section ]);
+ expect(vi.mocked(content_renderer.getRenderedContent).mock.calls
+ .map(([ , options ]) => options?.block)).toEqual([ undefined, "b1" ]);
});
});
@@ -433,14 +458,19 @@ describe("openContentEmbedMenu", () => {
const anchor = document.createElement("button");
const noteEmbed = inPage(document.createElement("figure"));
noteEmbed.dataset.noteId = "noteY";
+ const blockEmbed = inPage(document.createElement("figure"));
+ blockEmbed.dataset.noteId = "noteY";
+ blockEmbed.dataset.block = "b1";
const embed = inPage(document.createElement("figure"));
embed.dataset.attachmentId = "att1";
await openContentEmbedMenu(noteEmbed, anchor);
+ await openContentEmbedMenu(blockEmbed, anchor);
await openContentEmbedMenu(embed, anchor);
expect(vi.mocked(linkContextMenu.openContextMenu).mock.calls).toEqual([
[ "noteY", { anchor, target: noteEmbed }, {} ],
+ [ "noteY", { anchor, target: blockEmbed }, { block: "b1" } ],
[ "owner", { anchor, target: embed }, ATTACHMENT_SCOPE ]
]);
});
diff --git a/apps/client/src/widgets/type_widgets/text/utils.ts b/apps/client/src/widgets/type_widgets/text/utils.ts
index 4f714a5e41..f9b472ea75 100644
--- a/apps/client/src/widgets/type_widgets/text/utils.ts
+++ b/apps/client/src/widgets/type_widgets/text/utils.ts
@@ -17,6 +17,8 @@ import ContentEmbed, { getNoteActions, TinyContentEmbed } from "./ContentEmbed";
interface EmbeddedNoteOptions {
/** Saves the changes that the content makes to the note, such as a code note. */
noteEditor?: NoteEditor;
+ /** The blocks of the note to show, a `block` link parameter. The whole note when left out. */
+ block?: string;
}
/**
@@ -27,22 +29,25 @@ export async function loadEmbeddedNote(
noteId: string,
$el: JQuery<HTMLElement>,
boxSize?: string,
- { noteEditor }: EmbeddedNoteOptions = {}
+ { noteEditor, block }: EmbeddedNoteOptions = {}
) {
const note = await froca.getNote(noteId);
if (!note) return;
const el = $el[0];
const size = boxSize ?? getEmbedBoxSize(el);
+ const viewScope: ViewScope | undefined = block ? { block } : undefined;
if (size === "tiny") {
const $link = await link.createLink(note.noteId, {
showTooltip: false,
- showNotePath: true
+ showNotePath: true,
+ viewScope
});
const box = h(TinyContentEmbed, {
icon: note.getIcon(),
title: $link[0],
notePath: note.noteId,
+ viewScope,
actions: getNoteActions(note.noteId)
});
await mountEmbedBox(el, box);
@@ -51,7 +56,8 @@ export async function loadEmbeddedNote(
const $link = await link.createLink(note.noteId, {
showTooltip: false,
- showNoteIcon: true
+ showNoteIcon: true,
+ viewScope
});
// The embed widget itself is the first level of embedding, so the embedded note's own
@@ -60,7 +66,8 @@ export async function loadEmbeddedNote(
interactive: true,
embedsAsReferenceLinks: true,
mediaEnvironment: "embedded",
- noteEditor
+ noteEditor,
+ block
});
const box = h(ContentEmbed, {
@@ -68,7 +75,8 @@ export async function loadEmbeddedNote(
title: $link[0],
content: $renderedContent[0],
contentType: type,
- notePath: note.noteId
+ notePath: note.noteId,
+ viewScope
});
await mountEmbedBox(el, box, $renderedContent);
}
@@ -182,7 +190,7 @@ function getWrapper(el: HTMLElement) {
* opens from the embed, so that the text editor that contains it stays focused.
*/
export async function openContentEmbedMenu(embed: HTMLElement, anchor: HTMLElement) {
- const { noteId, attachmentId } = embed.dataset;
+ const { noteId, attachmentId, block } = embed.dataset;
const origin = linkContextMenu.getOriginBelow(anchor, embed);
if (attachmentId) {
@@ -194,7 +202,7 @@ export async function openContentEmbedMenu(embed: HTMLElement, anchor: HTMLEleme
});
}
} else if (noteId) {
- await linkContextMenu.openContextMenu(noteId, origin, {});
+ await linkContextMenu.openContextMenu(noteId, origin, block ? { block } : {});
}
}
@@ -242,9 +250,13 @@ export function refreshEmbeddedNote(
noteId: string,
options?: EmbeddedNoteOptions
) {
- const embeddedNotes = container.querySelectorAll(`.include-note[data-note-id="${noteId}"]`);
+ const embeddedNotes =
+ container.querySelectorAll<HTMLElement>(`.include-note[data-note-id="${noteId}"]`);
for (const embeddedNote of embeddedNotes) {
- loadEmbeddedNote(noteId, $(embeddedNote as HTMLElement), undefined, options);
+ loadEmbeddedNote(noteId, $(embeddedNote), undefined, {
+ ...options,
+ block: embeddedNote.dataset.block
+ });
}
}
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/!!!meta.json b/apps/server/src/assets/doc_notes/en/User Guide/!!!meta.json
index bb9771f91f..1e3ec3383e 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/!!!meta.json
+++ b/apps/server/src/assets/doc_notes/en/User Guide/!!!meta.json
@@ -1 +1 @@
-[{"id":"_help_BOCnjTMBCoxW","title":"Feature Highlights","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Feature Highlights"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/feature-highlights"},{"name":"iconClass","value":"bx bx-star","type":"label"}]},{"id":"_help_Otzi9La2YAUX","title":"Installation & Setup","type":"book","attributes":[{"name":"iconClass","value":"bx bx-cog","type":"label"}],"children":[{"id":"_help_poXkQfguuA0U","title":"Desktop Installation","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Desktop Installation"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/desktop"},{"name":"iconClass","value":"bx bx-desktop","type":"label"}],"children":[{"id":"_help_nRqcgfTb97uV","title":"Using the desktop application as a server","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Desktop Installation/Using the desktop application as a server"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/desktop/desktop-as-server"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_Rp0q8bSP6Ayl","title":"System Requirements","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Desktop Installation/System Requirements"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/desktop/system-requirements"},{"name":"iconClass","value":"bx bx-chip","type":"label"}]},{"id":"_help_Un4wj2Mak2Ky","title":"Nix flake","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Desktop Installation/Nix flake"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/desktop/nix-flake"},{"name":"iconClass","value":"bx bxl-tux","type":"label"}]},{"id":"_help_swSFivWk6KkA","title":"Network Access","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Desktop Installation/Network Access"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/desktop/network-access"},{"name":"iconClass","value":"bx bx-network-chart","type":"label"}]},{"id":"_help_7iwde4lsKc6O","title":"Tray icon & automatic startup","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Desktop Installation/Tray icon & automatic startup"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/desktop/tray-icon-and-startup"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_hvRfsDr591WP","title":"Troubleshooting","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Desktop Installation/Troubleshooting"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/desktop/troubleshooting"},{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_WOcw2SLH6tbX","title":"Server Installation","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server"},{"name":"iconClass","value":"bx bx-server","type":"label"}],"children":[{"id":"_help_Dgg7bR3b6K9j","title":"1. Installing the server","type":"book","attributes":[{"name":"iconClass","value":"bx bx-folder","type":"label"}],"children":[{"id":"_help_3tW6mORuTHnB","title":"Packaged version for Linux","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Packaged version for Linux"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/installation/packaged-server"},{"name":"iconClass","value":"bx bxl-tux","type":"label"}]},{"id":"_help_rWX5eY045zbE","title":"Using Docker","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Using Docker"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/installation/docker"},{"name":"iconClass","value":"bx bxl-docker","type":"label"}]},{"id":"_help_moVgBcoxE3EK","title":"On NixOS","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/On NixOS"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/installation/nixos"},{"name":"iconClass","value":"bx bxl-tux","type":"label"}]},{"id":"_help_J1Bb6lVlwU5T","title":"Manually","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Manually"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/installation/manual"},{"name":"iconClass","value":"bx bx-code-alt","type":"label"}]},{"id":"_help_DCmT6e7clMoP","title":"Using Kubernetes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Using Kubernetes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/installation/kubernetes"},{"name":"iconClass","value":"bx bxl-kubernetes","type":"label"}]},{"id":"_help_klCWNks3ReaQ","title":"Multiple server instances","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Multiple server instances"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/installation/multiple-instances"},{"name":"iconClass","value":"bx bxs-user-account","type":"label"}]}]},{"id":"_help_vcjrb3VVYPZI","title":"2. Reverse proxy","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/reverse-proxy"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"children":[{"id":"_help_ud6MShXL4WpO","title":"Nginx","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Nginx"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/reverse-proxy/nginx"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_fDLvzOx29Pfg","title":"Apache using Docker","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Apache using Docker"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/reverse-proxy/apache"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_LLzSMXACKhUs","title":"Trusted proxy","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Trusted proxy"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/reverse-proxy/trusted-proxy"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_5ERVJb9s4FRD","title":"Traefik","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Traefik"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/reverse-proxy/traefik"},{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_l2VkvOwUNfZj","title":"HTTPS (TLS)","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/HTTPS (TLS)"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/https"},{"name":"iconClass","value":"bx bx-lock-alt","type":"label"}]},{"id":"_help_0hzsNCP31IAB","title":"Authentication","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/Authentication"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/auth"},{"name":"iconClass","value":"bx bx-user","type":"label"}],"children":[{"id":"_help_lwAX5SvbrK2g","title":"Resetting your password","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/Authentication/Resetting your password"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/auth/password-reset"},{"name":"iconClass","value":"bx bx-key","type":"label"}]}]},{"id":"_help_7DAiwaf8Z7Rz","title":"Multi-factor authentication with TOTP","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/Multi-factor authentication with TOTP"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/mfa"},{"name":"iconClass","value":"bx bx-stopwatch","type":"label"}]},{"id":"_help_Un4wj2Mak2Ky","title":"Nix flake","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Desktop Installation/Nix flake"},{"name":"iconClass","value":"bx bxl-tux","type":"label"}]},{"id":"_help_x1lQNKQBqLcA","title":"Signing in with OpenID Connect","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/Signing in with OpenID Connect"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/openid-connect"},{"name":"iconClass","value":"bx bxs-key","type":"label"}],"children":[{"id":"_help_IgkTHSaFfq6A","title":"Setting up with various providers","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/Signing in with OpenID Connect/Setting up with various providers"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/openid-connect/setup"},{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_yeEaYqosGLSh","title":"Third-party cloud hosting","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/Third-party cloud hosting"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/cloud-hosting"},{"name":"iconClass","value":"bx bx-cloud","type":"label"}]},{"id":"_help_iGTnKjubbXkA","title":"System Requirements","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/System Requirements"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/system-requirements"},{"name":"iconClass","value":"bx bx-chip","type":"label"}]}]},{"id":"_help_cbkrhQjrkKrh","title":"Synchronization","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Synchronization"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/synchronization"},{"name":"iconClass","value":"bx bx-sync","type":"label"}]},{"id":"_help_RDslemsQ6gCp","title":"Mobile Frontend","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Mobile Frontend"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/mobile-frontend"},{"name":"iconClass","value":"bx bx-mobile-alt","type":"label"}]},{"id":"_help_MtPxeAWVAzMg","title":"Web Clipper","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Web Clipper"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/web-clipper"},{"name":"iconClass","value":"bx bx-paperclip","type":"label"}]},{"id":"_help_n1lujUxCwipy","title":"Upgrading TriliumNext","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Upgrading TriliumNext"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/upgrading"},{"name":"iconClass","value":"bx bx-up-arrow-alt","type":"label"}]},{"id":"_help_ODY7qQn5m2FT","title":"Backup","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Backup"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/backup"},{"name":"iconClass","value":"bx bx-hdd","type":"label"}]},{"id":"_help_tAassRL4RSQL","title":"Data directory","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Data directory"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/data-directory"},{"name":"iconClass","value":"bx bx-folder-open","type":"label"}]}]},{"id":"_help_gh7bpGYxajRS","title":"Basic Concepts and Features","type":"book","attributes":[{"name":"iconClass","value":"bx bx-help-circle","type":"label"}],"children":[{"id":"_help_Vc8PjrjAGuOp","title":"UI Elements","type":"book","attributes":[{"name":"iconClass","value":"bx bx-window-alt","type":"label"}],"children":[{"id":"_help_x0JgW8UqGXvq","title":"Vertical and horizontal layout","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Vertical and horizontal layout"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/layouts"},{"name":"iconClass","value":"bx bxs-layout","type":"label"}]},{"id":"_help_x3i7MxGccDuM","title":"Global menu","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Global menu"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/global-menu"},{"name":"iconClass","value":"bx bx-menu","type":"label"}]},{"id":"_help_oPVyFC7WL2Lp","title":"Note Tree","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-tree"},{"name":"iconClass","value":"bx bxs-tree-alt","type":"label"}],"children":[{"id":"_help_YtSN43OrfzaA","title":"Note tree contextual menu","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Note tree contextual menu"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-tree/context-menu"},{"name":"iconClass","value":"bx bx-menu","type":"label"}]},{"id":"_help_yTjUdsOi4CIE","title":"Multiple selection","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Multiple selection"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-tree/multiple-selection"},{"name":"iconClass","value":"bx bx-list-plus","type":"label"}]},{"id":"_help_DvdZhoQZY9Yd","title":"Keyboard shortcuts","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Keyboard shortcuts"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-tree/keyboard-shortcuts"},{"name":"iconClass","value":"bx bxs-keyboard","type":"label"}]},{"id":"_help_wyaGBBQrl4i3","title":"Hiding the subtree","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Hiding the subtree"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-tree/hiding-subtree"},{"name":"iconClass","value":"bx bx-hide","type":"label"}]}]},{"id":"_help_BlN9DFI679QC","title":"Ribbon","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Ribbon"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/ribbon"},{"name":"iconClass","value":"bx bx-dots-horizontal","type":"label"}]},{"id":"_help_3seOhtN8uLIY","title":"Tabs","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Tabs"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/tabs"},{"name":"iconClass","value":"bx bx-dock-top","type":"label"}]},{"id":"_help_xYmIYSP6wE3F","title":"Launch Bar","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Launch Bar"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/launch-bar"},{"name":"iconClass","value":"bx bx-sidebar","type":"label"}]},{"id":"_help_8YBEPzcpUgxw","title":"Note buttons","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Note buttons"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-buttons"},{"name":"iconClass","value":"bx bx-dots-vertical-rounded","type":"label"}]},{"id":"_help_4TIF1oA4VQRO","title":"Options","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Options"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/options"},{"name":"iconClass","value":"bx bx-cog","type":"label"}]},{"id":"_help_luNhaphA37EO","title":"Split View","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Split View"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/split-view"},{"name":"iconClass","value":"bx bx-dock-right","type":"label"}]},{"id":"_help_XpOYSgsLkTJy","title":"Floating buttons","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Floating buttons"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/floating-buttons"},{"name":"iconClass","value":"bx bx-rectangle","type":"label"}]},{"id":"_help_RnaPdbciOfeq","title":"Right Sidebar","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/right-sidebar"},{"name":"iconClass","value":"bx bxs-dock-right","type":"label"}],"children":[{"id":"_help_2dcGDhp9WFKb","title":"Outline tab","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Outline tab"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/right-sidebar/outline"},{"name":"iconClass","value":"bx bx-list-ul","type":"label"}]},{"id":"_help_uNtgN0cUKEBc","title":"Attributes tab","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Attributes tab"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/right-sidebar/attributes"},{"name":"iconClass","value":"bx bx-hash","type":"label"}]},{"id":"_help_LrKznOtw9cQD","title":"AI chat tab","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/AI chat tab"},{"name":"iconClass","value":"bx bx-bot","type":"label"}]},{"id":"_help_KRlZFoIH0j6p","title":"Connections tab","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Connections tab"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/right-sidebar/connections"},{"name":"iconClass","value":"bx bx-network-chart","type":"label"}]}]},{"id":"_help_r5JGHN99bVKn","title":"Recent Changes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Recent Changes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/recent-changes"},{"name":"iconClass","value":"bx bx-history","type":"label"}]},{"id":"_help_ny318J39E5Z0","title":"Zoom","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Zoom"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/zoom"},{"name":"iconClass","value":"bx bx-zoom-in","type":"label"}]},{"id":"_help_lgKX7r3aL30x","title":"Note Tooltip","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tooltip"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-tooltip"},{"name":"iconClass","value":"bx bx-message-detail","type":"label"}]},{"id":"_help_IjZS7iK5EXtb","title":"New Layout","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/New Layout"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/new-layout"},{"name":"iconClass","value":"bx bx-layout","type":"label"}],"children":[{"id":"_help_I6p2a06hdnL6","title":"Breadcrumb","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/New Layout/Breadcrumb"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/new-layout/breadcrumb"},{"name":"iconClass","value":"bx bx-chevron-right","type":"label"}]},{"id":"_help_AlJ73vBCjWDw","title":"Status bar","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/New Layout/Status bar"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/new-layout/status-bar"},{"name":"iconClass","value":"bx bx-dock-bottom","type":"label"}]}]},{"id":"_help_SL5f1Auq7sVN","title":"Note types with split view","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Note types with split view"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-types-with-split-view"},{"name":"iconClass","value":"bx bx-card","type":"label"}]},{"id":"_help_t596jLvPrqkS","title":"Content width","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Content width"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/content-width"},{"name":"iconClass","value":"bx bx-detail","type":"label"}]},{"id":"_help_jcQVxzYybYgz","title":"Note contextual menu","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Note contextual menu"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-menu"},{"name":"iconClass","value":"bx bx-menu","type":"label"}]}]},{"id":"_help_BFs8mudNFgCS","title":"Notes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes"},{"name":"iconClass","value":"bx bx-notepad","type":"label"}],"children":[{"id":"_help_l7pigIGu01K2","title":"Title","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Title"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/title"},{"name":"iconClass","value":"bx bx-text","type":"label"}]},{"id":"_help_p9kXRFAkwN4o","title":"Note Icons & Colors","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Note Icons & Colors"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/note-icons"},{"name":"iconClass","value":"bx bxs-grid","type":"label"}]},{"id":"_help_0vhv7lsOLy82","title":"Attachments","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Attachments"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/attachments"},{"name":"iconClass","value":"bx bx-paperclip","type":"label"}]},{"id":"_help_IakOLONlIfGI","title":"Cloning Notes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Cloning Notes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/cloning"},{"name":"iconClass","value":"bx bx-duplicate","type":"label"}],"children":[{"id":"_help_TBwsyfadTA18","title":"Branch prefix","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Cloning Notes/Branch prefix"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/cloning/branch-prefix"},{"name":"iconClass","value":"bx bx-rename","type":"label"}]}]},{"id":"_help_bwg0e8ewQMak","title":"Protected Notes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Protected Notes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/protected-notes"},{"name":"iconClass","value":"bx bx-lock-alt","type":"label"}]},{"id":"_help_MKmLg5x6xkor","title":"Archived Notes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Archived Notes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/archived-notes"},{"name":"iconClass","value":"bx bx-box","type":"label"}]},{"id":"_help_vZWERwf8U3nx","title":"Note Revisions","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Note Revisions"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/note-revisions"},{"name":"iconClass","value":"bx bx-history","type":"label"}]},{"id":"_help_aGlEvb9hyDhS","title":"Sorting Notes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Sorting Notes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/sorting"},{"name":"iconClass","value":"bx bx-sort-up","type":"label"}]},{"id":"_help_NRnIZmSMc5sj","title":"Printing & Exporting as PDF","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Printing & Exporting as PDF"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/printing-and-pdf-export"},{"name":"iconClass","value":"bx bx-printer","type":"label"}]},{"id":"_help_CoFPLs3dRlXc","title":"Read-Only Notes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Read-Only Notes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/read-only-notes"},{"name":"iconClass","value":"bx bx-edit-alt","type":"label"}]},{"id":"_help_0ESUbbAxVnoK","title":"Note List","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Note List"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/note-list"},{"name":"iconClass","value":"bx bxs-grid","type":"label"}]},{"id":"_help_S0Fos78ZfcY7","title":"Note Inbox","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Note Inbox"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/note-inbox"},{"name":"iconClass","value":"bx bxs-inbox","type":"label"}]},{"id":"_help_5Ct4MAJTS4tQ","title":"Restoring Deleted Notes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Restoring Deleted Notes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/restoring-deleted-notes"},{"name":"iconClass","value":"bx bx-trash-alt","type":"label"}]}]},{"id":"_help_wArbEsdSae6g","title":"Navigation","type":"book","attributes":[{"name":"iconClass","value":"bx bx-navigation","type":"label"}],"children":[{"id":"_help_kBrnXNG3Hplm","title":"Tree Concepts","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Navigation/Tree Concepts"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/tree-concepts"},{"name":"iconClass","value":"bx bx-pyramid","type":"label"}]},{"id":"_help_MMiBEQljMQh2","title":"Note Navigation","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Navigation/Note Navigation"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/note-navigation"},{"name":"iconClass","value":"bx bxs-navigation","type":"label"}]},{"id":"_help_Ms1nauBra7gq","title":"Quick search","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Navigation/Quick search"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/quick-search"},{"name":"iconClass","value":"bx bx-search-alt-2","type":"label"}]},{"id":"_help_F1r9QtzQLZqm","title":"Jump to & command palette","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Navigation/Jump to & command palette"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/jump-to"},{"name":"iconClass","value":"bx bx-send","type":"label"}]},{"id":"_help_eIg8jdvaoNNd","title":"Search","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Navigation/Search"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/search"},{"name":"iconClass","value":"bx bx-search-alt-2","type":"label"}],"children":[{"id":"_help_Oxyb6jOjjVNL","title":"Under the hood","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Navigation/Search/Under the hood"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/search/under-the-hood"},{"name":"iconClass","value":"bx bxs-cog","type":"label"}]},{"id":"_help_WbjlujkUhEb5","title":"How search matches your text","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Navigation/Search/How search matches your text"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/search/matching"},{"name":"iconClass","value":"bx bx-file-find","type":"label"}]}]},{"id":"_help_u3YFHC9tQlpm","title":"Bookmarks","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Navigation/Bookmarks"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/bookmarks"},{"name":"iconClass","value":"bx bx-bookmarks","type":"label"}]},{"id":"_help_OR8WJ7Iz9K4U","title":"Note Hoisting","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Navigation/Note Hoisting"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/note-hoisting"},{"name":"iconClass","value":"bx bxs-chevrons-up","type":"label"}]},{"id":"_help_ZjLYv08Rp3qC","title":"Quick edit","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Navigation/Quick edit"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/quick-edit"},{"name":"iconClass","value":"bx bx-edit","type":"label"}]},{"id":"_help_9sRHySam5fXb","title":"Workspaces","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/workspace"},{"name":"iconClass","value":"bx bx-door-open","type":"label"}]},{"id":"_help_xWtq5NUHOwql","title":"Similar Notes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Navigation/Similar Notes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/similar-notes"},{"name":"iconClass","value":"bx bx-bar-chart","type":"label"}]},{"id":"_help_McngOG2jbUWX","title":"Search in note","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Navigation/Search in note"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/search-in-note"},{"name":"iconClass","value":"bx bx-search-alt-2","type":"label"}]}]},{"id":"_help_A9Oc6YKKc65v","title":"Keyboard Shortcuts","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/keyboard-shortcuts"},{"name":"iconClass","value":"bx bxs-keyboard","type":"label"}]},{"id":"_help_Wy267RK4M69c","title":"Themes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Themes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/themes"},{"name":"iconClass","value":"bx bx-palette","type":"label"}],"children":[{"id":"_help_VbjZvtUek0Ln","title":"Theme Gallery","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Themes/Theme Gallery"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/themes/theme-gallery"},{"name":"iconClass","value":"bx bx-book-reader","type":"label"}]},{"id":"_help_gOKqSJgXLcIj","title":"Icon Packs","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Themes/Icon Packs"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/themes/icon-packs"},{"name":"iconClass","value":"bx bx-package","type":"label"}]},{"id":"_help_w4rMEhJsALlA","title":"Personalizing the font","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Themes/Personalizing the font"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/themes/fonts"},{"name":"iconClass","value":"bx bx-font","type":"label"}]}]},{"id":"_help_mHbBMPDPkVV5","title":"Import & Export","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Import & Export"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export"},{"name":"iconClass","value":"bx bx-import","type":"label"}],"children":[{"id":"_help_Oau6X9rCuegd","title":"Markdown","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Import & Export/Markdown"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/markdown"},{"name":"iconClass","value":"bx bxl-markdown","type":"label"}],"children":[{"id":"_help_rJ9grSgoExl9","title":"Supported syntax","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Import & Export/Markdown/Supported syntax"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/markdown/supported-syntax"},{"name":"iconClass","value":"bx bx-code-alt","type":"label"}]}]},{"id":"_help_ckZ2uNWQmVeX","title":"Importing data from other applications","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps"},{"name":"iconClass","value":"bx bx-import","type":"label"}],"children":[{"id":"_help_GnhlmrATVqcH","title":"Microsoft OneNote","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Microsoft OneNote"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/onenote"},{"name":"iconClass","value":"bx bx-window-open","type":"label"}],"children":[{"id":"_help_LpvyEIBIAAj7","title":"Tags","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Microsoft OneNote/Tags"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/onenote/tags"},{"name":"iconClass","value":"bx bx-star","type":"label"}]}]},{"id":"_help_Y5mKeJ6dsCld","title":"Notion","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Notion"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/notion"},{"name":"iconClass","value":"bx bx-window-open","type":"label"}]},{"id":"_help_nhQVuO4zvIxi","title":"Google Keep","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Google Keep"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/keep"},{"name":"iconClass","value":"bx bx-window-open","type":"label"}]},{"id":"_help_syuSEKf2rUGr","title":"Evernote","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Evernote"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/evernote"},{"name":"iconClass","value":"bx bx-window-open","type":"label"}],"children":[{"id":"_help_dj3j8dG4th4l","title":"Process internal links by title","type":"doc","attributes":[{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_83zmPBJRgfnW","title":"Anytype","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Anytype"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/anytype"},{"name":"iconClass","value":"bx bx-window-open","type":"label"}]},{"id":"_help_iWD7wiIuMtgV","title":"Obsidian","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Obsidian"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/obsidian"},{"name":"iconClass","value":"bx bx-window-open","type":"label"}]}]}]},{"id":"_help_rC3pL2aptaRE","title":"Zen mode","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Zen mode"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/zen-mode"},{"name":"iconClass","value":"bx bxs-yin-yang","type":"label"}]},{"id":"_help_YzMcWlCVeW09","title":"Active content","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Active content"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/active-content"},{"name":"iconClass","value":"bx bxs-widget","type":"label"}]}]},{"id":"_help_s3YCWHBfmYuM","title":"Quick Start","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Quick Start"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/quick-start"},{"name":"iconClass","value":"bx bx-run","type":"label"}]},{"id":"_help_i6dbnitykE5D","title":"FAQ","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/FAQ"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/faq"},{"name":"iconClass","value":"bx bx-question-mark","type":"label"}]},{"id":"_help_KSZ04uQ2D1St","title":"Note Types","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types"},{"name":"iconClass","value":"bx bx-edit","type":"label"}],"children":[{"id":"_help_iPIMuisry3hd","title":"Text","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text"},{"name":"iconClass","value":"bx bx-note","type":"label"}],"children":[{"id":"_help_oSuaNgyyKnhu","title":"Anchors","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Anchors"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/bookmarks"},{"name":"iconClass","value":"bx bx-bookmark","type":"label"}]},{"id":"_help_oI7GoyilXXAr","title":"Automatic replacements","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Automatic replacements"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/automatic-replacements"},{"name":"iconClass","value":"bx bx-reply","type":"label"}]},{"id":"_help_NwBbFdNZ9h7O","title":"Block quotes & admonitions","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Block quotes & admonitions"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/blockquotes"},{"name":"iconClass","value":"bx bx-info-circle","type":"label"}]},{"id":"_help_4n4oQUVbnOxa","title":"Collapsible blocks","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Collapsible blocks"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/collapsible-blocks"},{"name":"iconClass","value":"bx bx-chevron-down-circle","type":"label"}]},{"id":"_help_veGu4faJErEM","title":"Content language & Right-to-left support","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Content language & Right-to-left support"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/content-language"},{"name":"iconClass","value":"bx bx-align-right","type":"label"}]},{"id":"_help_2x0ZAX9ePtzV","title":"Cut to subnote","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Cut to subnote"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/cut-to-subnote"},{"name":"iconClass","value":"bx bx-cut","type":"label"}]},{"id":"_help_UYuUB1ZekNQU","title":"Developer-specific formatting","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Developer-specific formatting"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/developer-formatting"},{"name":"iconClass","value":"bx bx-code-alt","type":"label"}],"children":[{"id":"_help_QxEyIjRBizuC","title":"Code blocks","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Developer-specific formatting/Code blocks"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/developer-formatting/code-blocks"},{"name":"iconClass","value":"bx bx-code","type":"label"}]}]},{"id":"_help_AgjCISero73a","title":"Footnotes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Footnotes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/footnotes"},{"name":"iconClass","value":"bx bx-bracket","type":"label"}]},{"id":"_help_5wZallV2Qo1t","title":"Format Painter","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Format Painter"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/format-painter"},{"name":"iconClass","value":"bx bxs-paint-roll","type":"label"}]},{"id":"_help_nRhnJkTT8cPs","title":"Formatting toolbar","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Formatting toolbar"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/formatting-toolbar"},{"name":"iconClass","value":"bx bx-text","type":"label"}]},{"id":"_help_Gr6xFaF6ioJ5","title":"General formatting","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/General formatting"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/general-formatting"},{"name":"iconClass","value":"bx bx-bold","type":"label"}]},{"id":"_help_AxshuNRegLAv","title":"Highlights list","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Highlights list"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/highlights-list"},{"name":"iconClass","value":"bx bx-highlight","type":"label"}]},{"id":"_help_mT0HEkOsz6i1","title":"Images","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Images"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/images"},{"name":"iconClass","value":"bx bx-image-alt","type":"label"}],"children":[{"id":"_help_0Ofbk1aSuVRu","title":"Image references","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Images/Image references"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/images/image-references"},{"name":"iconClass","value":"bx bxs-file-image","type":"label"}]}]},{"id":"_help_VRoP0g1uHHc2","title":"In-editor AI assistant","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/In-editor AI assistant"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/ai-assistant"},{"name":"iconClass","value":"bx bx-bot","type":"label"}],"children":[{"id":"_help_mVEYwt20exhO","title":"Custom AI quick actions","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/In-editor AI assistant/Custom AI quick actions"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/ai-assistant/custom-quick-actions"},{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_nBAXQFj20hS1","title":"Include Note","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Include Note"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/include-note"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_CohkqWQC1iBv","title":"Insert buttons","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Insert buttons"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/insert-buttons"},{"name":"iconClass","value":"bx bx-plus","type":"label"}],"children":[{"id":"_help_hD8GawVuazff","title":"Icons","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Insert buttons/Icons"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/insert-buttons/icons"},{"name":"iconClass","value":"bx bx-sticker","type":"label"}]}]},{"id":"_help_oiVPnW8QfnvS","title":"Keyboard shortcuts","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Keyboard shortcuts"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/keyboard-shortcuts"},{"name":"iconClass","value":"bx bxs-keyboard","type":"label"}]},{"id":"_help_UmgZAfcltxkS","title":"Link Previews","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Link Previews"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/link-previews"},{"name":"iconClass","value":"bx bx-link-external","type":"label"}]},{"id":"_help_QEAPj01N5f7w","title":"Links","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Links"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/links"},{"name":"iconClass","value":"bx bx-link-alt","type":"label"}],"children":[{"id":"_help_3IDVtesTQ8ds","title":"External links","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Links/External links"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/links/external-links"},{"name":"iconClass","value":"bx bx-link-external","type":"label"}]},{"id":"_help_hrZ1D00cLbal","title":"Internal (reference) links","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Links/Internal (reference) links"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/links/reference-links"},{"name":"iconClass","value":"bx bx-link","type":"label"}]},{"id":"_help_wfGXLmm7x27z","title":"Backlinks","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Links/Backlinks"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/links/backlinks"},{"name":"iconClass","value":"bx bx-link-alt","type":"label"}]}]},{"id":"_help_S6Xx8QIWTV66","title":"Lists","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Lists"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/lists"},{"name":"iconClass","value":"bx bx-list-ul","type":"label"}]},{"id":"_help_QrtTYPmdd1qq","title":"Markdown-like formatting","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Markdown-like formatting"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/markdown-formatting"},{"name":"iconClass","value":"bx bxl-markdown","type":"label"}]},{"id":"_help_YfYAtQBcfo5V","title":"Math Equations","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Math Equations"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/math-equations"},{"name":"iconClass","value":"bx bx-math","type":"label"}]},{"id":"_help_dEHYtoWWi8ct","title":"Other features","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Other features"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/other-features"},{"name":"iconClass","value":"bx bxs-grid","type":"label"}]},{"id":"_help_gLt3vA97tMcp","title":"Premium features","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Premium features"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/premium-features"},{"name":"iconClass","value":"bx bx-star","type":"label"}]},{"id":"_help_ZlN4nump6EbW","title":"Slash Commands","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Slash Commands"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/slash-commands"},{"name":"iconClass","value":"bx bx-menu","type":"label"}]},{"id":"_help_oBo3iHIZnbG2","title":"Spell Check","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Spell Check"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/spellcheck"},{"name":"iconClass","value":"bx bx-check-double","type":"label"}]},{"id":"_help_BFvAtE74rbP6","title":"Table of contents","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Table of contents"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/table-of-contents"},{"name":"iconClass","value":"bx bx-heading","type":"label"}]},{"id":"_help_NdowYOC1GFKS","title":"Tables","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Tables"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/tables"},{"name":"iconClass","value":"bx bx-table","type":"label"}]},{"id":"_help_pwc194wlRzcH","title":"Text Snippets","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Text Snippets"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_fASfBrYnquKU","title":"To-do Lists","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/To-do Lists"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/todo-lists"},{"name":"iconClass","value":"bx bx-checkbox-checked","type":"label"}]}]},{"id":"_help_6f9hih2hXXZk","title":"Code","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Code"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/code"},{"name":"iconClass","value":"bx bx-code","type":"label"}]},{"id":"_help_m523cpzocqaD","title":"Saved Search","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Saved Search"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/saved-search"},{"name":"iconClass","value":"bx bx-file-find","type":"label"}]},{"id":"_help_iRwzGnHPzonm","title":"Relation Map","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Relation Map"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/relation-map"},{"name":"iconClass","value":"bx bxs-network-chart","type":"label"}]},{"id":"_help_bdUJEHsAPYQR","title":"Note Map","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Note Map"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/note-map"},{"name":"iconClass","value":"bx bxs-network-chart","type":"label"}]},{"id":"_help_HcABDtFCkbFN","title":"Render Note","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Render Note"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/render-note"},{"name":"iconClass","value":"bx bx-extension","type":"label"}]},{"id":"_help_s1aBHPd79XYj","title":"Mermaid Diagrams","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Mermaid Diagrams"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/mermaid-diagrams"},{"name":"iconClass","value":"bx bx-selection","type":"label"}],"children":[{"id":"_help_RH6yLjjWJHof","title":"ELK layout","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Mermaid Diagrams/ELK layout"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/mermaid-diagrams/elk"},{"name":"iconClass","value":"bx bxs-network-chart","type":"label"}]},{"id":"_help_WWgeUaBb7UfC","title":"Syntax reference","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://mermaid.js.org/intro/syntax-reference.html"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_grjYqerjn243","title":"Canvas","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Canvas"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/canvas"},{"name":"iconClass","value":"bx bx-pen","type":"label"}]},{"id":"_help_1vHRoWCEjj0L","title":"Web View","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Web View"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/webview"},{"name":"iconClass","value":"bx bx-globe-alt","type":"label"}]},{"id":"_help_gBbsAeiuUxI5","title":"Mind Map","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Mind Map"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/mindmap"},{"name":"iconClass","value":"bx bx-sitemap","type":"label"}]},{"id":"_help_W8vYD3Q1zjCR","title":"File","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/File"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/file"},{"name":"iconClass","value":"bx bx-file-blank","type":"label"}],"children":[{"id":"_help_XJGJrpu7F9sh","title":"PDFs","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/File/PDFs"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/file/pdf"},{"name":"iconClass","value":"bx bxs-file-pdf","type":"label"}]},{"id":"_help_AjqEeiDUOzj4","title":"Audio & Video","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/File/Audio & Video"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/file/audio-video"},{"name":"iconClass","value":"bx bx-video","type":"label"}]},{"id":"_help_KG48zgNY31NW","title":"Office documents","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/File/Office documents"},{"name":"iconClass","value":"bx bxs-file-doc","type":"label"}]}]},{"id":"_help_GWHEkY4I4OE3","title":"Spreadsheets","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Spreadsheets"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/spreadsheets"},{"name":"iconClass","value":"bx bx-table","type":"label"}]},{"id":"_help_6RM1Q7ppFVoj","title":"Markdown","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Markdown"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/markdown"},{"name":"iconClass","value":"bx bxl-markdown","type":"label"}]},{"id":"_help_jludwdW7N4hg","title":"Converting between note types","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Converting between note types"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/note-type-conversion"},{"name":"iconClass","value":"bx bx-repost","type":"label"}]}]},{"id":"_help_GTwFsgaA0lCt","title":"Collections","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Collections"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/collections"},{"name":"iconClass","value":"bx bx-book","type":"label"}],"children":[{"id":"_help_xWbu3jpNWapp","title":"Calendar","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Collections/Calendar"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/collections/calendar"},{"name":"iconClass","value":"bx bx-calendar","type":"label"}]},{"id":"_help_2FvYrpmOXm29","title":"Table","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Collections/Table"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/collections/table"},{"name":"iconClass","value":"bx bx-table","type":"label"}]},{"id":"_help_CtBQqbwXDx1w","title":"Kanban Board","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Collections/Kanban Board"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/collections/kanban-board"},{"name":"iconClass","value":"bx bx-columns","type":"label"}]},{"id":"_help_81SGnPGMk7Xc","title":"Geo Map","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Collections/Geo Map"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/collections/geomap"},{"name":"iconClass","value":"bx bx-map-alt","type":"label"}],"children":[{"id":"_help_C2H9HK4BzwG7","title":"Drawing shapes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Collections/Geo Map/Drawing shapes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/collections/geomap/shapes"},{"name":"iconClass","value":"bx bx-shape-square","type":"label"}]}]},{"id":"_help_zP3PMqaG71Ct","title":"Presentation","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Collections/Presentation"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/collections/presentation"},{"name":"iconClass","value":"bx bx-slideshow","type":"label"}]},{"id":"_help_8QqnMzx393bx","title":"Grid View","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Collections/Grid View"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/collections/grid"},{"name":"iconClass","value":"bx bxs-grid","type":"label"}]},{"id":"_help_mULW0Q3VojwY","title":"List View","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Collections/List View"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/collections/list"},{"name":"iconClass","value":"bx bx-list-ul","type":"label"}]},{"id":"_help_CssoWBu8I7jF","title":"Collection Properties","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Collections/Collection Properties"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/collections/collection-properties"},{"name":"iconClass","value":"bx bx-cog","type":"label"}]},{"id":"_help_IF7Q6I9x7zuw","title":"Dashboard","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Collections/Dashboard"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/collections/dashboard"},{"name":"iconClass","value":"bx bxs-dashboard","type":"label"}]}]},{"id":"_help_BgmBlOIl72jZ","title":"Troubleshooting","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Troubleshooting"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/troubleshooting"},{"name":"iconClass","value":"bx bx-bug","type":"label"}],"children":[{"id":"_help_wy8So3yZZlH9","title":"Reporting issues","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Troubleshooting/Reporting issues"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/reporting-issues"},{"name":"iconClass","value":"bx bx-bug-alt","type":"label"}]},{"id":"_help_x59R8J8KV5Bp","title":"Anonymized Database","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Troubleshooting/Anonymized Database"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/anonymized-database"},{"name":"iconClass","value":"bx bx-low-vision","type":"label"}]},{"id":"_help_qzNzp9LYQyPT","title":"Error logs","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Troubleshooting/Error logs"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/error-logs"},{"name":"iconClass","value":"bx bx-comment-error","type":"label"}],"children":[{"id":"_help_bnyigUA2UK7s","title":"Backend (server) logs","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Troubleshooting/Error logs/Backend (server) logs"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/error-logs/backend-logs"},{"name":"iconClass","value":"bx bx-server","type":"label"}]},{"id":"_help_9yEHzMyFirZR","title":"Frontend logs","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Troubleshooting/Error logs/Frontend logs"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/error-logs/frontend-logs"},{"name":"iconClass","value":"bx bx-window-alt","type":"label"}]}]},{"id":"_help_vdlYGAcpXAgc","title":"Synchronization fails with 504 Gateway Timeout","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Troubleshooting/Synchronization fails with 504 Gateway Timeout"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/sync-timeout"},{"name":"iconClass","value":"bx bx-error","type":"label"}]},{"id":"_help_s8alTXmpFR61","title":"Refreshing the application","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Troubleshooting/Refreshing the application"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/refreshing-app"},{"name":"iconClass","value":"bx bx-refresh","type":"label"}]}]},{"id":"_help_pKK96zzmvBGf","title":"Theme development","type":"book","attributes":[{"name":"iconClass","value":"bx bx-palette","type":"label"}],"children":[{"id":"_help_7NfNr5pZpVKV","title":"Creating a custom theme","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Theme development/Creating a custom theme"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/theme-development/creating-custom-theme"},{"name":"iconClass","value":"bx bxs-color","type":"label"}]},{"id":"_help_WFGzWeUK6arS","title":"Customize the Next theme","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Theme development/Customize the Next theme"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/theme-development/customize-next-theme"},{"name":"iconClass","value":"bx bx-news","type":"label"}]},{"id":"_help_WN5z4M8ASACJ","title":"Reference","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Theme development/Reference"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/theme-development/reference"},{"name":"iconClass","value":"bx bx-book-open","type":"label"}]},{"id":"_help_AlhDUqhENtH7","title":"Custom app-wide CSS","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Theme development/Custom app-wide CSS"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/theme-development/custom-appcss"},{"name":"iconClass","value":"bx bxs-file-css","type":"label"}]},{"id":"_help_g1mlRoU8CsqC","title":"Creating an icon pack","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Theme development/Creating an icon pack"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/theme-development/creating-icon-pack"},{"name":"iconClass","value":"bx bx-package","type":"label"}]}]},{"id":"_help_tC7s2alapj8V","title":"Advanced Usage","type":"book","attributes":[{"name":"iconClass","value":"bx bx-rocket","type":"label"}],"children":[{"id":"_help_zEY4DaJG4YT5","title":"Attributes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Attributes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/attributes"},{"name":"iconClass","value":"bx bx-list-check","type":"label"}],"children":[{"id":"_help_HI6GBBIduIgv","title":"Labels","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Attributes/Labels"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/attributes/labels"},{"name":"iconClass","value":"bx bx-hash","type":"label"}]},{"id":"_help_Cq5X6iKQop6R","title":"Relations","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Attributes/Relations"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/attributes/relations"},{"name":"iconClass","value":"bx bx-transfer","type":"label"}]},{"id":"_help_bwZpz2ajCEwO","title":"Attribute Inheritance","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Attributes/Attribute Inheritance"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/attributes/attribute-inheritance"},{"name":"iconClass","value":"bx bx-list-plus","type":"label"}]},{"id":"_help_OFXdgB2nNk1F","title":"Promoted Attributes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Attributes/Promoted Attributes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/attributes/promoted-attributes"},{"name":"iconClass","value":"bx bx-table","type":"label"}]}]},{"id":"_help_KC1HB96bqqHX","title":"Templates","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Templates"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/template"},{"name":"iconClass","value":"bx bx-copy","type":"label"}]},{"id":"_help_B2ORr7OVEZtc","title":"Snippets","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Snippets"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/snippets"},{"name":"iconClass","value":"bx bx-news","type":"label"}],"children":[{"id":"_help_VQjhl61rlWh9","title":"Markdown Snippets","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Snippets/Markdown Snippets"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/snippets/markdown-snippets"},{"name":"iconClass","value":"bx bxl-markdown","type":"label"}]},{"id":"_help_IEgsWp5hHH35","title":"Code Snippets","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Snippets/Code Snippets"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/snippets/code-snippets"},{"name":"iconClass","value":"bx bx-code-alt","type":"label"}]},{"id":"_help_pwc194wlRzcH","title":"Text Snippets","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Text Snippets"},{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_BCkXAVs63Ttv","title":"Note Map (Link map, Tree map)","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree map)"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/note-map"},{"name":"iconClass","value":"bx bxs-network-chart","type":"label"}]},{"id":"_help_R9pX4DGra2Vt","title":"Sharing","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Sharing"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/sharing"},{"name":"iconClass","value":"bx bx-share-alt","type":"label"}],"children":[{"id":"_help_Qjt68inQ2bRj","title":"Serving directly the content of a note","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Sharing/Serving directly the content of a note"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/sharing/serving-raw"},{"name":"iconClass","value":"bx bx-code","type":"label"}]},{"id":"_help_ycBFjKrrwE9p","title":"Exporting static HTML for web publishing","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Sharing/Exporting static HTML for web publishing"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/sharing/static-html"},{"name":"iconClass","value":"bx bxs-file-html","type":"label"}]},{"id":"_help_sLIJ6f1dkJYW","title":"Reverse proxy configuration","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Sharing/Reverse proxy configuration"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/sharing/reverse-proxy"},{"name":"iconClass","value":"bx bx-world","type":"label"}]},{"id":"_help_Ad7Ku5gOHrDU","title":"Custom share template","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Sharing/Custom share template"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/sharing/custom-share-template"},{"name":"iconClass","value":"bx bxl-nodejs","type":"label"}]}]},{"id":"_help_5668rwcirq1t","title":"Advanced Showcases","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Advanced Showcases"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/advanced-showcases"},{"name":"iconClass","value":"bx bxs-component","type":"label"}],"children":[{"id":"_help_l0tKav7yLHGF","title":"Day Notes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Advanced Showcases/Day Notes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/advanced-showcases/day-notes"},{"name":"iconClass","value":"bx bx-calendar","type":"label"}]},{"id":"_help_R7abl2fc6Mxi","title":"Weight Tracker","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Advanced Showcases/Weight Tracker"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/advanced-showcases/weight-tracker"},{"name":"iconClass","value":"bx bx-line-chart","type":"label"}]},{"id":"_help_xYjQUYhpbUEW","title":"Task Manager","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Advanced Showcases/Task Manager"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/advanced-showcases/task-manager"},{"name":"iconClass","value":"bx bx-calendar-check","type":"label"}]}]},{"id":"_help_i16PM6A7GXdU","title":"Customizing to-do task states","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Customizing to-do task states"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/customizing-to-do-task-states"},{"name":"iconClass","value":"bx bx-list-check","type":"label"}]},{"id":"_help_J5Ex1ZrMbyJ6","title":"Custom Request Handler","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Custom Request Handler"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/custom-request-handler"},{"name":"iconClass","value":"bx bx-globe","type":"label"}]},{"id":"_help_d3fAXQ2diepH","title":"Custom Resource Providers","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Custom Resource Providers"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/custom-resource-providers"},{"name":"iconClass","value":"bx bxs-file-plus","type":"label"}]},{"id":"_help_pgxEVkzLl1OP","title":"ETAPI (REST API)","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/ETAPI (REST API)"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/etapi"},{"name":"iconClass","value":"bx bx-extension","type":"label"}],"children":[{"id":"_help_9qPsTWBorUhQ","title":"API Reference","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/rest-api/etapi/"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_47ZrP6FNuoG8","title":"Default Note Title","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Default Note Title"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/default-note-title"},{"name":"iconClass","value":"bx bx-edit-alt","type":"label"}]},{"id":"_help_wX4HbRucYSDD","title":"Database","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Database"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/database"},{"name":"iconClass","value":"bx bx-data","type":"label"}],"children":[{"id":"_help_oyIAJ9PvvwHX","title":"Manually altering the database","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Database/Manually altering the database"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/database/manual-editing"},{"name":"iconClass","value":"bx bxs-edit","type":"label"}],"children":[{"id":"_help_YKWqdJhzi2VY","title":"SQL Console","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Database/Manually altering the database/SQL Console"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/database/manual-editing/sql-console"},{"name":"iconClass","value":"bx bx-data","type":"label"}]}]},{"id":"_help_6tZeKvSHEUiB","title":"Demo Notes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Database/Demo Notes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/database/demo-notes"},{"name":"iconClass","value":"bx bx-package","type":"label"}]}]},{"id":"_help_Gzjqa934BdH4","title":"Configuration (config.ini or environment variables)","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/configuration"},{"name":"iconClass","value":"bx bx-cog","type":"label"}],"children":[{"id":"_help_c5xB8m4g2IY6","title":"Trilium instance","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Trilium instance"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/configuration/trilium-instance"},{"name":"iconClass","value":"bx bx-windows","type":"label"}]},{"id":"_help_LWtBjFej3wX3","title":"Cross-Origin Resource Sharing (CORS)","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Cross-Origin Resource Sharing (CORS)"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/configuration/cors"},{"name":"iconClass","value":"bx bx-lock","type":"label"}]}]},{"id":"_help_ivYnonVFBxbQ","title":"Bulk Actions","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Bulk Actions"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/bulk-actions"},{"name":"iconClass","value":"bx bx-list-plus","type":"label"}]},{"id":"_help_4FahAwuGTAwC","title":"Note source","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Note source"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/note-source"},{"name":"iconClass","value":"bx bx-code","type":"label"}]},{"id":"_help_1YeN2MzFUluU","title":"Technologies used","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Technologies used"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/technologies"},{"name":"iconClass","value":"bx bx-pyramid","type":"label"}],"children":[{"id":"_help_MI26XDLSAlCD","title":"CKEditor","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Technologies used/CKEditor"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/technologies/ckeditor"},{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_m1lbrzyKDaRB","title":"Note ID","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Note ID"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/note-id"},{"name":"iconClass","value":"bx bx-fingerprint","type":"label"}]},{"id":"_help_0vTSyvhPTAOz","title":"Internal API","type":"book","attributes":[{"name":"iconClass","value":"bx bxs-component","type":"label"}],"children":[{"id":"_help_z8O2VG4ZZJD7","title":"API Reference","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/rest-api/internal/"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_2mUhVmZK8RF3","title":"Hidden Notes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Hidden Notes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/hidden-notes"},{"name":"iconClass","value":"bx bx-hide","type":"label"}]},{"id":"_help_uYF7pmepw27K","title":"Metrics","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Metrics"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/metrics"},{"name":"iconClass","value":"bx bxs-data","type":"label"}],"children":[{"id":"_help_bOP3TB56fL1V","title":"grafana-dashboard.json","type":"doc","attributes":[{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_64ZTlUPgEPtW","title":"Safe mode","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Safe mode"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/safe-mode"},{"name":"iconClass","value":"bx bxs-virus-block","type":"label"}]},{"id":"_help_HAIOFBoYIIdO","title":"Nightly release","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Nightly release"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/nightly-release"},{"name":"iconClass","value":"bx bx-moon","type":"label"}]},{"id":"_help_ZmT9ln8XJX2o","title":"Read-only database","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Read-only database"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/read-only-db"},{"name":"iconClass","value":"bx bx-book-reader","type":"label"}]},{"id":"_help_TiQbQDgP8L5t","title":"Text Extraction (OCR)","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Text Extraction (OCR)"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/ocr"},{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_GBBMSlVSOIGP","title":"AI","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/AI"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/llm"},{"name":"iconClass","value":"bx bx-bot","type":"label"}],"children":[{"id":"_help_bkPZAMT7d2sR","title":"Providers","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/AI/Providers"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/llm/providers"},{"name":"iconClass","value":"bx bx-cog","type":"label"}],"children":[{"id":"_help_eFhxp9laTW1S","title":"Subscription-based providers","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/AI/Providers/Subscription-based providers"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/llm/providers/subscription-based"},{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_cRRrdZjgyhNc","title":"Privacy","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/AI/Privacy"},{"name":"iconClass","value":"bx bx-lock-alt","type":"label"}]},{"id":"_help_KOWBFgsZXJAD","title":"MCP","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/AI/MCP"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/llm/mcp"},{"name":"iconClass","value":"bx bx-network-chart","type":"label"}]}]},{"id":"_help_CdNpE2pqjmI6","title":"Scripting","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts"},{"name":"iconClass","value":"bx bxs-file-js","type":"label"}],"children":[{"id":"_help_yIhgI5H7A2Sm","title":"Frontend Basics","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics"},{"name":"iconClass","value":"bx bx-window","type":"label"}],"children":[{"id":"_help_MgibgPcfeuGz","title":"Custom Widgets","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget"},{"name":"iconClass","value":"bx bxs-widget","type":"label"}],"children":[{"id":"_help_SynTBQiBsdYJ","title":"Widget Basics","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Widget Basics"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/widget-basics"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_GhurYZjh8e1V","title":"Note context aware widget","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Note context aware widget"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/note-context-aware-widget"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_M8IppdwVHSjG","title":"Right pane widget","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Right pane widget"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/right-pane-widget"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_YNxAqkI5Kg1M","title":"Word count widget","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Word count widget"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/word-count"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_VqGQnnPGnqAU","title":"CSS","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/CSS"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/css"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_gMkgcLJ6jBkg","title":"Troubleshooting","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Troubleshooting"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/troubleshooting"},{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_es8OU2GuguFU","title":"Examples","type":"book","attributes":[{"name":"iconClass","value":"bx bx-code-alt","type":"label"}],"children":[{"id":"_help_TjLYAo3JMO8X","title":"\"New Task\" launcher button","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Examples/New Task launcher button"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/examples/new-task-button"},{"name":"iconClass","value":"bx bx-task","type":"label"}]},{"id":"_help_7kZPMD0uFwkH","title":"Downloading responses from Google Forms","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Examples/Downloading responses from Google Forms"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/examples/responses-from-google-forms"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_DL92EjAaXT26","title":"Using promoted attributes to configure scripts","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Examples/Using promoted attributes to configure scripts"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/examples/promoted-attributes-config"},{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_4Gn3psZKsfSm","title":"Launch Bar Widgets","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Launch Bar Widgets"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/launch-bar-widgets"},{"name":"iconClass","value":"bx bx-dock-left","type":"label"}],"children":[{"id":"_help_IPArqVfDQ4We","title":"Note Title Widget","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Launch Bar Widgets/Note Title Widget"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/launch-bar-widgets/note-title"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_gcI7RPbaNSh3","title":"Analog Watch","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Launch Bar Widgets/Analog Watch"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/launch-bar-widgets/analog-watch"},{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_KLsqhjaqh1QW","title":"Preact","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Preact"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/preac"},{"name":"iconClass","value":"bx bxl-react","type":"label"}],"children":[{"id":"_help_Bqde6BvPo05g","title":"Component libraries","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Preact/Component libraries"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/preac/component-libraries"},{"name":"iconClass","value":"bx bxs-component","type":"label"}]},{"id":"_help_ykYtbM9k3a7B","title":"Hooks","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Preact/Hooks"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/preac/hooks"},{"name":"iconClass","value":"bx bx-question-mark","type":"label"}]},{"id":"_help_Sg9GrCtyftZf","title":"CSS","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Preact/CSS"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/preac/css"},{"name":"iconClass","value":"bx bxs-file-css","type":"label"}]},{"id":"_help_RSssb9S3xgSr","title":"Built-in components","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Preact/Built-in components"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/preac/builtin-components"},{"name":"iconClass","value":"bx bxs-component","type":"label"}],"children":[{"id":"_help_i9B4IW7b6V6z","title":"Widget showcase","type":"doc","attributes":[{"name":"iconClass","value":"bx bx-file","type":"label"}]}]}]},{"id":"_help_irkwjdNtjcxR","title":"Frontend Events","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Frontend Events"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/events"},{"name":"iconClass","value":"bx bx-rss","type":"label"}]}]},{"id":"_help_SPirpZypehBG","title":"Backend scripts","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Backend scripts"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/backend-basics"},{"name":"iconClass","value":"bx bx-server","type":"label"}],"children":[{"id":"_help_fZ2IGYFXjkEy","title":"Server-side imports","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Backend scripts/Server-side imports"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/backend-basics/server-imports"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_GPERMystNGTB","title":"Backend Events","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Backend scripts/Backend Events"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/backend-basics/events"},{"name":"iconClass","value":"bx bx-rss","type":"label"}]}]},{"id":"_help_wqXwKJl6VpNk","title":"Common concepts","type":"book","attributes":[{"name":"iconClass","value":"bx bxl-nodejs","type":"label"}],"children":[{"id":"_help_hA834UaHhSNn","title":"Script bundles","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Common concepts/Script bundles"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/common-concepts/bundles"},{"name":"iconClass","value":"bx bx-package","type":"label"}]}]},{"id":"_help_GLks18SNjxmC","title":"Script API","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Script API"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/script-api"},{"name":"iconClass","value":"bx bx-code-curly","type":"label"}],"children":[{"id":"_help_Q2z6av6JZVWm","title":"Frontend API","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/script-api/frontend"},{"name":"iconClass","value":"bx bx-folder","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_habiZ3HU8Kw8","title":"FNote","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/script-api/frontend/interfaces/FNote.html"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_MEtfsqa5VwNi","title":"Backend API","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/script-api/backend"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_GFXVHyblVN3d","title":"Electron API","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/script-api/electron"},{"name":"iconClass","value":"bx bx-window-alt","type":"label"}],"enforceAttributes":true},{"id":"_help_ApVHZ8JY5ofC","title":"Day.js","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Script API/Day.js"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/script-api/day.js"},{"name":"iconClass","value":"bx bx-calendar","type":"label"}]}]},{"id":"_help_vElnKeDNPSVl","title":"Logging","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Logging"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/logging"},{"name":"iconClass","value":"bx bx-terminal","type":"label"}]},{"id":"_help_cNpC0ITcfX0N","title":"Breaking changes","type":"book","attributes":[{"name":"iconClass","value":"bx bx-up-arrow-alt","type":"label"}],"children":[{"id":"_help_kTx7WqLdZ3Ry","title":"v0.106.0: Removal of cheerio","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Breaking changes/v0.106.0 Removal of cheerio"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/breaking-changes/cheerio-removal"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_YeOa2l7Pu39I","title":"v0.104.0: Disabling the Node integration in Electron","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Breaking changes/v0.104.0 Disabling the Node integration in Electron"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/breaking-changes/disabling-node-integration"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_fqAK6opjUagR","title":"v0.103.0: Removal of axios","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Breaking changes/v0.103.0 Removal of axios"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/breaking-changes/axios-removal"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_pAJ0jWz16xFm","title":"v0.103.0: `cheerio` is now deprecated","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Breaking changes/v0.103.0 `cheerio` is now deprecated"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/breaking-changes/cheerio-deprecated"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_72dxvnbnkDFY","title":"v0.102.0: Upgrade to jQuery 4.0.0","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Breaking changes/v0.102.0 Upgrade to jQuery 4.0.0"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/breaking-changes/jquery4"},{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_fiHicjpHjIRJ","title":"Security","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Security"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/security"},{"name":"iconClass","value":"bx bx-shield","type":"label"}]}]},{"id":"_help_Fm0j45KqyHpU","title":"Miscellaneous","type":"book","attributes":[{"name":"iconClass","value":"bx bx-info-circle","type":"label"}],"children":[{"id":"_help_WFbFXrgnDyyU","title":"Privacy Policy","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Miscellaneous/Privacy Policy"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/misc/privacy-policy"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_NcsmUYZRWEW4","title":"Patterns of personal knowledge","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Miscellaneous/Patterns of personal knowledge"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/misc/patterns-of-personal-knowledge"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_d1Ap6Pg6IjaJ","title":"License","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Miscellaneous/License"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/misc/license"},{"name":"iconClass","value":"bx bx-file","type":"label"}]}]}]
\ No newline at end of file
+[{"id":"_help_BOCnjTMBCoxW","title":"Feature Highlights","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Feature Highlights"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/feature-highlights"},{"name":"iconClass","value":"bx bx-star","type":"label"}]},{"id":"_help_Otzi9La2YAUX","title":"Installation & Setup","type":"book","attributes":[{"name":"iconClass","value":"bx bx-cog","type":"label"}],"children":[{"id":"_help_poXkQfguuA0U","title":"Desktop Installation","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Desktop Installation"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/desktop"},{"name":"iconClass","value":"bx bx-desktop","type":"label"}],"children":[{"id":"_help_nRqcgfTb97uV","title":"Using the desktop application as a server","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Desktop Installation/Using the desktop application as a server"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/desktop/desktop-as-server"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_Rp0q8bSP6Ayl","title":"System Requirements","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Desktop Installation/System Requirements"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/desktop/system-requirements"},{"name":"iconClass","value":"bx bx-chip","type":"label"}]},{"id":"_help_Un4wj2Mak2Ky","title":"Nix flake","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Desktop Installation/Nix flake"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/desktop/nix-flake"},{"name":"iconClass","value":"bx bxl-tux","type":"label"}]},{"id":"_help_swSFivWk6KkA","title":"Network Access","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Desktop Installation/Network Access"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/desktop/network-access"},{"name":"iconClass","value":"bx bx-network-chart","type":"label"}]},{"id":"_help_7iwde4lsKc6O","title":"Tray icon & automatic startup","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Desktop Installation/Tray icon & automatic startup"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/desktop/tray-icon-and-startup"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_hvRfsDr591WP","title":"Troubleshooting","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Desktop Installation/Troubleshooting"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/desktop/troubleshooting"},{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_WOcw2SLH6tbX","title":"Server Installation","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server"},{"name":"iconClass","value":"bx bx-server","type":"label"}],"children":[{"id":"_help_Dgg7bR3b6K9j","title":"1. Installing the server","type":"book","attributes":[{"name":"iconClass","value":"bx bx-folder","type":"label"}],"children":[{"id":"_help_3tW6mORuTHnB","title":"Packaged version for Linux","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Packaged version for Linux"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/installation/packaged-server"},{"name":"iconClass","value":"bx bxl-tux","type":"label"}]},{"id":"_help_rWX5eY045zbE","title":"Using Docker","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Using Docker"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/installation/docker"},{"name":"iconClass","value":"bx bxl-docker","type":"label"}]},{"id":"_help_moVgBcoxE3EK","title":"On NixOS","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/On NixOS"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/installation/nixos"},{"name":"iconClass","value":"bx bxl-tux","type":"label"}]},{"id":"_help_J1Bb6lVlwU5T","title":"Manually","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Manually"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/installation/manual"},{"name":"iconClass","value":"bx bx-code-alt","type":"label"}]},{"id":"_help_DCmT6e7clMoP","title":"Using Kubernetes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Using Kubernetes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/installation/kubernetes"},{"name":"iconClass","value":"bx bxl-kubernetes","type":"label"}]},{"id":"_help_klCWNks3ReaQ","title":"Multiple server instances","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Multiple server instances"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/installation/multiple-instances"},{"name":"iconClass","value":"bx bxs-user-account","type":"label"}]}]},{"id":"_help_vcjrb3VVYPZI","title":"2. Reverse proxy","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/reverse-proxy"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"children":[{"id":"_help_ud6MShXL4WpO","title":"Nginx","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Nginx"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/reverse-proxy/nginx"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_fDLvzOx29Pfg","title":"Apache using Docker","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Apache using Docker"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/reverse-proxy/apache"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_LLzSMXACKhUs","title":"Trusted proxy","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Trusted proxy"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/reverse-proxy/trusted-proxy"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_5ERVJb9s4FRD","title":"Traefik","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Traefik"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/reverse-proxy/traefik"},{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_l2VkvOwUNfZj","title":"HTTPS (TLS)","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/HTTPS (TLS)"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/https"},{"name":"iconClass","value":"bx bx-lock-alt","type":"label"}]},{"id":"_help_0hzsNCP31IAB","title":"Authentication","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/Authentication"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/auth"},{"name":"iconClass","value":"bx bx-user","type":"label"}],"children":[{"id":"_help_lwAX5SvbrK2g","title":"Resetting your password","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/Authentication/Resetting your password"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/auth/password-reset"},{"name":"iconClass","value":"bx bx-key","type":"label"}]}]},{"id":"_help_7DAiwaf8Z7Rz","title":"Multi-factor authentication with TOTP","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/Multi-factor authentication with TOTP"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/mfa"},{"name":"iconClass","value":"bx bx-stopwatch","type":"label"}]},{"id":"_help_Un4wj2Mak2Ky","title":"Nix flake","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Desktop Installation/Nix flake"},{"name":"iconClass","value":"bx bxl-tux","type":"label"}]},{"id":"_help_x1lQNKQBqLcA","title":"Signing in with OpenID Connect","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/Signing in with OpenID Connect"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/openid-connect"},{"name":"iconClass","value":"bx bxs-key","type":"label"}],"children":[{"id":"_help_IgkTHSaFfq6A","title":"Setting up with various providers","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/Signing in with OpenID Connect/Setting up with various providers"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/openid-connect/setup"},{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_yeEaYqosGLSh","title":"Third-party cloud hosting","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/Third-party cloud hosting"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/cloud-hosting"},{"name":"iconClass","value":"bx bx-cloud","type":"label"}]},{"id":"_help_iGTnKjubbXkA","title":"System Requirements","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Server Installation/System Requirements"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/server/system-requirements"},{"name":"iconClass","value":"bx bx-chip","type":"label"}]}]},{"id":"_help_cbkrhQjrkKrh","title":"Synchronization","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Synchronization"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/synchronization"},{"name":"iconClass","value":"bx bx-sync","type":"label"}]},{"id":"_help_RDslemsQ6gCp","title":"Mobile Frontend","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Mobile Frontend"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/mobile-frontend"},{"name":"iconClass","value":"bx bx-mobile-alt","type":"label"}]},{"id":"_help_MtPxeAWVAzMg","title":"Web Clipper","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Web Clipper"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/web-clipper"},{"name":"iconClass","value":"bx bx-paperclip","type":"label"}]},{"id":"_help_n1lujUxCwipy","title":"Upgrading TriliumNext","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Upgrading TriliumNext"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/upgrading"},{"name":"iconClass","value":"bx bx-up-arrow-alt","type":"label"}]},{"id":"_help_ODY7qQn5m2FT","title":"Backup","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Backup"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/backup"},{"name":"iconClass","value":"bx bx-hdd","type":"label"}]},{"id":"_help_tAassRL4RSQL","title":"Data directory","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Installation & Setup/Data directory"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/setup/data-directory"},{"name":"iconClass","value":"bx bx-folder-open","type":"label"}]}]},{"id":"_help_gh7bpGYxajRS","title":"Basic Concepts and Features","type":"book","attributes":[{"name":"iconClass","value":"bx bx-help-circle","type":"label"}],"children":[{"id":"_help_Vc8PjrjAGuOp","title":"UI Elements","type":"book","attributes":[{"name":"iconClass","value":"bx bx-window-alt","type":"label"}],"children":[{"id":"_help_x0JgW8UqGXvq","title":"Vertical and horizontal layout","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Vertical and horizontal layout"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/layouts"},{"name":"iconClass","value":"bx bxs-layout","type":"label"}]},{"id":"_help_x3i7MxGccDuM","title":"Global menu","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Global menu"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/global-menu"},{"name":"iconClass","value":"bx bx-menu","type":"label"}]},{"id":"_help_oPVyFC7WL2Lp","title":"Note Tree","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-tree"},{"name":"iconClass","value":"bx bxs-tree-alt","type":"label"}],"children":[{"id":"_help_YtSN43OrfzaA","title":"Note tree contextual menu","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Note tree contextual menu"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-tree/context-menu"},{"name":"iconClass","value":"bx bx-menu","type":"label"}]},{"id":"_help_yTjUdsOi4CIE","title":"Multiple selection","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Multiple selection"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-tree/multiple-selection"},{"name":"iconClass","value":"bx bx-list-plus","type":"label"}]},{"id":"_help_DvdZhoQZY9Yd","title":"Keyboard shortcuts","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Keyboard shortcuts"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-tree/keyboard-shortcuts"},{"name":"iconClass","value":"bx bxs-keyboard","type":"label"}]},{"id":"_help_wyaGBBQrl4i3","title":"Hiding the subtree","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Hiding the subtree"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-tree/hiding-subtree"},{"name":"iconClass","value":"bx bx-hide","type":"label"}]}]},{"id":"_help_BlN9DFI679QC","title":"Ribbon","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Ribbon"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/ribbon"},{"name":"iconClass","value":"bx bx-dots-horizontal","type":"label"}]},{"id":"_help_3seOhtN8uLIY","title":"Tabs","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Tabs"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/tabs"},{"name":"iconClass","value":"bx bx-dock-top","type":"label"}]},{"id":"_help_xYmIYSP6wE3F","title":"Launch Bar","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Launch Bar"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/launch-bar"},{"name":"iconClass","value":"bx bx-sidebar","type":"label"}]},{"id":"_help_8YBEPzcpUgxw","title":"Note buttons","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Note buttons"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-buttons"},{"name":"iconClass","value":"bx bx-dots-vertical-rounded","type":"label"}]},{"id":"_help_4TIF1oA4VQRO","title":"Options","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Options"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/options"},{"name":"iconClass","value":"bx bx-cog","type":"label"}]},{"id":"_help_luNhaphA37EO","title":"Split View","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Split View"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/split-view"},{"name":"iconClass","value":"bx bx-dock-right","type":"label"}]},{"id":"_help_XpOYSgsLkTJy","title":"Floating buttons","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Floating buttons"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/floating-buttons"},{"name":"iconClass","value":"bx bx-rectangle","type":"label"}]},{"id":"_help_RnaPdbciOfeq","title":"Right Sidebar","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/right-sidebar"},{"name":"iconClass","value":"bx bxs-dock-right","type":"label"}],"children":[{"id":"_help_2dcGDhp9WFKb","title":"Outline tab","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Outline tab"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/right-sidebar/outline"},{"name":"iconClass","value":"bx bx-list-ul","type":"label"}]},{"id":"_help_uNtgN0cUKEBc","title":"Attributes tab","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Attributes tab"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/right-sidebar/attributes"},{"name":"iconClass","value":"bx bx-hash","type":"label"}]},{"id":"_help_LrKznOtw9cQD","title":"AI chat tab","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/AI chat tab"},{"name":"iconClass","value":"bx bx-bot","type":"label"}]},{"id":"_help_KRlZFoIH0j6p","title":"Connections tab","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Connections tab"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/right-sidebar/connections"},{"name":"iconClass","value":"bx bx-network-chart","type":"label"}]}]},{"id":"_help_r5JGHN99bVKn","title":"Recent Changes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Recent Changes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/recent-changes"},{"name":"iconClass","value":"bx bx-history","type":"label"}]},{"id":"_help_ny318J39E5Z0","title":"Zoom","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Zoom"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/zoom"},{"name":"iconClass","value":"bx bx-zoom-in","type":"label"}]},{"id":"_help_lgKX7r3aL30x","title":"Note Tooltip","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tooltip"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-tooltip"},{"name":"iconClass","value":"bx bx-message-detail","type":"label"}]},{"id":"_help_IjZS7iK5EXtb","title":"New Layout","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/New Layout"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/new-layout"},{"name":"iconClass","value":"bx bx-layout","type":"label"}],"children":[{"id":"_help_I6p2a06hdnL6","title":"Breadcrumb","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/New Layout/Breadcrumb"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/new-layout/breadcrumb"},{"name":"iconClass","value":"bx bx-chevron-right","type":"label"}]},{"id":"_help_AlJ73vBCjWDw","title":"Status bar","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/New Layout/Status bar"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/new-layout/status-bar"},{"name":"iconClass","value":"bx bx-dock-bottom","type":"label"}]}]},{"id":"_help_SL5f1Auq7sVN","title":"Note types with split view","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Note types with split view"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-types-with-split-view"},{"name":"iconClass","value":"bx bx-card","type":"label"}]},{"id":"_help_t596jLvPrqkS","title":"Content width","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Content width"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/content-width"},{"name":"iconClass","value":"bx bx-detail","type":"label"}]},{"id":"_help_jcQVxzYybYgz","title":"Note contextual menu","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/UI Elements/Note contextual menu"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-menu"},{"name":"iconClass","value":"bx bx-menu","type":"label"}]}]},{"id":"_help_BFs8mudNFgCS","title":"Notes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes"},{"name":"iconClass","value":"bx bx-notepad","type":"label"}],"children":[{"id":"_help_l7pigIGu01K2","title":"Title","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Title"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/title"},{"name":"iconClass","value":"bx bx-text","type":"label"}]},{"id":"_help_p9kXRFAkwN4o","title":"Note Icons & Colors","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Note Icons & Colors"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/note-icons"},{"name":"iconClass","value":"bx bxs-grid","type":"label"}]},{"id":"_help_0vhv7lsOLy82","title":"Attachments","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Attachments"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/attachments"},{"name":"iconClass","value":"bx bx-paperclip","type":"label"}]},{"id":"_help_IakOLONlIfGI","title":"Cloning Notes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Cloning Notes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/cloning"},{"name":"iconClass","value":"bx bx-duplicate","type":"label"}],"children":[{"id":"_help_TBwsyfadTA18","title":"Branch prefix","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Cloning Notes/Branch prefix"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/cloning/branch-prefix"},{"name":"iconClass","value":"bx bx-rename","type":"label"}]}]},{"id":"_help_bwg0e8ewQMak","title":"Protected Notes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Protected Notes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/protected-notes"},{"name":"iconClass","value":"bx bx-lock-alt","type":"label"}]},{"id":"_help_MKmLg5x6xkor","title":"Archived Notes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Archived Notes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/archived-notes"},{"name":"iconClass","value":"bx bx-box","type":"label"}]},{"id":"_help_vZWERwf8U3nx","title":"Note Revisions","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Note Revisions"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/note-revisions"},{"name":"iconClass","value":"bx bx-history","type":"label"}]},{"id":"_help_aGlEvb9hyDhS","title":"Sorting Notes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Sorting Notes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/sorting"},{"name":"iconClass","value":"bx bx-sort-up","type":"label"}]},{"id":"_help_NRnIZmSMc5sj","title":"Printing & Exporting as PDF","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Printing & Exporting as PDF"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/printing-and-pdf-export"},{"name":"iconClass","value":"bx bx-printer","type":"label"}]},{"id":"_help_CoFPLs3dRlXc","title":"Read-Only Notes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Read-Only Notes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/read-only-notes"},{"name":"iconClass","value":"bx bx-edit-alt","type":"label"}]},{"id":"_help_0ESUbbAxVnoK","title":"Note List","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Note List"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/note-list"},{"name":"iconClass","value":"bx bxs-grid","type":"label"}]},{"id":"_help_S0Fos78ZfcY7","title":"Note Inbox","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Note Inbox"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/note-inbox"},{"name":"iconClass","value":"bx bxs-inbox","type":"label"}]},{"id":"_help_5Ct4MAJTS4tQ","title":"Restoring Deleted Notes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Notes/Restoring Deleted Notes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/restoring-deleted-notes"},{"name":"iconClass","value":"bx bx-trash-alt","type":"label"}]}]},{"id":"_help_wArbEsdSae6g","title":"Navigation","type":"book","attributes":[{"name":"iconClass","value":"bx bx-navigation","type":"label"}],"children":[{"id":"_help_kBrnXNG3Hplm","title":"Tree Concepts","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Navigation/Tree Concepts"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/tree-concepts"},{"name":"iconClass","value":"bx bx-pyramid","type":"label"}]},{"id":"_help_MMiBEQljMQh2","title":"Note Navigation","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Navigation/Note Navigation"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/note-navigation"},{"name":"iconClass","value":"bx bxs-navigation","type":"label"}]},{"id":"_help_Ms1nauBra7gq","title":"Quick search","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Navigation/Quick search"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/quick-search"},{"name":"iconClass","value":"bx bx-search-alt-2","type":"label"}]},{"id":"_help_F1r9QtzQLZqm","title":"Jump to & command palette","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Navigation/Jump to & command palette"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/jump-to"},{"name":"iconClass","value":"bx bx-send","type":"label"}]},{"id":"_help_eIg8jdvaoNNd","title":"Search","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Navigation/Search"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/search"},{"name":"iconClass","value":"bx bx-search-alt-2","type":"label"}],"children":[{"id":"_help_Oxyb6jOjjVNL","title":"Under the hood","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Navigation/Search/Under the hood"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/search/under-the-hood"},{"name":"iconClass","value":"bx bxs-cog","type":"label"}]},{"id":"_help_WbjlujkUhEb5","title":"How search matches your text","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Navigation/Search/How search matches your text"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/search/matching"},{"name":"iconClass","value":"bx bx-file-find","type":"label"}]}]},{"id":"_help_u3YFHC9tQlpm","title":"Bookmarks","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Navigation/Bookmarks"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/bookmarks"},{"name":"iconClass","value":"bx bx-bookmarks","type":"label"}]},{"id":"_help_OR8WJ7Iz9K4U","title":"Note Hoisting","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Navigation/Note Hoisting"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/note-hoisting"},{"name":"iconClass","value":"bx bxs-chevrons-up","type":"label"}]},{"id":"_help_ZjLYv08Rp3qC","title":"Quick edit","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Navigation/Quick edit"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/quick-edit"},{"name":"iconClass","value":"bx bx-edit","type":"label"}]},{"id":"_help_9sRHySam5fXb","title":"Workspaces","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/workspace"},{"name":"iconClass","value":"bx bx-door-open","type":"label"}]},{"id":"_help_xWtq5NUHOwql","title":"Similar Notes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Navigation/Similar Notes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/similar-notes"},{"name":"iconClass","value":"bx bx-bar-chart","type":"label"}]},{"id":"_help_McngOG2jbUWX","title":"Search in note","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Navigation/Search in note"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/search-in-note"},{"name":"iconClass","value":"bx bx-search-alt-2","type":"label"}]}]},{"id":"_help_A9Oc6YKKc65v","title":"Keyboard Shortcuts","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/keyboard-shortcuts"},{"name":"iconClass","value":"bx bxs-keyboard","type":"label"}]},{"id":"_help_Wy267RK4M69c","title":"Themes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Themes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/themes"},{"name":"iconClass","value":"bx bx-palette","type":"label"}],"children":[{"id":"_help_VbjZvtUek0Ln","title":"Theme Gallery","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Themes/Theme Gallery"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/themes/theme-gallery"},{"name":"iconClass","value":"bx bx-book-reader","type":"label"}]},{"id":"_help_gOKqSJgXLcIj","title":"Icon Packs","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Themes/Icon Packs"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/themes/icon-packs"},{"name":"iconClass","value":"bx bx-package","type":"label"}]},{"id":"_help_w4rMEhJsALlA","title":"Personalizing the font","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Themes/Personalizing the font"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/themes/fonts"},{"name":"iconClass","value":"bx bx-font","type":"label"}]}]},{"id":"_help_mHbBMPDPkVV5","title":"Import & Export","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Import & Export"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export"},{"name":"iconClass","value":"bx bx-import","type":"label"}],"children":[{"id":"_help_Oau6X9rCuegd","title":"Markdown","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Import & Export/Markdown"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/markdown"},{"name":"iconClass","value":"bx bxl-markdown","type":"label"}],"children":[{"id":"_help_rJ9grSgoExl9","title":"Supported syntax","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Import & Export/Markdown/Supported syntax"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/markdown/supported-syntax"},{"name":"iconClass","value":"bx bx-code-alt","type":"label"}]}]},{"id":"_help_ckZ2uNWQmVeX","title":"Importing data from other applications","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps"},{"name":"iconClass","value":"bx bx-import","type":"label"}],"children":[{"id":"_help_GnhlmrATVqcH","title":"Microsoft OneNote","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Microsoft OneNote"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/onenote"},{"name":"iconClass","value":"bx bx-window-open","type":"label"}],"children":[{"id":"_help_LpvyEIBIAAj7","title":"Tags","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Microsoft OneNote/Tags"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/onenote/tags"},{"name":"iconClass","value":"bx bx-star","type":"label"}]}]},{"id":"_help_Y5mKeJ6dsCld","title":"Notion","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Notion"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/notion"},{"name":"iconClass","value":"bx bx-window-open","type":"label"}]},{"id":"_help_nhQVuO4zvIxi","title":"Google Keep","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Google Keep"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/keep"},{"name":"iconClass","value":"bx bx-window-open","type":"label"}]},{"id":"_help_syuSEKf2rUGr","title":"Evernote","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Evernote"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/evernote"},{"name":"iconClass","value":"bx bx-window-open","type":"label"}],"children":[{"id":"_help_dj3j8dG4th4l","title":"Process internal links by title","type":"doc","attributes":[{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_83zmPBJRgfnW","title":"Anytype","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Anytype"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/anytype"},{"name":"iconClass","value":"bx bx-window-open","type":"label"}]},{"id":"_help_iWD7wiIuMtgV","title":"Obsidian","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Obsidian"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/obsidian"},{"name":"iconClass","value":"bx bx-window-open","type":"label"}]}]}]},{"id":"_help_rC3pL2aptaRE","title":"Zen mode","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Zen mode"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/zen-mode"},{"name":"iconClass","value":"bx bxs-yin-yang","type":"label"}]},{"id":"_help_YzMcWlCVeW09","title":"Active content","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Basic Concepts and Features/Active content"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/concepts/active-content"},{"name":"iconClass","value":"bx bxs-widget","type":"label"}]}]},{"id":"_help_s3YCWHBfmYuM","title":"Quick Start","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Quick Start"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/quick-start"},{"name":"iconClass","value":"bx bx-run","type":"label"}]},{"id":"_help_i6dbnitykE5D","title":"FAQ","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/FAQ"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/faq"},{"name":"iconClass","value":"bx bx-question-mark","type":"label"}]},{"id":"_help_KSZ04uQ2D1St","title":"Note Types","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types"},{"name":"iconClass","value":"bx bx-edit","type":"label"}],"children":[{"id":"_help_iPIMuisry3hd","title":"Text","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text"},{"name":"iconClass","value":"bx bx-note","type":"label"}],"children":[{"id":"_help_oSuaNgyyKnhu","title":"Anchors","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Anchors"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/bookmarks"},{"name":"iconClass","value":"bx bx-bookmark","type":"label"}]},{"id":"_help_oI7GoyilXXAr","title":"Automatic replacements","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Automatic replacements"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/automatic-replacements"},{"name":"iconClass","value":"bx bx-reply","type":"label"}]},{"id":"_help_NwBbFdNZ9h7O","title":"Block quotes & admonitions","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Block quotes & admonitions"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/blockquotes"},{"name":"iconClass","value":"bx bx-info-circle","type":"label"}]},{"id":"_help_klC3ilXa9kUE","title":"Block references","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Block references"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/block-references"},{"name":"iconClass","value":"bx bx-paragraph","type":"label"}]},{"id":"_help_4n4oQUVbnOxa","title":"Collapsible blocks","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Collapsible blocks"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/collapsible-blocks"},{"name":"iconClass","value":"bx bx-chevron-down-circle","type":"label"}]},{"id":"_help_veGu4faJErEM","title":"Content language & Right-to-left support","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Content language & Right-to-left support"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/content-language"},{"name":"iconClass","value":"bx bx-align-right","type":"label"}]},{"id":"_help_2x0ZAX9ePtzV","title":"Cut to subnote","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Cut to subnote"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/cut-to-subnote"},{"name":"iconClass","value":"bx bx-cut","type":"label"}]},{"id":"_help_UYuUB1ZekNQU","title":"Developer-specific formatting","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Developer-specific formatting"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/developer-formatting"},{"name":"iconClass","value":"bx bx-code-alt","type":"label"}],"children":[{"id":"_help_QxEyIjRBizuC","title":"Code blocks","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Developer-specific formatting/Code blocks"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/developer-formatting/code-blocks"},{"name":"iconClass","value":"bx bx-code","type":"label"}]}]},{"id":"_help_AgjCISero73a","title":"Footnotes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Footnotes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/footnotes"},{"name":"iconClass","value":"bx bx-bracket","type":"label"}]},{"id":"_help_5wZallV2Qo1t","title":"Format Painter","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Format Painter"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/format-painter"},{"name":"iconClass","value":"bx bxs-paint-roll","type":"label"}]},{"id":"_help_nRhnJkTT8cPs","title":"Formatting toolbar","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Formatting toolbar"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/formatting-toolbar"},{"name":"iconClass","value":"bx bx-text","type":"label"}]},{"id":"_help_Gr6xFaF6ioJ5","title":"General formatting","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/General formatting"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/general-formatting"},{"name":"iconClass","value":"bx bx-bold","type":"label"}]},{"id":"_help_AxshuNRegLAv","title":"Highlights list","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Highlights list"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/highlights-list"},{"name":"iconClass","value":"bx bx-highlight","type":"label"}]},{"id":"_help_mT0HEkOsz6i1","title":"Images","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Images"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/images"},{"name":"iconClass","value":"bx bx-image-alt","type":"label"}],"children":[{"id":"_help_0Ofbk1aSuVRu","title":"Image references","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Images/Image references"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/images/image-references"},{"name":"iconClass","value":"bx bxs-file-image","type":"label"}]}]},{"id":"_help_VRoP0g1uHHc2","title":"In-editor AI assistant","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/In-editor AI assistant"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/ai-assistant"},{"name":"iconClass","value":"bx bx-bot","type":"label"}],"children":[{"id":"_help_mVEYwt20exhO","title":"Custom AI quick actions","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/In-editor AI assistant/Custom AI quick actions"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/ai-assistant/custom-quick-actions"},{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_nBAXQFj20hS1","title":"Include Note","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Include Note"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/include-note"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_CohkqWQC1iBv","title":"Insert buttons","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Insert buttons"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/insert-buttons"},{"name":"iconClass","value":"bx bx-plus","type":"label"}],"children":[{"id":"_help_hD8GawVuazff","title":"Icons","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Insert buttons/Icons"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/insert-buttons/icons"},{"name":"iconClass","value":"bx bx-sticker","type":"label"}]}]},{"id":"_help_oiVPnW8QfnvS","title":"Keyboard shortcuts","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Keyboard shortcuts"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/keyboard-shortcuts"},{"name":"iconClass","value":"bx bxs-keyboard","type":"label"}]},{"id":"_help_UmgZAfcltxkS","title":"Link Previews","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Link Previews"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/link-previews"},{"name":"iconClass","value":"bx bx-link-external","type":"label"}]},{"id":"_help_QEAPj01N5f7w","title":"Links","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Links"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/links"},{"name":"iconClass","value":"bx bx-link-alt","type":"label"}],"children":[{"id":"_help_3IDVtesTQ8ds","title":"External links","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Links/External links"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/links/external-links"},{"name":"iconClass","value":"bx bx-link-external","type":"label"}]},{"id":"_help_hrZ1D00cLbal","title":"Internal (reference) links","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Links/Internal (reference) links"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/links/reference-links"},{"name":"iconClass","value":"bx bx-link","type":"label"}]},{"id":"_help_wfGXLmm7x27z","title":"Backlinks","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Links/Backlinks"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/links/backlinks"},{"name":"iconClass","value":"bx bx-link-alt","type":"label"}]}]},{"id":"_help_S6Xx8QIWTV66","title":"Lists","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Lists"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/lists"},{"name":"iconClass","value":"bx bx-list-ul","type":"label"}]},{"id":"_help_QrtTYPmdd1qq","title":"Markdown-like formatting","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Markdown-like formatting"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/markdown-formatting"},{"name":"iconClass","value":"bx bxl-markdown","type":"label"}]},{"id":"_help_YfYAtQBcfo5V","title":"Math Equations","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Math Equations"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/math-equations"},{"name":"iconClass","value":"bx bx-math","type":"label"}]},{"id":"_help_dEHYtoWWi8ct","title":"Other features","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Other features"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/other-features"},{"name":"iconClass","value":"bx bxs-grid","type":"label"}]},{"id":"_help_gLt3vA97tMcp","title":"Premium features","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Premium features"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/premium-features"},{"name":"iconClass","value":"bx bx-star","type":"label"}]},{"id":"_help_ZlN4nump6EbW","title":"Slash Commands","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Slash Commands"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/slash-commands"},{"name":"iconClass","value":"bx bx-menu","type":"label"}]},{"id":"_help_oBo3iHIZnbG2","title":"Spell Check","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Spell Check"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/spellcheck"},{"name":"iconClass","value":"bx bx-check-double","type":"label"}]},{"id":"_help_BFvAtE74rbP6","title":"Table of contents","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Table of contents"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/table-of-contents"},{"name":"iconClass","value":"bx bx-heading","type":"label"}]},{"id":"_help_NdowYOC1GFKS","title":"Tables","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Tables"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/tables"},{"name":"iconClass","value":"bx bx-table","type":"label"}]},{"id":"_help_pwc194wlRzcH","title":"Text Snippets","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Text Snippets"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_fASfBrYnquKU","title":"To-do Lists","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/To-do Lists"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/text/todo-lists"},{"name":"iconClass","value":"bx bx-checkbox-checked","type":"label"}]}]},{"id":"_help_6f9hih2hXXZk","title":"Code","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Code"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/code"},{"name":"iconClass","value":"bx bx-code","type":"label"}]},{"id":"_help_m523cpzocqaD","title":"Saved Search","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Saved Search"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/saved-search"},{"name":"iconClass","value":"bx bx-file-find","type":"label"}]},{"id":"_help_iRwzGnHPzonm","title":"Relation Map","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Relation Map"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/relation-map"},{"name":"iconClass","value":"bx bxs-network-chart","type":"label"}]},{"id":"_help_bdUJEHsAPYQR","title":"Note Map","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Note Map"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/note-map"},{"name":"iconClass","value":"bx bxs-network-chart","type":"label"}]},{"id":"_help_HcABDtFCkbFN","title":"Render Note","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Render Note"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/render-note"},{"name":"iconClass","value":"bx bx-extension","type":"label"}]},{"id":"_help_s1aBHPd79XYj","title":"Mermaid Diagrams","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Mermaid Diagrams"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/mermaid-diagrams"},{"name":"iconClass","value":"bx bx-selection","type":"label"}],"children":[{"id":"_help_RH6yLjjWJHof","title":"ELK layout","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Mermaid Diagrams/ELK layout"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/mermaid-diagrams/elk"},{"name":"iconClass","value":"bx bxs-network-chart","type":"label"}]},{"id":"_help_WWgeUaBb7UfC","title":"Syntax reference","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://mermaid.js.org/intro/syntax-reference.html"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_grjYqerjn243","title":"Canvas","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Canvas"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/canvas"},{"name":"iconClass","value":"bx bx-pen","type":"label"}]},{"id":"_help_1vHRoWCEjj0L","title":"Web View","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Web View"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/webview"},{"name":"iconClass","value":"bx bx-globe-alt","type":"label"}]},{"id":"_help_gBbsAeiuUxI5","title":"Mind Map","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Mind Map"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/mindmap"},{"name":"iconClass","value":"bx bx-sitemap","type":"label"}]},{"id":"_help_W8vYD3Q1zjCR","title":"File","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/File"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/file"},{"name":"iconClass","value":"bx bx-file-blank","type":"label"}],"children":[{"id":"_help_XJGJrpu7F9sh","title":"PDFs","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/File/PDFs"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/file/pdf"},{"name":"iconClass","value":"bx bxs-file-pdf","type":"label"}]},{"id":"_help_AjqEeiDUOzj4","title":"Audio & Video","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/File/Audio & Video"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/file/audio-video"},{"name":"iconClass","value":"bx bx-video","type":"label"}]},{"id":"_help_KG48zgNY31NW","title":"Office documents","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/File/Office documents"},{"name":"iconClass","value":"bx bxs-file-doc","type":"label"}]}]},{"id":"_help_GWHEkY4I4OE3","title":"Spreadsheets","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Spreadsheets"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/spreadsheets"},{"name":"iconClass","value":"bx bx-table","type":"label"}]},{"id":"_help_6RM1Q7ppFVoj","title":"Markdown","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Markdown"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/markdown"},{"name":"iconClass","value":"bx bxl-markdown","type":"label"}]},{"id":"_help_jludwdW7N4hg","title":"Converting between note types","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Converting between note types"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/note-types/note-type-conversion"},{"name":"iconClass","value":"bx bx-repost","type":"label"}]}]},{"id":"_help_GTwFsgaA0lCt","title":"Collections","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Collections"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/collections"},{"name":"iconClass","value":"bx bx-book","type":"label"}],"children":[{"id":"_help_xWbu3jpNWapp","title":"Calendar","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Collections/Calendar"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/collections/calendar"},{"name":"iconClass","value":"bx bx-calendar","type":"label"}]},{"id":"_help_2FvYrpmOXm29","title":"Table","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Collections/Table"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/collections/table"},{"name":"iconClass","value":"bx bx-table","type":"label"}]},{"id":"_help_CtBQqbwXDx1w","title":"Kanban Board","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Collections/Kanban Board"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/collections/kanban-board"},{"name":"iconClass","value":"bx bx-columns","type":"label"}]},{"id":"_help_81SGnPGMk7Xc","title":"Geo Map","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Collections/Geo Map"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/collections/geomap"},{"name":"iconClass","value":"bx bx-map-alt","type":"label"}],"children":[{"id":"_help_C2H9HK4BzwG7","title":"Drawing shapes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Collections/Geo Map/Drawing shapes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/collections/geomap/shapes"},{"name":"iconClass","value":"bx bx-shape-square","type":"label"}]}]},{"id":"_help_zP3PMqaG71Ct","title":"Presentation","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Collections/Presentation"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/collections/presentation"},{"name":"iconClass","value":"bx bx-slideshow","type":"label"}]},{"id":"_help_8QqnMzx393bx","title":"Grid View","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Collections/Grid View"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/collections/grid"},{"name":"iconClass","value":"bx bxs-grid","type":"label"}]},{"id":"_help_mULW0Q3VojwY","title":"List View","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Collections/List View"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/collections/list"},{"name":"iconClass","value":"bx bx-list-ul","type":"label"}]},{"id":"_help_CssoWBu8I7jF","title":"Collection Properties","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Collections/Collection Properties"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/collections/collection-properties"},{"name":"iconClass","value":"bx bx-cog","type":"label"}]},{"id":"_help_IF7Q6I9x7zuw","title":"Dashboard","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Collections/Dashboard"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/collections/dashboard"},{"name":"iconClass","value":"bx bxs-dashboard","type":"label"}]}]},{"id":"_help_BgmBlOIl72jZ","title":"Troubleshooting","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Troubleshooting"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/troubleshooting"},{"name":"iconClass","value":"bx bx-bug","type":"label"}],"children":[{"id":"_help_wy8So3yZZlH9","title":"Reporting issues","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Troubleshooting/Reporting issues"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/reporting-issues"},{"name":"iconClass","value":"bx bx-bug-alt","type":"label"}]},{"id":"_help_x59R8J8KV5Bp","title":"Anonymized Database","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Troubleshooting/Anonymized Database"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/anonymized-database"},{"name":"iconClass","value":"bx bx-low-vision","type":"label"}]},{"id":"_help_qzNzp9LYQyPT","title":"Error logs","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Troubleshooting/Error logs"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/error-logs"},{"name":"iconClass","value":"bx bx-comment-error","type":"label"}],"children":[{"id":"_help_bnyigUA2UK7s","title":"Backend (server) logs","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Troubleshooting/Error logs/Backend (server) logs"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/error-logs/backend-logs"},{"name":"iconClass","value":"bx bx-server","type":"label"}]},{"id":"_help_9yEHzMyFirZR","title":"Frontend logs","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Troubleshooting/Error logs/Frontend logs"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/error-logs/frontend-logs"},{"name":"iconClass","value":"bx bx-window-alt","type":"label"}]}]},{"id":"_help_vdlYGAcpXAgc","title":"Synchronization fails with 504 Gateway Timeout","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Troubleshooting/Synchronization fails with 504 Gateway Timeout"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/sync-timeout"},{"name":"iconClass","value":"bx bx-error","type":"label"}]},{"id":"_help_s8alTXmpFR61","title":"Refreshing the application","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Troubleshooting/Refreshing the application"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/refreshing-app"},{"name":"iconClass","value":"bx bx-refresh","type":"label"}]}]},{"id":"_help_pKK96zzmvBGf","title":"Theme development","type":"book","attributes":[{"name":"iconClass","value":"bx bx-palette","type":"label"}],"children":[{"id":"_help_7NfNr5pZpVKV","title":"Creating a custom theme","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Theme development/Creating a custom theme"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/theme-development/creating-custom-theme"},{"name":"iconClass","value":"bx bxs-color","type":"label"}]},{"id":"_help_WFGzWeUK6arS","title":"Customize the Next theme","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Theme development/Customize the Next theme"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/theme-development/customize-next-theme"},{"name":"iconClass","value":"bx bx-news","type":"label"}]},{"id":"_help_WN5z4M8ASACJ","title":"Reference","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Theme development/Reference"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/theme-development/reference"},{"name":"iconClass","value":"bx bx-book-open","type":"label"}]},{"id":"_help_AlhDUqhENtH7","title":"Custom app-wide CSS","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Theme development/Custom app-wide CSS"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/theme-development/custom-appcss"},{"name":"iconClass","value":"bx bxs-file-css","type":"label"}]},{"id":"_help_g1mlRoU8CsqC","title":"Creating an icon pack","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Theme development/Creating an icon pack"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/theme-development/creating-icon-pack"},{"name":"iconClass","value":"bx bx-package","type":"label"}]}]},{"id":"_help_tC7s2alapj8V","title":"Advanced Usage","type":"book","attributes":[{"name":"iconClass","value":"bx bx-rocket","type":"label"}],"children":[{"id":"_help_zEY4DaJG4YT5","title":"Attributes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Attributes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/attributes"},{"name":"iconClass","value":"bx bx-list-check","type":"label"}],"children":[{"id":"_help_HI6GBBIduIgv","title":"Labels","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Attributes/Labels"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/attributes/labels"},{"name":"iconClass","value":"bx bx-hash","type":"label"}]},{"id":"_help_Cq5X6iKQop6R","title":"Relations","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Attributes/Relations"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/attributes/relations"},{"name":"iconClass","value":"bx bx-transfer","type":"label"}]},{"id":"_help_bwZpz2ajCEwO","title":"Attribute Inheritance","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Attributes/Attribute Inheritance"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/attributes/attribute-inheritance"},{"name":"iconClass","value":"bx bx-list-plus","type":"label"}]},{"id":"_help_OFXdgB2nNk1F","title":"Promoted Attributes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Attributes/Promoted Attributes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/attributes/promoted-attributes"},{"name":"iconClass","value":"bx bx-table","type":"label"}]}]},{"id":"_help_KC1HB96bqqHX","title":"Templates","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Templates"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/template"},{"name":"iconClass","value":"bx bx-copy","type":"label"}]},{"id":"_help_B2ORr7OVEZtc","title":"Snippets","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Snippets"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/snippets"},{"name":"iconClass","value":"bx bx-news","type":"label"}],"children":[{"id":"_help_VQjhl61rlWh9","title":"Markdown Snippets","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Snippets/Markdown Snippets"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/snippets/markdown-snippets"},{"name":"iconClass","value":"bx bxl-markdown","type":"label"}]},{"id":"_help_IEgsWp5hHH35","title":"Code Snippets","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Snippets/Code Snippets"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/snippets/code-snippets"},{"name":"iconClass","value":"bx bx-code-alt","type":"label"}]},{"id":"_help_pwc194wlRzcH","title":"Text Snippets","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Note Types/Text/Text Snippets"},{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_BCkXAVs63Ttv","title":"Note Map (Link map, Tree map)","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree map)"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/note-map"},{"name":"iconClass","value":"bx bxs-network-chart","type":"label"}]},{"id":"_help_R9pX4DGra2Vt","title":"Sharing","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Sharing"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/sharing"},{"name":"iconClass","value":"bx bx-share-alt","type":"label"}],"children":[{"id":"_help_Qjt68inQ2bRj","title":"Serving directly the content of a note","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Sharing/Serving directly the content of a note"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/sharing/serving-raw"},{"name":"iconClass","value":"bx bx-code","type":"label"}]},{"id":"_help_ycBFjKrrwE9p","title":"Exporting static HTML for web publishing","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Sharing/Exporting static HTML for web publishing"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/sharing/static-html"},{"name":"iconClass","value":"bx bxs-file-html","type":"label"}]},{"id":"_help_sLIJ6f1dkJYW","title":"Reverse proxy configuration","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Sharing/Reverse proxy configuration"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/sharing/reverse-proxy"},{"name":"iconClass","value":"bx bx-world","type":"label"}]},{"id":"_help_Ad7Ku5gOHrDU","title":"Custom share template","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Sharing/Custom share template"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/sharing/custom-share-template"},{"name":"iconClass","value":"bx bxl-nodejs","type":"label"}]}]},{"id":"_help_5668rwcirq1t","title":"Advanced Showcases","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Advanced Showcases"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/advanced-showcases"},{"name":"iconClass","value":"bx bxs-component","type":"label"}],"children":[{"id":"_help_l0tKav7yLHGF","title":"Day Notes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Advanced Showcases/Day Notes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/advanced-showcases/day-notes"},{"name":"iconClass","value":"bx bx-calendar","type":"label"}]},{"id":"_help_R7abl2fc6Mxi","title":"Weight Tracker","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Advanced Showcases/Weight Tracker"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/advanced-showcases/weight-tracker"},{"name":"iconClass","value":"bx bx-line-chart","type":"label"}]},{"id":"_help_xYjQUYhpbUEW","title":"Task Manager","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Advanced Showcases/Task Manager"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/advanced-showcases/task-manager"},{"name":"iconClass","value":"bx bx-calendar-check","type":"label"}]}]},{"id":"_help_i16PM6A7GXdU","title":"Customizing to-do task states","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Customizing to-do task states"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/customizing-to-do-task-states"},{"name":"iconClass","value":"bx bx-list-check","type":"label"}]},{"id":"_help_J5Ex1ZrMbyJ6","title":"Custom Request Handler","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Custom Request Handler"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/custom-request-handler"},{"name":"iconClass","value":"bx bx-globe","type":"label"}]},{"id":"_help_d3fAXQ2diepH","title":"Custom Resource Providers","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Custom Resource Providers"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/custom-resource-providers"},{"name":"iconClass","value":"bx bxs-file-plus","type":"label"}]},{"id":"_help_pgxEVkzLl1OP","title":"ETAPI (REST API)","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/ETAPI (REST API)"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/etapi"},{"name":"iconClass","value":"bx bx-extension","type":"label"}],"children":[{"id":"_help_9qPsTWBorUhQ","title":"API Reference","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/rest-api/etapi/"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_47ZrP6FNuoG8","title":"Default Note Title","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Default Note Title"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/default-note-title"},{"name":"iconClass","value":"bx bx-edit-alt","type":"label"}]},{"id":"_help_wX4HbRucYSDD","title":"Database","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Database"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/database"},{"name":"iconClass","value":"bx bx-data","type":"label"}],"children":[{"id":"_help_oyIAJ9PvvwHX","title":"Manually altering the database","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Database/Manually altering the database"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/database/manual-editing"},{"name":"iconClass","value":"bx bxs-edit","type":"label"}],"children":[{"id":"_help_YKWqdJhzi2VY","title":"SQL Console","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Database/Manually altering the database/SQL Console"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/database/manual-editing/sql-console"},{"name":"iconClass","value":"bx bx-data","type":"label"}]}]},{"id":"_help_6tZeKvSHEUiB","title":"Demo Notes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Database/Demo Notes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/database/demo-notes"},{"name":"iconClass","value":"bx bx-package","type":"label"}]}]},{"id":"_help_Gzjqa934BdH4","title":"Configuration (config.ini or environment variables)","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/configuration"},{"name":"iconClass","value":"bx bx-cog","type":"label"}],"children":[{"id":"_help_c5xB8m4g2IY6","title":"Trilium instance","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Trilium instance"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/configuration/trilium-instance"},{"name":"iconClass","value":"bx bx-windows","type":"label"}]},{"id":"_help_LWtBjFej3wX3","title":"Cross-Origin Resource Sharing (CORS)","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Cross-Origin Resource Sharing (CORS)"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/configuration/cors"},{"name":"iconClass","value":"bx bx-lock","type":"label"}]}]},{"id":"_help_ivYnonVFBxbQ","title":"Bulk Actions","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Bulk Actions"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/bulk-actions"},{"name":"iconClass","value":"bx bx-list-plus","type":"label"}]},{"id":"_help_4FahAwuGTAwC","title":"Note source","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Note source"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/note-source"},{"name":"iconClass","value":"bx bx-code","type":"label"}]},{"id":"_help_1YeN2MzFUluU","title":"Technologies used","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Technologies used"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/technologies"},{"name":"iconClass","value":"bx bx-pyramid","type":"label"}],"children":[{"id":"_help_MI26XDLSAlCD","title":"CKEditor","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Technologies used/CKEditor"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/technologies/ckeditor"},{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_m1lbrzyKDaRB","title":"Note ID","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Note ID"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/note-id"},{"name":"iconClass","value":"bx bx-fingerprint","type":"label"}]},{"id":"_help_0vTSyvhPTAOz","title":"Internal API","type":"book","attributes":[{"name":"iconClass","value":"bx bxs-component","type":"label"}],"children":[{"id":"_help_z8O2VG4ZZJD7","title":"API Reference","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/rest-api/internal/"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_2mUhVmZK8RF3","title":"Hidden Notes","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Hidden Notes"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/hidden-notes"},{"name":"iconClass","value":"bx bx-hide","type":"label"}]},{"id":"_help_uYF7pmepw27K","title":"Metrics","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Metrics"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/metrics"},{"name":"iconClass","value":"bx bxs-data","type":"label"}],"children":[{"id":"_help_bOP3TB56fL1V","title":"grafana-dashboard.json","type":"doc","attributes":[{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_64ZTlUPgEPtW","title":"Safe mode","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Safe mode"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/safe-mode"},{"name":"iconClass","value":"bx bxs-virus-block","type":"label"}]},{"id":"_help_HAIOFBoYIIdO","title":"Nightly release","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Nightly release"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/nightly-release"},{"name":"iconClass","value":"bx bx-moon","type":"label"}]},{"id":"_help_ZmT9ln8XJX2o","title":"Read-only database","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Read-only database"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/read-only-db"},{"name":"iconClass","value":"bx bx-book-reader","type":"label"}]},{"id":"_help_TiQbQDgP8L5t","title":"Text Extraction (OCR)","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Advanced Usage/Text Extraction (OCR)"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/ocr"},{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_GBBMSlVSOIGP","title":"AI","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/AI"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/llm"},{"name":"iconClass","value":"bx bx-bot","type":"label"}],"children":[{"id":"_help_bkPZAMT7d2sR","title":"Providers","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/AI/Providers"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/llm/providers"},{"name":"iconClass","value":"bx bx-cog","type":"label"}],"children":[{"id":"_help_eFhxp9laTW1S","title":"Subscription-based providers","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/AI/Providers/Subscription-based providers"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/llm/providers/subscription-based"},{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_cRRrdZjgyhNc","title":"Privacy","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/AI/Privacy"},{"name":"iconClass","value":"bx bx-lock-alt","type":"label"}]},{"id":"_help_KOWBFgsZXJAD","title":"MCP","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/AI/MCP"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/llm/mcp"},{"name":"iconClass","value":"bx bx-network-chart","type":"label"}]}]},{"id":"_help_CdNpE2pqjmI6","title":"Scripting","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts"},{"name":"iconClass","value":"bx bxs-file-js","type":"label"}],"children":[{"id":"_help_yIhgI5H7A2Sm","title":"Frontend Basics","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics"},{"name":"iconClass","value":"bx bx-window","type":"label"}],"children":[{"id":"_help_MgibgPcfeuGz","title":"Custom Widgets","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget"},{"name":"iconClass","value":"bx bxs-widget","type":"label"}],"children":[{"id":"_help_SynTBQiBsdYJ","title":"Widget Basics","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Widget Basics"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/widget-basics"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_GhurYZjh8e1V","title":"Note context aware widget","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Note context aware widget"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/note-context-aware-widget"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_M8IppdwVHSjG","title":"Right pane widget","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Right pane widget"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/right-pane-widget"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_YNxAqkI5Kg1M","title":"Word count widget","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Word count widget"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/word-count"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_VqGQnnPGnqAU","title":"CSS","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/CSS"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/css"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_gMkgcLJ6jBkg","title":"Troubleshooting","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Custom Widgets/Troubleshooting"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/troubleshooting"},{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_es8OU2GuguFU","title":"Examples","type":"book","attributes":[{"name":"iconClass","value":"bx bx-code-alt","type":"label"}],"children":[{"id":"_help_TjLYAo3JMO8X","title":"\"New Task\" launcher button","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Examples/New Task launcher button"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/examples/new-task-button"},{"name":"iconClass","value":"bx bx-task","type":"label"}]},{"id":"_help_7kZPMD0uFwkH","title":"Downloading responses from Google Forms","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Examples/Downloading responses from Google Forms"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/examples/responses-from-google-forms"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_DL92EjAaXT26","title":"Using promoted attributes to configure scripts","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Examples/Using promoted attributes to configure scripts"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/examples/promoted-attributes-config"},{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_4Gn3psZKsfSm","title":"Launch Bar Widgets","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Launch Bar Widgets"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/launch-bar-widgets"},{"name":"iconClass","value":"bx bx-dock-left","type":"label"}],"children":[{"id":"_help_IPArqVfDQ4We","title":"Note Title Widget","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Launch Bar Widgets/Note Title Widget"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/launch-bar-widgets/note-title"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_gcI7RPbaNSh3","title":"Analog Watch","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Launch Bar Widgets/Analog Watch"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/launch-bar-widgets/analog-watch"},{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_KLsqhjaqh1QW","title":"Preact","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Preact"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/preac"},{"name":"iconClass","value":"bx bxl-react","type":"label"}],"children":[{"id":"_help_Bqde6BvPo05g","title":"Component libraries","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Preact/Component libraries"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/preac/component-libraries"},{"name":"iconClass","value":"bx bxs-component","type":"label"}]},{"id":"_help_ykYtbM9k3a7B","title":"Hooks","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Preact/Hooks"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/preac/hooks"},{"name":"iconClass","value":"bx bx-question-mark","type":"label"}]},{"id":"_help_Sg9GrCtyftZf","title":"CSS","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Preact/CSS"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/preac/css"},{"name":"iconClass","value":"bx bxs-file-css","type":"label"}]},{"id":"_help_RSssb9S3xgSr","title":"Built-in components","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Preact/Built-in components"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/preac/builtin-components"},{"name":"iconClass","value":"bx bxs-component","type":"label"}],"children":[{"id":"_help_i9B4IW7b6V6z","title":"Widget showcase","type":"doc","attributes":[{"name":"iconClass","value":"bx bx-file","type":"label"}]}]}]},{"id":"_help_irkwjdNtjcxR","title":"Frontend Events","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Frontend Basics/Frontend Events"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/events"},{"name":"iconClass","value":"bx bx-rss","type":"label"}]}]},{"id":"_help_SPirpZypehBG","title":"Backend scripts","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Backend scripts"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/backend-basics"},{"name":"iconClass","value":"bx bx-server","type":"label"}],"children":[{"id":"_help_fZ2IGYFXjkEy","title":"Server-side imports","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Backend scripts/Server-side imports"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/backend-basics/server-imports"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_GPERMystNGTB","title":"Backend Events","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Backend scripts/Backend Events"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/backend-basics/events"},{"name":"iconClass","value":"bx bx-rss","type":"label"}]}]},{"id":"_help_wqXwKJl6VpNk","title":"Common concepts","type":"book","attributes":[{"name":"iconClass","value":"bx bxl-nodejs","type":"label"}],"children":[{"id":"_help_hA834UaHhSNn","title":"Script bundles","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Common concepts/Script bundles"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/common-concepts/bundles"},{"name":"iconClass","value":"bx bx-package","type":"label"}]}]},{"id":"_help_GLks18SNjxmC","title":"Script API","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Script API"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/script-api"},{"name":"iconClass","value":"bx bx-code-curly","type":"label"}],"children":[{"id":"_help_Q2z6av6JZVWm","title":"Frontend API","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/script-api/frontend"},{"name":"iconClass","value":"bx bx-folder","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_habiZ3HU8Kw8","title":"FNote","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/script-api/frontend/interfaces/FNote.html"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_MEtfsqa5VwNi","title":"Backend API","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/script-api/backend"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_GFXVHyblVN3d","title":"Electron API","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/script-api/electron"},{"name":"iconClass","value":"bx bx-window-alt","type":"label"}],"enforceAttributes":true},{"id":"_help_ApVHZ8JY5ofC","title":"Day.js","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Script API/Day.js"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/script-api/day.js"},{"name":"iconClass","value":"bx bx-calendar","type":"label"}]}]},{"id":"_help_vElnKeDNPSVl","title":"Logging","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Logging"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/logging"},{"name":"iconClass","value":"bx bx-terminal","type":"label"}]},{"id":"_help_cNpC0ITcfX0N","title":"Breaking changes","type":"book","attributes":[{"name":"iconClass","value":"bx bx-up-arrow-alt","type":"label"}],"children":[{"id":"_help_kTx7WqLdZ3Ry","title":"v0.106.0: Removal of cheerio","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Breaking changes/v0.106.0 Removal of cheerio"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/breaking-changes/cheerio-removal"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_YeOa2l7Pu39I","title":"v0.104.0: Disabling the Node integration in Electron","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Breaking changes/v0.104.0 Disabling the Node integration in Electron"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/breaking-changes/disabling-node-integration"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_fqAK6opjUagR","title":"v0.103.0: Removal of axios","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Breaking changes/v0.103.0 Removal of axios"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/breaking-changes/axios-removal"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_pAJ0jWz16xFm","title":"v0.103.0: `cheerio` is now deprecated","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Breaking changes/v0.103.0 `cheerio` is now deprecated"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/breaking-changes/cheerio-deprecated"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_72dxvnbnkDFY","title":"v0.102.0: Upgrade to jQuery 4.0.0","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Breaking changes/v0.102.0 Upgrade to jQuery 4.0.0"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/breaking-changes/jquery4"},{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_fiHicjpHjIRJ","title":"Security","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Scripting/Security"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/scripts/security"},{"name":"iconClass","value":"bx bx-shield","type":"label"}]}]},{"id":"_help_Fm0j45KqyHpU","title":"Miscellaneous","type":"book","attributes":[{"name":"iconClass","value":"bx bx-info-circle","type":"label"}],"children":[{"id":"_help_WFbFXrgnDyyU","title":"Privacy Policy","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Miscellaneous/Privacy Policy"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/misc/privacy-policy"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_NcsmUYZRWEW4","title":"Patterns of personal knowledge","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Miscellaneous/Patterns of personal knowledge"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/misc/patterns-of-personal-knowledge"},{"name":"iconClass","value":"bx bx-file","type":"label"}]},{"id":"_help_d1Ap6Pg6IjaJ","title":"License","type":"doc","attributes":[{"type":"label","name":"docName","value":"User Guide/User Guide/Miscellaneous/License"},{"type":"label","name":"docUrl","value":"https://docs.triliumnotes.org/user-guide/misc/license"},{"name":"iconClass","value":"bx bx-file","type":"label"}]}]}]
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text.html
index 6960acbbeb..0e95aa43f9 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text.html
@@ -123,6 +123,16 @@ class="table">
</ul>
</td>
</tr>
+ <tr>
+ <td><a class="reference-link" href="#root/_help_klC3ilXa9kUE">Block references</a>
+ </td>
+ <td>
+ <ul>
+ <li>Links to blocks of a note</li>
+ <li>Including blocks of a note</li>
+ </ul>
+ </td>
+ </tr>
<tr>
<td><a class="reference-link" href="#root/_help_CohkqWQC1iBv">Insert buttons</a>
</td>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Block references.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Block references.html
new file mode 100644
index 0000000000..3db9d83091
--- /dev/null
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Block references.html
@@ -0,0 +1,36 @@
+<p>Block references are <a href="#root/_help_QEAPj01N5f7w">links</a> to a block
+ of a text note, such as a paragraph, a heading, a list item or a table,
+ or to a range of consecutive blocks. A block reference can be pasted in
+ another note as a link, or turned into an <a class="reference-link" href="#root/_help_nBAXQFj20hS1">Include Note</a> that
+ shows only the referenced blocks.</p>
+<h2>Copying a reference</h2>
+<ol>
+ <li>Place the cursor in the block to reference. To reference several consecutive
+ blocks, select them.</li>
+ <li>Right-click the block handle, the sequence of dots to the left of the
+ block (see <a class="reference-link" href="#root/_help_nRhnJkTT8cPs">Formatting toolbar</a>).</li>
+ <li>Select <em>Copy reference to this block</em>, or <em>Copy reference to these blocks</em> for
+ a selection. The referenced blocks flash briefly.</li>
+ <li>Go to the note where to insert the link and press <kbd>Ctrl</kbd>+<kbd>V</kbd>.</li>
+</ol>
+<p>The link shows the title of the note, followed by the beginning of the
+ referenced text.</p>
+<h2>Following a reference</h2>
+<p>Clicking a block reference opens the note, scrolls to the referenced blocks
+ and flashes them. If a referenced block was deleted, an error message is
+ shown instead, along with the blocks of the range that still exist.</p>
+<h2>Including the referenced blocks</h2>
+<p>To show the referenced blocks inside another note, right-click the link
+ in a note being edited and select <em>Convert link to an included note</em>.
+ The include shows only the referenced blocks, not the rest of the note.
+ Converting the include back to a link keeps the reference.</p>
+<p>If a referenced block was deleted, the include shows <em>Broken reference</em>.</p>
+<h2>Limitations</h2>
+<ul>
+ <li>References can be copied only from a note being edited, and not in the
+ mobile layout, since the block handle is not shown there.</li>
+ <li>An include of referenced blocks cannot be edited in place.</li>
+ <li>Deleting a block breaks the references to it.</li>
+ <li>Block references are not kept when exporting to Markdown. On a <a href="#root/_help_R9pX4DGra2Vt">shared page</a>,
+ a block reference opens the whole note.</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/Formatting toolbar.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Formatting toolbar.html
index 371427ae87..3a330e73e8 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Formatting toolbar.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Formatting toolbar.html
@@ -17,7 +17,9 @@
to the entire paragraph, such as setting a heading, lists, tables, etc.</p>
<p>The dots are also a drag handle: drag them to move the paragraph, all
the selected paragraphs, or a selected element such as an image, a table
- or an included note to another place in the note.</p>
+ or an included note to another place in the note. Right-clicking them copies
+ a reference to the paragraph or to the selected paragraphs, see <a class="reference-link"
+ href="#root/_help_klC3ilXa9kUE">Block references</a>.</p>
<p>
<img src="3_Formatting toolbar_image.png">
</p>
@@ -36,8 +38,10 @@
<p>The sequence of dots to the left of the current paragraph is still shown,
but only as a drag handle: drag it to move the paragraph, all the selected
paragraphs, or a selected element such as an image, a table or an included
- note to another place in the note. Clicking it does not open a popup. The
- drag handle is not shown in the mobile layout.</p>
+ note to another place in the note. Clicking it does not open a popup, and
+ right-clicking it copies a reference to the block, see <a class="reference-link"
+ href="#root/_help_klC3ilXa9kUE">Block references</a>. The drag handle is
+ not shown in the mobile layout.</p>
<p>
<img src="2_Formatting toolbar_image.png">
</p>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Include Note.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Include Note.html
index e167311d81..0a0014996b 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Include Note.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Include Note.html
@@ -13,6 +13,8 @@
as one added from the button does.</p>
<p>An <a href="#root/_help_0vhv7lsOLy82">attachment</a> can be included the
same way, from the context menu of a link to it (see <em>Embedding an attachment</em> there).</p>
+<p>A link to blocks of a text note is converted the same way, and the include
+ then shows only those blocks. See <a class="reference-link" href="#root/_help_klC3ilXa9kUE">Block references</a>.</p>
<h2>Box sizes</h2>
<p>The box size sets how much of the included note is shown.</p>
<ul>
diff --git a/apps/server/src/assets/translations/en/server.json b/apps/server/src/assets/translations/en/server.json
index 4b68990e43..65560a33ab 100644
--- a/apps/server/src/assets/translations/en/server.json
+++ b/apps/server/src/assets/translations/en/server.json
@@ -348,7 +348,8 @@
},
"content_renderer": {
"note-cannot-be-displayed": "This note type cannot be displayed.",
- "included-note-requires-credentials": "This included note is password-protected and cannot be displayed here."
+ "included-note-requires-credentials": "This included note is password-protected and cannot be displayed here.",
+ "broken-block-reference": "Broken reference"
},
"onenote_import": {
"root-title": "OneNote import",
diff --git a/apps/standalone/src/assets/help_meta.json b/apps/standalone/src/assets/help_meta.json
index da4462422d..ea0ab2e2fe 100644
--- a/apps/standalone/src/assets/help_meta.json
+++ b/apps/standalone/src/assets/help_meta.json
@@ -1 +1 @@
-[{"id":"_help_BOCnjTMBCoxW","title":"Feature Highlights","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/feature-highlights"},{"name":"iconClass","value":"bx bx-star","type":"label"}],"enforceAttributes":true},{"id":"_help_Otzi9La2YAUX","title":"Installation & Setup","type":"book","attributes":[{"name":"iconClass","value":"bx bx-cog","type":"label"}],"children":[{"id":"_help_poXkQfguuA0U","title":"Desktop Installation","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/desktop"},{"name":"iconClass","value":"bx bx-desktop","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_nRqcgfTb97uV","title":"Using the desktop application as a server","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/desktop/desktop-as-server"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_Rp0q8bSP6Ayl","title":"System Requirements","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/desktop/system-requirements"},{"name":"iconClass","value":"bx bx-chip","type":"label"}],"enforceAttributes":true},{"id":"_help_Un4wj2Mak2Ky","title":"Nix flake","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/desktop/nix-flake"},{"name":"iconClass","value":"bx bxl-tux","type":"label"}],"enforceAttributes":true},{"id":"_help_swSFivWk6KkA","title":"Network Access","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/desktop/network-access"},{"name":"iconClass","value":"bx bx-network-chart","type":"label"}],"enforceAttributes":true},{"id":"_help_7iwde4lsKc6O","title":"Tray icon & automatic startup","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/desktop/tray-icon-and-startup"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_hvRfsDr591WP","title":"Troubleshooting","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/desktop/troubleshooting"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_WOcw2SLH6tbX","title":"Server Installation","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server"},{"name":"iconClass","value":"bx bx-server","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_Dgg7bR3b6K9j","title":"1. Installing the server","type":"book","attributes":[{"name":"iconClass","value":"bx bx-folder","type":"label"}],"children":[{"id":"_help_3tW6mORuTHnB","title":"Packaged version for Linux","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/installation/packaged-server"},{"name":"iconClass","value":"bx bxl-tux","type":"label"}],"enforceAttributes":true},{"id":"_help_rWX5eY045zbE","title":"Using Docker","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/installation/docker"},{"name":"iconClass","value":"bx bxl-docker","type":"label"}],"enforceAttributes":true},{"id":"_help_moVgBcoxE3EK","title":"On NixOS","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/installation/nixos"},{"name":"iconClass","value":"bx bxl-tux","type":"label"}],"enforceAttributes":true},{"id":"_help_J1Bb6lVlwU5T","title":"Manually","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/installation/manual"},{"name":"iconClass","value":"bx bx-code-alt","type":"label"}],"enforceAttributes":true},{"id":"_help_DCmT6e7clMoP","title":"Using Kubernetes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/installation/kubernetes"},{"name":"iconClass","value":"bx bxl-kubernetes","type":"label"}],"enforceAttributes":true},{"id":"_help_klCWNks3ReaQ","title":"Multiple server instances","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/installation/multiple-instances"},{"name":"iconClass","value":"bx bxs-user-account","type":"label"}],"enforceAttributes":true}]},{"id":"_help_vcjrb3VVYPZI","title":"2. Reverse proxy","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/reverse-proxy"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_ud6MShXL4WpO","title":"Nginx","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/reverse-proxy/nginx"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_fDLvzOx29Pfg","title":"Apache using Docker","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/reverse-proxy/apache"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_LLzSMXACKhUs","title":"Trusted proxy","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/reverse-proxy/trusted-proxy"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_5ERVJb9s4FRD","title":"Traefik","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/reverse-proxy/traefik"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_l2VkvOwUNfZj","title":"HTTPS (TLS)","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/https"},{"name":"iconClass","value":"bx bx-lock-alt","type":"label"}],"enforceAttributes":true},{"id":"_help_0hzsNCP31IAB","title":"Authentication","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/auth"},{"name":"iconClass","value":"bx bx-user","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_lwAX5SvbrK2g","title":"Resetting your password","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/auth/password-reset"},{"name":"iconClass","value":"bx bx-key","type":"label"}],"enforceAttributes":true}]},{"id":"_help_7DAiwaf8Z7Rz","title":"Multi-factor authentication with TOTP","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/mfa"},{"name":"iconClass","value":"bx bx-stopwatch","type":"label"}],"enforceAttributes":true},{"id":"_help_x1lQNKQBqLcA","title":"Signing in with OpenID Connect","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/openid-connect"},{"name":"iconClass","value":"bx bxs-key","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_IgkTHSaFfq6A","title":"Setting up with various providers","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/openid-connect/setup"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_yeEaYqosGLSh","title":"Third-party cloud hosting","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/cloud-hosting"},{"name":"iconClass","value":"bx bx-cloud","type":"label"}],"enforceAttributes":true},{"id":"_help_iGTnKjubbXkA","title":"System Requirements","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/system-requirements"},{"name":"iconClass","value":"bx bx-chip","type":"label"}],"enforceAttributes":true}]},{"id":"_help_cbkrhQjrkKrh","title":"Synchronization","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/synchronization"},{"name":"iconClass","value":"bx bx-sync","type":"label"}],"enforceAttributes":true},{"id":"_help_RDslemsQ6gCp","title":"Mobile Frontend","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/mobile-frontend"},{"name":"iconClass","value":"bx bx-mobile-alt","type":"label"}],"enforceAttributes":true},{"id":"_help_MtPxeAWVAzMg","title":"Web Clipper","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/web-clipper"},{"name":"iconClass","value":"bx bx-paperclip","type":"label"}],"enforceAttributes":true},{"id":"_help_n1lujUxCwipy","title":"Upgrading TriliumNext","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/upgrading"},{"name":"iconClass","value":"bx bx-up-arrow-alt","type":"label"}],"enforceAttributes":true},{"id":"_help_ODY7qQn5m2FT","title":"Backup","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/backup"},{"name":"iconClass","value":"bx bx-hdd","type":"label"}],"enforceAttributes":true},{"id":"_help_tAassRL4RSQL","title":"Data directory","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/data-directory"},{"name":"iconClass","value":"bx bx-folder-open","type":"label"}],"enforceAttributes":true}]},{"id":"_help_gh7bpGYxajRS","title":"Basic Concepts and Features","type":"book","attributes":[{"name":"iconClass","value":"bx bx-help-circle","type":"label"}],"children":[{"id":"_help_Vc8PjrjAGuOp","title":"UI Elements","type":"book","attributes":[{"name":"iconClass","value":"bx bx-window-alt","type":"label"}],"children":[{"id":"_help_x0JgW8UqGXvq","title":"Vertical and horizontal layout","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/layouts"},{"name":"iconClass","value":"bx bxs-layout","type":"label"}],"enforceAttributes":true},{"id":"_help_x3i7MxGccDuM","title":"Global menu","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/global-menu"},{"name":"iconClass","value":"bx bx-menu","type":"label"}],"enforceAttributes":true},{"id":"_help_oPVyFC7WL2Lp","title":"Note Tree","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-tree"},{"name":"iconClass","value":"bx bxs-tree-alt","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_YtSN43OrfzaA","title":"Note tree contextual menu","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-tree/context-menu"},{"name":"iconClass","value":"bx bx-menu","type":"label"}],"enforceAttributes":true},{"id":"_help_yTjUdsOi4CIE","title":"Multiple selection","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-tree/multiple-selection"},{"name":"iconClass","value":"bx bx-list-plus","type":"label"}],"enforceAttributes":true},{"id":"_help_DvdZhoQZY9Yd","title":"Keyboard shortcuts","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-tree/keyboard-shortcuts"},{"name":"iconClass","value":"bx bxs-keyboard","type":"label"}],"enforceAttributes":true},{"id":"_help_wyaGBBQrl4i3","title":"Hiding the subtree","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-tree/hiding-subtree"},{"name":"iconClass","value":"bx bx-hide","type":"label"}],"enforceAttributes":true}]},{"id":"_help_BlN9DFI679QC","title":"Ribbon","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/ribbon"},{"name":"iconClass","value":"bx bx-dots-horizontal","type":"label"}],"enforceAttributes":true},{"id":"_help_3seOhtN8uLIY","title":"Tabs","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/tabs"},{"name":"iconClass","value":"bx bx-dock-top","type":"label"}],"enforceAttributes":true},{"id":"_help_xYmIYSP6wE3F","title":"Launch Bar","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/launch-bar"},{"name":"iconClass","value":"bx bx-sidebar","type":"label"}],"enforceAttributes":true},{"id":"_help_8YBEPzcpUgxw","title":"Note buttons","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-buttons"},{"name":"iconClass","value":"bx bx-dots-vertical-rounded","type":"label"}],"enforceAttributes":true},{"id":"_help_4TIF1oA4VQRO","title":"Options","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/options"},{"name":"iconClass","value":"bx bx-cog","type":"label"}],"enforceAttributes":true},{"id":"_help_luNhaphA37EO","title":"Split View","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/split-view"},{"name":"iconClass","value":"bx bx-dock-right","type":"label"}],"enforceAttributes":true},{"id":"_help_XpOYSgsLkTJy","title":"Floating buttons","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/floating-buttons"},{"name":"iconClass","value":"bx bx-rectangle","type":"label"}],"enforceAttributes":true},{"id":"_help_RnaPdbciOfeq","title":"Right Sidebar","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/right-sidebar"},{"name":"iconClass","value":"bx bxs-dock-right","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_2dcGDhp9WFKb","title":"Outline tab","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/right-sidebar/outline"},{"name":"iconClass","value":"bx bx-list-ul","type":"label"}],"enforceAttributes":true},{"id":"_help_uNtgN0cUKEBc","title":"Attributes tab","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/right-sidebar/attributes"},{"name":"iconClass","value":"bx bx-hash","type":"label"}],"enforceAttributes":true},{"id":"_help_KRlZFoIH0j6p","title":"Connections tab","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/right-sidebar/connections"},{"name":"iconClass","value":"bx bx-network-chart","type":"label"}],"enforceAttributes":true}]},{"id":"_help_r5JGHN99bVKn","title":"Recent Changes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/recent-changes"},{"name":"iconClass","value":"bx bx-history","type":"label"}],"enforceAttributes":true},{"id":"_help_ny318J39E5Z0","title":"Zoom","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/zoom"},{"name":"iconClass","value":"bx bx-zoom-in","type":"label"}],"enforceAttributes":true},{"id":"_help_lgKX7r3aL30x","title":"Note Tooltip","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-tooltip"},{"name":"iconClass","value":"bx bx-message-detail","type":"label"}],"enforceAttributes":true},{"id":"_help_IjZS7iK5EXtb","title":"New Layout","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/new-layout"},{"name":"iconClass","value":"bx bx-layout","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_I6p2a06hdnL6","title":"Breadcrumb","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/new-layout/breadcrumb"},{"name":"iconClass","value":"bx bx-chevron-right","type":"label"}],"enforceAttributes":true},{"id":"_help_AlJ73vBCjWDw","title":"Status bar","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/new-layout/status-bar"},{"name":"iconClass","value":"bx bx-dock-bottom","type":"label"}],"enforceAttributes":true}]},{"id":"_help_SL5f1Auq7sVN","title":"Note types with split view","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-types-with-split-view"},{"name":"iconClass","value":"bx bx-card","type":"label"}],"enforceAttributes":true},{"id":"_help_t596jLvPrqkS","title":"Content width","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/content-width"},{"name":"iconClass","value":"bx bx-detail","type":"label"}],"enforceAttributes":true},{"id":"_help_jcQVxzYybYgz","title":"Note contextual menu","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-menu"},{"name":"iconClass","value":"bx bx-menu","type":"label"}],"enforceAttributes":true}]},{"id":"_help_BFs8mudNFgCS","title":"Notes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes"},{"name":"iconClass","value":"bx bx-notepad","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_l7pigIGu01K2","title":"Title","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/title"},{"name":"iconClass","value":"bx bx-text","type":"label"}],"enforceAttributes":true},{"id":"_help_p9kXRFAkwN4o","title":"Note Icons & Colors","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/note-icons"},{"name":"iconClass","value":"bx bxs-grid","type":"label"}],"enforceAttributes":true},{"id":"_help_0vhv7lsOLy82","title":"Attachments","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/attachments"},{"name":"iconClass","value":"bx bx-paperclip","type":"label"}],"enforceAttributes":true},{"id":"_help_IakOLONlIfGI","title":"Cloning Notes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/cloning"},{"name":"iconClass","value":"bx bx-duplicate","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_TBwsyfadTA18","title":"Branch prefix","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/cloning/branch-prefix"},{"name":"iconClass","value":"bx bx-rename","type":"label"}],"enforceAttributes":true}]},{"id":"_help_bwg0e8ewQMak","title":"Protected Notes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/protected-notes"},{"name":"iconClass","value":"bx bx-lock-alt","type":"label"}],"enforceAttributes":true},{"id":"_help_MKmLg5x6xkor","title":"Archived Notes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/archived-notes"},{"name":"iconClass","value":"bx bx-box","type":"label"}],"enforceAttributes":true},{"id":"_help_vZWERwf8U3nx","title":"Note Revisions","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/note-revisions"},{"name":"iconClass","value":"bx bx-history","type":"label"}],"enforceAttributes":true},{"id":"_help_aGlEvb9hyDhS","title":"Sorting Notes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/sorting"},{"name":"iconClass","value":"bx bx-sort-up","type":"label"}],"enforceAttributes":true},{"id":"_help_NRnIZmSMc5sj","title":"Printing & Exporting as PDF","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/printing-and-pdf-export"},{"name":"iconClass","value":"bx bx-printer","type":"label"}],"enforceAttributes":true},{"id":"_help_CoFPLs3dRlXc","title":"Read-Only Notes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/read-only-notes"},{"name":"iconClass","value":"bx bx-edit-alt","type":"label"}],"enforceAttributes":true},{"id":"_help_0ESUbbAxVnoK","title":"Note List","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/note-list"},{"name":"iconClass","value":"bx bxs-grid","type":"label"}],"enforceAttributes":true},{"id":"_help_S0Fos78ZfcY7","title":"Note Inbox","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/note-inbox"},{"name":"iconClass","value":"bx bxs-inbox","type":"label"}],"enforceAttributes":true},{"id":"_help_5Ct4MAJTS4tQ","title":"Restoring Deleted Notes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/restoring-deleted-notes"},{"name":"iconClass","value":"bx bx-trash-alt","type":"label"}],"enforceAttributes":true}]},{"id":"_help_wArbEsdSae6g","title":"Navigation","type":"book","attributes":[{"name":"iconClass","value":"bx bx-navigation","type":"label"}],"children":[{"id":"_help_kBrnXNG3Hplm","title":"Tree Concepts","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/tree-concepts"},{"name":"iconClass","value":"bx bx-pyramid","type":"label"}],"enforceAttributes":true},{"id":"_help_MMiBEQljMQh2","title":"Note Navigation","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/note-navigation"},{"name":"iconClass","value":"bx bxs-navigation","type":"label"}],"enforceAttributes":true},{"id":"_help_Ms1nauBra7gq","title":"Quick search","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/quick-search"},{"name":"iconClass","value":"bx bx-search-alt-2","type":"label"}],"enforceAttributes":true},{"id":"_help_F1r9QtzQLZqm","title":"Jump to & command palette","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/jump-to"},{"name":"iconClass","value":"bx bx-send","type":"label"}],"enforceAttributes":true},{"id":"_help_eIg8jdvaoNNd","title":"Search","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/search"},{"name":"iconClass","value":"bx bx-search-alt-2","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_Oxyb6jOjjVNL","title":"Under the hood","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/search/under-the-hood"},{"name":"iconClass","value":"bx bxs-cog","type":"label"}],"enforceAttributes":true},{"id":"_help_WbjlujkUhEb5","title":"How search matches your text","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/search/matching"},{"name":"iconClass","value":"bx bx-file-find","type":"label"}],"enforceAttributes":true}]},{"id":"_help_u3YFHC9tQlpm","title":"Bookmarks","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/bookmarks"},{"name":"iconClass","value":"bx bx-bookmarks","type":"label"}],"enforceAttributes":true},{"id":"_help_OR8WJ7Iz9K4U","title":"Note Hoisting","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/note-hoisting"},{"name":"iconClass","value":"bx bxs-chevrons-up","type":"label"}],"enforceAttributes":true},{"id":"_help_ZjLYv08Rp3qC","title":"Quick edit","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/quick-edit"},{"name":"iconClass","value":"bx bx-edit","type":"label"}],"enforceAttributes":true},{"id":"_help_9sRHySam5fXb","title":"Workspaces","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/workspace"},{"name":"iconClass","value":"bx bx-door-open","type":"label"}],"enforceAttributes":true},{"id":"_help_xWtq5NUHOwql","title":"Similar Notes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/similar-notes"},{"name":"iconClass","value":"bx bx-bar-chart","type":"label"}],"enforceAttributes":true},{"id":"_help_McngOG2jbUWX","title":"Search in note","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/search-in-note"},{"name":"iconClass","value":"bx bx-search-alt-2","type":"label"}],"enforceAttributes":true}]},{"id":"_help_A9Oc6YKKc65v","title":"Keyboard Shortcuts","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/keyboard-shortcuts"},{"name":"iconClass","value":"bx bxs-keyboard","type":"label"}],"enforceAttributes":true},{"id":"_help_Wy267RK4M69c","title":"Themes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/themes"},{"name":"iconClass","value":"bx bx-palette","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_VbjZvtUek0Ln","title":"Theme Gallery","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/themes/theme-gallery"},{"name":"iconClass","value":"bx bx-book-reader","type":"label"}],"enforceAttributes":true},{"id":"_help_gOKqSJgXLcIj","title":"Icon Packs","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/themes/icon-packs"},{"name":"iconClass","value":"bx bx-package","type":"label"}],"enforceAttributes":true},{"id":"_help_w4rMEhJsALlA","title":"Personalizing the font","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/themes/fonts"},{"name":"iconClass","value":"bx bx-font","type":"label"}],"enforceAttributes":true}]},{"id":"_help_mHbBMPDPkVV5","title":"Import & Export","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export"},{"name":"iconClass","value":"bx bx-import","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_Oau6X9rCuegd","title":"Markdown","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/markdown"},{"name":"iconClass","value":"bx bxl-markdown","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_rJ9grSgoExl9","title":"Supported syntax","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/markdown/supported-syntax"},{"name":"iconClass","value":"bx bx-code-alt","type":"label"}],"enforceAttributes":true}]},{"id":"_help_ckZ2uNWQmVeX","title":"Importing data from other applications","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps"},{"name":"iconClass","value":"bx bx-import","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_GnhlmrATVqcH","title":"Microsoft OneNote","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/onenote"},{"name":"iconClass","value":"bx bx-window-open","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_LpvyEIBIAAj7","title":"Tags","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/onenote/tags"},{"name":"iconClass","value":"bx bx-star","type":"label"}],"enforceAttributes":true}]},{"id":"_help_Y5mKeJ6dsCld","title":"Notion","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/notion"},{"name":"iconClass","value":"bx bx-window-open","type":"label"}],"enforceAttributes":true},{"id":"_help_nhQVuO4zvIxi","title":"Google Keep","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/keep"},{"name":"iconClass","value":"bx bx-window-open","type":"label"}],"enforceAttributes":true},{"id":"_help_syuSEKf2rUGr","title":"Evernote","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/evernote"},{"name":"iconClass","value":"bx bx-window-open","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_dj3j8dG4th4l","title":"Process internal links by title","type":"doc","attributes":[{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_83zmPBJRgfnW","title":"Anytype","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/anytype"},{"name":"iconClass","value":"bx bx-window-open","type":"label"}],"enforceAttributes":true},{"id":"_help_iWD7wiIuMtgV","title":"Obsidian","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/obsidian"},{"name":"iconClass","value":"bx bx-window-open","type":"label"}],"enforceAttributes":true}]}]},{"id":"_help_rC3pL2aptaRE","title":"Zen mode","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/zen-mode"},{"name":"iconClass","value":"bx bxs-yin-yang","type":"label"}],"enforceAttributes":true},{"id":"_help_YzMcWlCVeW09","title":"Active content","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/active-content"},{"name":"iconClass","value":"bx bxs-widget","type":"label"}],"enforceAttributes":true}]},{"id":"_help_s3YCWHBfmYuM","title":"Quick Start","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/quick-start"},{"name":"iconClass","value":"bx bx-run","type":"label"}],"enforceAttributes":true},{"id":"_help_i6dbnitykE5D","title":"FAQ","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/faq"},{"name":"iconClass","value":"bx bx-question-mark","type":"label"}],"enforceAttributes":true},{"id":"_help_KSZ04uQ2D1St","title":"Note Types","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types"},{"name":"iconClass","value":"bx bx-edit","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_iPIMuisry3hd","title":"Text","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text"},{"name":"iconClass","value":"bx bx-note","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_oSuaNgyyKnhu","title":"Anchors","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/bookmarks"},{"name":"iconClass","value":"bx bx-bookmark","type":"label"}],"enforceAttributes":true},{"id":"_help_oI7GoyilXXAr","title":"Automatic replacements","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/automatic-replacements"},{"name":"iconClass","value":"bx bx-reply","type":"label"}],"enforceAttributes":true},{"id":"_help_NwBbFdNZ9h7O","title":"Block quotes & admonitions","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/blockquotes"},{"name":"iconClass","value":"bx bx-info-circle","type":"label"}],"enforceAttributes":true},{"id":"_help_4n4oQUVbnOxa","title":"Collapsible blocks","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/collapsible-blocks"},{"name":"iconClass","value":"bx bx-chevron-down-circle","type":"label"}],"enforceAttributes":true},{"id":"_help_veGu4faJErEM","title":"Content language & Right-to-left support","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/content-language"},{"name":"iconClass","value":"bx bx-align-right","type":"label"}],"enforceAttributes":true},{"id":"_help_2x0ZAX9ePtzV","title":"Cut to subnote","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/cut-to-subnote"},{"name":"iconClass","value":"bx bx-cut","type":"label"}],"enforceAttributes":true},{"id":"_help_UYuUB1ZekNQU","title":"Developer-specific formatting","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/developer-formatting"},{"name":"iconClass","value":"bx bx-code-alt","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_QxEyIjRBizuC","title":"Code blocks","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/developer-formatting/code-blocks"},{"name":"iconClass","value":"bx bx-code","type":"label"}],"enforceAttributes":true}]},{"id":"_help_AgjCISero73a","title":"Footnotes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/footnotes"},{"name":"iconClass","value":"bx bx-bracket","type":"label"}],"enforceAttributes":true},{"id":"_help_5wZallV2Qo1t","title":"Format Painter","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/format-painter"},{"name":"iconClass","value":"bx bxs-paint-roll","type":"label"}],"enforceAttributes":true},{"id":"_help_nRhnJkTT8cPs","title":"Formatting toolbar","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/formatting-toolbar"},{"name":"iconClass","value":"bx bx-text","type":"label"}],"enforceAttributes":true},{"id":"_help_Gr6xFaF6ioJ5","title":"General formatting","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/general-formatting"},{"name":"iconClass","value":"bx bx-bold","type":"label"}],"enforceAttributes":true},{"id":"_help_AxshuNRegLAv","title":"Highlights list","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/highlights-list"},{"name":"iconClass","value":"bx bx-highlight","type":"label"}],"enforceAttributes":true},{"id":"_help_mT0HEkOsz6i1","title":"Images","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/images"},{"name":"iconClass","value":"bx bx-image-alt","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_0Ofbk1aSuVRu","title":"Image references","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/images/image-references"},{"name":"iconClass","value":"bx bxs-file-image","type":"label"}],"enforceAttributes":true}]},{"id":"_help_VRoP0g1uHHc2","title":"In-editor AI assistant","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/ai-assistant"},{"name":"iconClass","value":"bx bx-bot","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_mVEYwt20exhO","title":"Custom AI quick actions","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/ai-assistant/custom-quick-actions"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_nBAXQFj20hS1","title":"Include Note","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/include-note"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_CohkqWQC1iBv","title":"Insert buttons","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/insert-buttons"},{"name":"iconClass","value":"bx bx-plus","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_hD8GawVuazff","title":"Icons","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/insert-buttons/icons"},{"name":"iconClass","value":"bx bx-sticker","type":"label"}],"enforceAttributes":true}]},{"id":"_help_oiVPnW8QfnvS","title":"Keyboard shortcuts","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/keyboard-shortcuts"},{"name":"iconClass","value":"bx bxs-keyboard","type":"label"}],"enforceAttributes":true},{"id":"_help_UmgZAfcltxkS","title":"Link Previews","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/link-previews"},{"name":"iconClass","value":"bx bx-link-external","type":"label"}],"enforceAttributes":true},{"id":"_help_QEAPj01N5f7w","title":"Links","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/links"},{"name":"iconClass","value":"bx bx-link-alt","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_3IDVtesTQ8ds","title":"External links","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/links/external-links"},{"name":"iconClass","value":"bx bx-link-external","type":"label"}],"enforceAttributes":true},{"id":"_help_hrZ1D00cLbal","title":"Internal (reference) links","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/links/reference-links"},{"name":"iconClass","value":"bx bx-link","type":"label"}],"enforceAttributes":true},{"id":"_help_wfGXLmm7x27z","title":"Backlinks","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/links/backlinks"},{"name":"iconClass","value":"bx bx-link-alt","type":"label"}],"enforceAttributes":true}]},{"id":"_help_S6Xx8QIWTV66","title":"Lists","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/lists"},{"name":"iconClass","value":"bx bx-list-ul","type":"label"}],"enforceAttributes":true},{"id":"_help_QrtTYPmdd1qq","title":"Markdown-like formatting","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/markdown-formatting"},{"name":"iconClass","value":"bx bxl-markdown","type":"label"}],"enforceAttributes":true},{"id":"_help_YfYAtQBcfo5V","title":"Math Equations","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/math-equations"},{"name":"iconClass","value":"bx bx-math","type":"label"}],"enforceAttributes":true},{"id":"_help_dEHYtoWWi8ct","title":"Other features","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/other-features"},{"name":"iconClass","value":"bx bxs-grid","type":"label"}],"enforceAttributes":true},{"id":"_help_gLt3vA97tMcp","title":"Premium features","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/premium-features"},{"name":"iconClass","value":"bx bx-star","type":"label"}],"enforceAttributes":true},{"id":"_help_ZlN4nump6EbW","title":"Slash Commands","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/slash-commands"},{"name":"iconClass","value":"bx bx-menu","type":"label"}],"enforceAttributes":true},{"id":"_help_oBo3iHIZnbG2","title":"Spell Check","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/spellcheck"},{"name":"iconClass","value":"bx bx-check-double","type":"label"}],"enforceAttributes":true},{"id":"_help_BFvAtE74rbP6","title":"Table of contents","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/table-of-contents"},{"name":"iconClass","value":"bx bx-heading","type":"label"}],"enforceAttributes":true},{"id":"_help_NdowYOC1GFKS","title":"Tables","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/tables"},{"name":"iconClass","value":"bx bx-table","type":"label"}],"enforceAttributes":true},{"id":"_help_fASfBrYnquKU","title":"To-do Lists","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/todo-lists"},{"name":"iconClass","value":"bx bx-checkbox-checked","type":"label"}],"enforceAttributes":true}]},{"id":"_help_6f9hih2hXXZk","title":"Code","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/code"},{"name":"iconClass","value":"bx bx-code","type":"label"}],"enforceAttributes":true},{"id":"_help_m523cpzocqaD","title":"Saved Search","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/saved-search"},{"name":"iconClass","value":"bx bx-file-find","type":"label"}],"enforceAttributes":true},{"id":"_help_iRwzGnHPzonm","title":"Relation Map","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/relation-map"},{"name":"iconClass","value":"bx bxs-network-chart","type":"label"}],"enforceAttributes":true},{"id":"_help_bdUJEHsAPYQR","title":"Note Map","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/note-map"},{"name":"iconClass","value":"bx bxs-network-chart","type":"label"}],"enforceAttributes":true},{"id":"_help_HcABDtFCkbFN","title":"Render Note","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/render-note"},{"name":"iconClass","value":"bx bx-extension","type":"label"}],"enforceAttributes":true},{"id":"_help_s1aBHPd79XYj","title":"Mermaid Diagrams","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/mermaid-diagrams"},{"name":"iconClass","value":"bx bx-selection","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_RH6yLjjWJHof","title":"ELK layout","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/mermaid-diagrams/elk"},{"name":"iconClass","value":"bx bxs-network-chart","type":"label"}],"enforceAttributes":true},{"id":"_help_WWgeUaBb7UfC","title":"Syntax reference","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://mermaid.js.org/intro/syntax-reference.html"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_grjYqerjn243","title":"Canvas","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/canvas"},{"name":"iconClass","value":"bx bx-pen","type":"label"}],"enforceAttributes":true},{"id":"_help_1vHRoWCEjj0L","title":"Web View","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/webview"},{"name":"iconClass","value":"bx bx-globe-alt","type":"label"}],"enforceAttributes":true},{"id":"_help_gBbsAeiuUxI5","title":"Mind Map","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/mindmap"},{"name":"iconClass","value":"bx bx-sitemap","type":"label"}],"enforceAttributes":true},{"id":"_help_W8vYD3Q1zjCR","title":"File","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/file"},{"name":"iconClass","value":"bx bx-file-blank","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_XJGJrpu7F9sh","title":"PDFs","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/file/pdf"},{"name":"iconClass","value":"bx bxs-file-pdf","type":"label"}],"enforceAttributes":true},{"id":"_help_AjqEeiDUOzj4","title":"Audio & Video","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/file/audio-video"},{"name":"iconClass","value":"bx bx-video","type":"label"}],"enforceAttributes":true}]},{"id":"_help_GWHEkY4I4OE3","title":"Spreadsheets","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/spreadsheets"},{"name":"iconClass","value":"bx bx-table","type":"label"}],"enforceAttributes":true},{"id":"_help_6RM1Q7ppFVoj","title":"Markdown","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/markdown"},{"name":"iconClass","value":"bx bxl-markdown","type":"label"}],"enforceAttributes":true},{"id":"_help_jludwdW7N4hg","title":"Converting between note types","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/note-type-conversion"},{"name":"iconClass","value":"bx bx-repost","type":"label"}],"enforceAttributes":true}]},{"id":"_help_GTwFsgaA0lCt","title":"Collections","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/collections"},{"name":"iconClass","value":"bx bx-book","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_xWbu3jpNWapp","title":"Calendar","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/collections/calendar"},{"name":"iconClass","value":"bx bx-calendar","type":"label"}],"enforceAttributes":true},{"id":"_help_2FvYrpmOXm29","title":"Table","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/collections/table"},{"name":"iconClass","value":"bx bx-table","type":"label"}],"enforceAttributes":true},{"id":"_help_CtBQqbwXDx1w","title":"Kanban Board","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/collections/kanban-board"},{"name":"iconClass","value":"bx bx-columns","type":"label"}],"enforceAttributes":true},{"id":"_help_81SGnPGMk7Xc","title":"Geo Map","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/collections/geomap"},{"name":"iconClass","value":"bx bx-map-alt","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_C2H9HK4BzwG7","title":"Drawing shapes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/collections/geomap/shapes"},{"name":"iconClass","value":"bx bx-shape-square","type":"label"}],"enforceAttributes":true}]},{"id":"_help_zP3PMqaG71Ct","title":"Presentation","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/collections/presentation"},{"name":"iconClass","value":"bx bx-slideshow","type":"label"}],"enforceAttributes":true},{"id":"_help_8QqnMzx393bx","title":"Grid View","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/collections/grid"},{"name":"iconClass","value":"bx bxs-grid","type":"label"}],"enforceAttributes":true},{"id":"_help_mULW0Q3VojwY","title":"List View","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/collections/list"},{"name":"iconClass","value":"bx bx-list-ul","type":"label"}],"enforceAttributes":true},{"id":"_help_CssoWBu8I7jF","title":"Collection Properties","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/collections/collection-properties"},{"name":"iconClass","value":"bx bx-cog","type":"label"}],"enforceAttributes":true},{"id":"_help_IF7Q6I9x7zuw","title":"Dashboard","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/collections/dashboard"},{"name":"iconClass","value":"bx bxs-dashboard","type":"label"}],"enforceAttributes":true}]},{"id":"_help_BgmBlOIl72jZ","title":"Troubleshooting","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/troubleshooting"},{"name":"iconClass","value":"bx bx-bug","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_wy8So3yZZlH9","title":"Reporting issues","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/reporting-issues"},{"name":"iconClass","value":"bx bx-bug-alt","type":"label"}],"enforceAttributes":true},{"id":"_help_x59R8J8KV5Bp","title":"Anonymized Database","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/anonymized-database"},{"name":"iconClass","value":"bx bx-low-vision","type":"label"}],"enforceAttributes":true},{"id":"_help_qzNzp9LYQyPT","title":"Error logs","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/error-logs"},{"name":"iconClass","value":"bx bx-comment-error","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_bnyigUA2UK7s","title":"Backend (server) logs","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/error-logs/backend-logs"},{"name":"iconClass","value":"bx bx-server","type":"label"}],"enforceAttributes":true},{"id":"_help_9yEHzMyFirZR","title":"Frontend logs","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/error-logs/frontend-logs"},{"name":"iconClass","value":"bx bx-window-alt","type":"label"}],"enforceAttributes":true}]},{"id":"_help_vdlYGAcpXAgc","title":"Synchronization fails with 504 Gateway Timeout","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/sync-timeout"},{"name":"iconClass","value":"bx bx-error","type":"label"}],"enforceAttributes":true},{"id":"_help_s8alTXmpFR61","title":"Refreshing the application","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/refreshing-app"},{"name":"iconClass","value":"bx bx-refresh","type":"label"}],"enforceAttributes":true}]},{"id":"_help_pKK96zzmvBGf","title":"Theme development","type":"book","attributes":[{"name":"iconClass","value":"bx bx-palette","type":"label"}],"children":[{"id":"_help_7NfNr5pZpVKV","title":"Creating a custom theme","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/theme-development/creating-custom-theme"},{"name":"iconClass","value":"bx bxs-color","type":"label"}],"enforceAttributes":true},{"id":"_help_WFGzWeUK6arS","title":"Customize the Next theme","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/theme-development/customize-next-theme"},{"name":"iconClass","value":"bx bx-news","type":"label"}],"enforceAttributes":true},{"id":"_help_WN5z4M8ASACJ","title":"Reference","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/theme-development/reference"},{"name":"iconClass","value":"bx bx-book-open","type":"label"}],"enforceAttributes":true},{"id":"_help_AlhDUqhENtH7","title":"Custom app-wide CSS","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/theme-development/custom-appcss"},{"name":"iconClass","value":"bx bxs-file-css","type":"label"}],"enforceAttributes":true},{"id":"_help_g1mlRoU8CsqC","title":"Creating an icon pack","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/theme-development/creating-icon-pack"},{"name":"iconClass","value":"bx bx-package","type":"label"}],"enforceAttributes":true}]},{"id":"_help_tC7s2alapj8V","title":"Advanced Usage","type":"book","attributes":[{"name":"iconClass","value":"bx bx-rocket","type":"label"}],"children":[{"id":"_help_zEY4DaJG4YT5","title":"Attributes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/attributes"},{"name":"iconClass","value":"bx bx-list-check","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_HI6GBBIduIgv","title":"Labels","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/attributes/labels"},{"name":"iconClass","value":"bx bx-hash","type":"label"}],"enforceAttributes":true},{"id":"_help_Cq5X6iKQop6R","title":"Relations","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/attributes/relations"},{"name":"iconClass","value":"bx bx-transfer","type":"label"}],"enforceAttributes":true},{"id":"_help_bwZpz2ajCEwO","title":"Attribute Inheritance","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/attributes/attribute-inheritance"},{"name":"iconClass","value":"bx bx-list-plus","type":"label"}],"enforceAttributes":true},{"id":"_help_OFXdgB2nNk1F","title":"Promoted Attributes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/attributes/promoted-attributes"},{"name":"iconClass","value":"bx bx-table","type":"label"}],"enforceAttributes":true}]},{"id":"_help_KC1HB96bqqHX","title":"Templates","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/template"},{"name":"iconClass","value":"bx bx-copy","type":"label"}],"enforceAttributes":true},{"id":"_help_B2ORr7OVEZtc","title":"Snippets","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/snippets"},{"name":"iconClass","value":"bx bx-news","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_VQjhl61rlWh9","title":"Markdown Snippets","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/snippets/markdown-snippets"},{"name":"iconClass","value":"bx bxl-markdown","type":"label"}],"enforceAttributes":true},{"id":"_help_IEgsWp5hHH35","title":"Code Snippets","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/snippets/code-snippets"},{"name":"iconClass","value":"bx bx-code-alt","type":"label"}],"enforceAttributes":true}]},{"id":"_help_BCkXAVs63Ttv","title":"Note Map (Link map, Tree map)","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/note-map"},{"name":"iconClass","value":"bx bxs-network-chart","type":"label"}],"enforceAttributes":true},{"id":"_help_R9pX4DGra2Vt","title":"Sharing","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/sharing"},{"name":"iconClass","value":"bx bx-share-alt","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_Qjt68inQ2bRj","title":"Serving directly the content of a note","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/sharing/serving-raw"},{"name":"iconClass","value":"bx bx-code","type":"label"}],"enforceAttributes":true},{"id":"_help_ycBFjKrrwE9p","title":"Exporting static HTML for web publishing","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/sharing/static-html"},{"name":"iconClass","value":"bx bxs-file-html","type":"label"}],"enforceAttributes":true},{"id":"_help_sLIJ6f1dkJYW","title":"Reverse proxy configuration","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/sharing/reverse-proxy"},{"name":"iconClass","value":"bx bx-world","type":"label"}],"enforceAttributes":true},{"id":"_help_Ad7Ku5gOHrDU","title":"Custom share template","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/sharing/custom-share-template"},{"name":"iconClass","value":"bx bxl-nodejs","type":"label"}],"enforceAttributes":true}]},{"id":"_help_5668rwcirq1t","title":"Advanced Showcases","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/advanced-showcases"},{"name":"iconClass","value":"bx bxs-component","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_l0tKav7yLHGF","title":"Day Notes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/advanced-showcases/day-notes"},{"name":"iconClass","value":"bx bx-calendar","type":"label"}],"enforceAttributes":true},{"id":"_help_R7abl2fc6Mxi","title":"Weight Tracker","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/advanced-showcases/weight-tracker"},{"name":"iconClass","value":"bx bx-line-chart","type":"label"}],"enforceAttributes":true},{"id":"_help_xYjQUYhpbUEW","title":"Task Manager","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/advanced-showcases/task-manager"},{"name":"iconClass","value":"bx bx-calendar-check","type":"label"}],"enforceAttributes":true}]},{"id":"_help_i16PM6A7GXdU","title":"Customizing to-do task states","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/customizing-to-do-task-states"},{"name":"iconClass","value":"bx bx-list-check","type":"label"}],"enforceAttributes":true},{"id":"_help_J5Ex1ZrMbyJ6","title":"Custom Request Handler","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/custom-request-handler"},{"name":"iconClass","value":"bx bx-globe","type":"label"}],"enforceAttributes":true},{"id":"_help_d3fAXQ2diepH","title":"Custom Resource Providers","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/custom-resource-providers"},{"name":"iconClass","value":"bx bxs-file-plus","type":"label"}],"enforceAttributes":true},{"id":"_help_pgxEVkzLl1OP","title":"ETAPI (REST API)","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/etapi"},{"name":"iconClass","value":"bx bx-extension","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_9qPsTWBorUhQ","title":"API Reference","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/rest-api/etapi/"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_47ZrP6FNuoG8","title":"Default Note Title","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/default-note-title"},{"name":"iconClass","value":"bx bx-edit-alt","type":"label"}],"enforceAttributes":true},{"id":"_help_wX4HbRucYSDD","title":"Database","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/database"},{"name":"iconClass","value":"bx bx-data","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_oyIAJ9PvvwHX","title":"Manually altering the database","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/database/manual-editing"},{"name":"iconClass","value":"bx bxs-edit","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_YKWqdJhzi2VY","title":"SQL Console","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/database/manual-editing/sql-console"},{"name":"iconClass","value":"bx bx-data","type":"label"}],"enforceAttributes":true}]},{"id":"_help_6tZeKvSHEUiB","title":"Demo Notes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/database/demo-notes"},{"name":"iconClass","value":"bx bx-package","type":"label"}],"enforceAttributes":true}]},{"id":"_help_Gzjqa934BdH4","title":"Configuration (config.ini or environment variables)","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/configuration"},{"name":"iconClass","value":"bx bx-cog","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_c5xB8m4g2IY6","title":"Trilium instance","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/configuration/trilium-instance"},{"name":"iconClass","value":"bx bx-windows","type":"label"}],"enforceAttributes":true},{"id":"_help_LWtBjFej3wX3","title":"Cross-Origin Resource Sharing (CORS)","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/configuration/cors"},{"name":"iconClass","value":"bx bx-lock","type":"label"}],"enforceAttributes":true}]},{"id":"_help_ivYnonVFBxbQ","title":"Bulk Actions","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/bulk-actions"},{"name":"iconClass","value":"bx bx-list-plus","type":"label"}],"enforceAttributes":true},{"id":"_help_4FahAwuGTAwC","title":"Note source","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/note-source"},{"name":"iconClass","value":"bx bx-code","type":"label"}],"enforceAttributes":true},{"id":"_help_1YeN2MzFUluU","title":"Technologies used","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/technologies"},{"name":"iconClass","value":"bx bx-pyramid","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_MI26XDLSAlCD","title":"CKEditor","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/technologies/ckeditor"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_m1lbrzyKDaRB","title":"Note ID","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/note-id"},{"name":"iconClass","value":"bx bx-fingerprint","type":"label"}],"enforceAttributes":true},{"id":"_help_0vTSyvhPTAOz","title":"Internal API","type":"book","attributes":[{"name":"iconClass","value":"bx bxs-component","type":"label"}],"children":[{"id":"_help_z8O2VG4ZZJD7","title":"API Reference","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/rest-api/internal/"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_2mUhVmZK8RF3","title":"Hidden Notes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/hidden-notes"},{"name":"iconClass","value":"bx bx-hide","type":"label"}],"enforceAttributes":true},{"id":"_help_uYF7pmepw27K","title":"Metrics","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/metrics"},{"name":"iconClass","value":"bx bxs-data","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_bOP3TB56fL1V","title":"grafana-dashboard.json","type":"doc","attributes":[{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_64ZTlUPgEPtW","title":"Safe mode","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/safe-mode"},{"name":"iconClass","value":"bx bxs-virus-block","type":"label"}],"enforceAttributes":true},{"id":"_help_HAIOFBoYIIdO","title":"Nightly release","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/nightly-release"},{"name":"iconClass","value":"bx bx-moon","type":"label"}],"enforceAttributes":true},{"id":"_help_ZmT9ln8XJX2o","title":"Read-only database","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/read-only-db"},{"name":"iconClass","value":"bx bx-book-reader","type":"label"}],"enforceAttributes":true},{"id":"_help_TiQbQDgP8L5t","title":"Text Extraction (OCR)","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/ocr"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_GBBMSlVSOIGP","title":"AI","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/llm"},{"name":"iconClass","value":"bx bx-bot","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_bkPZAMT7d2sR","title":"Providers","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/llm/providers"},{"name":"iconClass","value":"bx bx-cog","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_eFhxp9laTW1S","title":"Subscription-based providers","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/llm/providers/subscription-based"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_KOWBFgsZXJAD","title":"MCP","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/llm/mcp"},{"name":"iconClass","value":"bx bx-network-chart","type":"label"}],"enforceAttributes":true}]},{"id":"_help_CdNpE2pqjmI6","title":"Scripting","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts"},{"name":"iconClass","value":"bx bxs-file-js","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_yIhgI5H7A2Sm","title":"Frontend Basics","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics"},{"name":"iconClass","value":"bx bx-window","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_MgibgPcfeuGz","title":"Custom Widgets","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget"},{"name":"iconClass","value":"bx bxs-widget","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_SynTBQiBsdYJ","title":"Widget Basics","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/widget-basics"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_GhurYZjh8e1V","title":"Note context aware widget","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/note-context-aware-widget"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_M8IppdwVHSjG","title":"Right pane widget","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/right-pane-widget"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_YNxAqkI5Kg1M","title":"Word count widget","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/word-count"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_VqGQnnPGnqAU","title":"CSS","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/css"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_gMkgcLJ6jBkg","title":"Troubleshooting","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/troubleshooting"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_es8OU2GuguFU","title":"Examples","type":"book","attributes":[{"name":"iconClass","value":"bx bx-code-alt","type":"label"}],"children":[{"id":"_help_TjLYAo3JMO8X","title":"\"New Task\" launcher button","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/examples/new-task-button"},{"name":"iconClass","value":"bx bx-task","type":"label"}],"enforceAttributes":true},{"id":"_help_7kZPMD0uFwkH","title":"Downloading responses from Google Forms","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/examples/responses-from-google-forms"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_DL92EjAaXT26","title":"Using promoted attributes to configure scripts","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/examples/promoted-attributes-config"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_4Gn3psZKsfSm","title":"Launch Bar Widgets","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/launch-bar-widgets"},{"name":"iconClass","value":"bx bx-dock-left","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_IPArqVfDQ4We","title":"Note Title Widget","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/launch-bar-widgets/note-title"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_gcI7RPbaNSh3","title":"Analog Watch","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/launch-bar-widgets/analog-watch"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_KLsqhjaqh1QW","title":"Preact","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/preac"},{"name":"iconClass","value":"bx bxl-react","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_Bqde6BvPo05g","title":"Component libraries","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/preac/component-libraries"},{"name":"iconClass","value":"bx bxs-component","type":"label"}],"enforceAttributes":true},{"id":"_help_ykYtbM9k3a7B","title":"Hooks","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/preac/hooks"},{"name":"iconClass","value":"bx bx-question-mark","type":"label"}],"enforceAttributes":true},{"id":"_help_Sg9GrCtyftZf","title":"CSS","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/preac/css"},{"name":"iconClass","value":"bx bxs-file-css","type":"label"}],"enforceAttributes":true},{"id":"_help_RSssb9S3xgSr","title":"Built-in components","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/preac/builtin-components"},{"name":"iconClass","value":"bx bxs-component","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_i9B4IW7b6V6z","title":"Widget showcase","type":"doc","attributes":[{"name":"iconClass","value":"bx bx-file","type":"label"}]}]}]},{"id":"_help_irkwjdNtjcxR","title":"Frontend Events","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/events"},{"name":"iconClass","value":"bx bx-rss","type":"label"}],"enforceAttributes":true}]},{"id":"_help_SPirpZypehBG","title":"Backend scripts","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/backend-basics"},{"name":"iconClass","value":"bx bx-server","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_fZ2IGYFXjkEy","title":"Server-side imports","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/backend-basics/server-imports"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_GPERMystNGTB","title":"Backend Events","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/backend-basics/events"},{"name":"iconClass","value":"bx bx-rss","type":"label"}],"enforceAttributes":true}]},{"id":"_help_wqXwKJl6VpNk","title":"Common concepts","type":"book","attributes":[{"name":"iconClass","value":"bx bxl-nodejs","type":"label"}],"children":[{"id":"_help_hA834UaHhSNn","title":"Script bundles","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/common-concepts/bundles"},{"name":"iconClass","value":"bx bx-package","type":"label"}],"enforceAttributes":true}]},{"id":"_help_GLks18SNjxmC","title":"Script API","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/script-api"},{"name":"iconClass","value":"bx bx-code-curly","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_Q2z6av6JZVWm","title":"Frontend API","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/script-api/frontend"},{"name":"iconClass","value":"bx bx-folder","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_habiZ3HU8Kw8","title":"FNote","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/script-api/frontend/interfaces/FNote.html"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_MEtfsqa5VwNi","title":"Backend API","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/script-api/backend"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_GFXVHyblVN3d","title":"Electron API","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/script-api/electron"},{"name":"iconClass","value":"bx bx-window-alt","type":"label"}],"enforceAttributes":true},{"id":"_help_ApVHZ8JY5ofC","title":"Day.js","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/script-api/day.js"},{"name":"iconClass","value":"bx bx-calendar","type":"label"}],"enforceAttributes":true}]},{"id":"_help_vElnKeDNPSVl","title":"Logging","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/logging"},{"name":"iconClass","value":"bx bx-terminal","type":"label"}],"enforceAttributes":true},{"id":"_help_cNpC0ITcfX0N","title":"Breaking changes","type":"book","attributes":[{"name":"iconClass","value":"bx bx-up-arrow-alt","type":"label"}],"children":[{"id":"_help_kTx7WqLdZ3Ry","title":"v0.106.0: Removal of cheerio","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/breaking-changes/cheerio-removal"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_YeOa2l7Pu39I","title":"v0.104.0: Disabling the Node integration in Electron","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/breaking-changes/disabling-node-integration"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_fqAK6opjUagR","title":"v0.103.0: Removal of axios","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/breaking-changes/axios-removal"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_pAJ0jWz16xFm","title":"v0.103.0: `cheerio` is now deprecated","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/breaking-changes/cheerio-deprecated"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_72dxvnbnkDFY","title":"v0.102.0: Upgrade to jQuery 4.0.0","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/breaking-changes/jquery4"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_fiHicjpHjIRJ","title":"Security","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/security"},{"name":"iconClass","value":"bx bx-shield","type":"label"}],"enforceAttributes":true}]},{"id":"_help_Fm0j45KqyHpU","title":"Miscellaneous","type":"book","attributes":[{"name":"iconClass","value":"bx bx-info-circle","type":"label"}],"children":[{"id":"_help_WFbFXrgnDyyU","title":"Privacy Policy","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/misc/privacy-policy"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_NcsmUYZRWEW4","title":"Patterns of personal knowledge","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/misc/patterns-of-personal-knowledge"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_d1Ap6Pg6IjaJ","title":"License","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/misc/license"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]}]
\ No newline at end of file
+[{"id":"_help_BOCnjTMBCoxW","title":"Feature Highlights","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/feature-highlights"},{"name":"iconClass","value":"bx bx-star","type":"label"}],"enforceAttributes":true},{"id":"_help_Otzi9La2YAUX","title":"Installation & Setup","type":"book","attributes":[{"name":"iconClass","value":"bx bx-cog","type":"label"}],"children":[{"id":"_help_poXkQfguuA0U","title":"Desktop Installation","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/desktop"},{"name":"iconClass","value":"bx bx-desktop","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_nRqcgfTb97uV","title":"Using the desktop application as a server","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/desktop/desktop-as-server"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_Rp0q8bSP6Ayl","title":"System Requirements","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/desktop/system-requirements"},{"name":"iconClass","value":"bx bx-chip","type":"label"}],"enforceAttributes":true},{"id":"_help_Un4wj2Mak2Ky","title":"Nix flake","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/desktop/nix-flake"},{"name":"iconClass","value":"bx bxl-tux","type":"label"}],"enforceAttributes":true},{"id":"_help_swSFivWk6KkA","title":"Network Access","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/desktop/network-access"},{"name":"iconClass","value":"bx bx-network-chart","type":"label"}],"enforceAttributes":true},{"id":"_help_7iwde4lsKc6O","title":"Tray icon & automatic startup","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/desktop/tray-icon-and-startup"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_hvRfsDr591WP","title":"Troubleshooting","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/desktop/troubleshooting"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_WOcw2SLH6tbX","title":"Server Installation","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server"},{"name":"iconClass","value":"bx bx-server","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_Dgg7bR3b6K9j","title":"1. Installing the server","type":"book","attributes":[{"name":"iconClass","value":"bx bx-folder","type":"label"}],"children":[{"id":"_help_3tW6mORuTHnB","title":"Packaged version for Linux","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/installation/packaged-server"},{"name":"iconClass","value":"bx bxl-tux","type":"label"}],"enforceAttributes":true},{"id":"_help_rWX5eY045zbE","title":"Using Docker","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/installation/docker"},{"name":"iconClass","value":"bx bxl-docker","type":"label"}],"enforceAttributes":true},{"id":"_help_moVgBcoxE3EK","title":"On NixOS","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/installation/nixos"},{"name":"iconClass","value":"bx bxl-tux","type":"label"}],"enforceAttributes":true},{"id":"_help_J1Bb6lVlwU5T","title":"Manually","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/installation/manual"},{"name":"iconClass","value":"bx bx-code-alt","type":"label"}],"enforceAttributes":true},{"id":"_help_DCmT6e7clMoP","title":"Using Kubernetes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/installation/kubernetes"},{"name":"iconClass","value":"bx bxl-kubernetes","type":"label"}],"enforceAttributes":true},{"id":"_help_klCWNks3ReaQ","title":"Multiple server instances","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/installation/multiple-instances"},{"name":"iconClass","value":"bx bxs-user-account","type":"label"}],"enforceAttributes":true}]},{"id":"_help_vcjrb3VVYPZI","title":"2. Reverse proxy","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/reverse-proxy"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_ud6MShXL4WpO","title":"Nginx","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/reverse-proxy/nginx"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_fDLvzOx29Pfg","title":"Apache using Docker","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/reverse-proxy/apache"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_LLzSMXACKhUs","title":"Trusted proxy","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/reverse-proxy/trusted-proxy"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_5ERVJb9s4FRD","title":"Traefik","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/reverse-proxy/traefik"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_l2VkvOwUNfZj","title":"HTTPS (TLS)","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/https"},{"name":"iconClass","value":"bx bx-lock-alt","type":"label"}],"enforceAttributes":true},{"id":"_help_0hzsNCP31IAB","title":"Authentication","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/auth"},{"name":"iconClass","value":"bx bx-user","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_lwAX5SvbrK2g","title":"Resetting your password","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/auth/password-reset"},{"name":"iconClass","value":"bx bx-key","type":"label"}],"enforceAttributes":true}]},{"id":"_help_7DAiwaf8Z7Rz","title":"Multi-factor authentication with TOTP","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/mfa"},{"name":"iconClass","value":"bx bx-stopwatch","type":"label"}],"enforceAttributes":true},{"id":"_help_x1lQNKQBqLcA","title":"Signing in with OpenID Connect","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/openid-connect"},{"name":"iconClass","value":"bx bxs-key","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_IgkTHSaFfq6A","title":"Setting up with various providers","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/openid-connect/setup"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_yeEaYqosGLSh","title":"Third-party cloud hosting","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/cloud-hosting"},{"name":"iconClass","value":"bx bx-cloud","type":"label"}],"enforceAttributes":true},{"id":"_help_iGTnKjubbXkA","title":"System Requirements","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/server/system-requirements"},{"name":"iconClass","value":"bx bx-chip","type":"label"}],"enforceAttributes":true}]},{"id":"_help_cbkrhQjrkKrh","title":"Synchronization","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/synchronization"},{"name":"iconClass","value":"bx bx-sync","type":"label"}],"enforceAttributes":true},{"id":"_help_RDslemsQ6gCp","title":"Mobile Frontend","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/mobile-frontend"},{"name":"iconClass","value":"bx bx-mobile-alt","type":"label"}],"enforceAttributes":true},{"id":"_help_MtPxeAWVAzMg","title":"Web Clipper","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/web-clipper"},{"name":"iconClass","value":"bx bx-paperclip","type":"label"}],"enforceAttributes":true},{"id":"_help_n1lujUxCwipy","title":"Upgrading TriliumNext","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/upgrading"},{"name":"iconClass","value":"bx bx-up-arrow-alt","type":"label"}],"enforceAttributes":true},{"id":"_help_ODY7qQn5m2FT","title":"Backup","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/backup"},{"name":"iconClass","value":"bx bx-hdd","type":"label"}],"enforceAttributes":true},{"id":"_help_tAassRL4RSQL","title":"Data directory","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/setup/data-directory"},{"name":"iconClass","value":"bx bx-folder-open","type":"label"}],"enforceAttributes":true}]},{"id":"_help_gh7bpGYxajRS","title":"Basic Concepts and Features","type":"book","attributes":[{"name":"iconClass","value":"bx bx-help-circle","type":"label"}],"children":[{"id":"_help_Vc8PjrjAGuOp","title":"UI Elements","type":"book","attributes":[{"name":"iconClass","value":"bx bx-window-alt","type":"label"}],"children":[{"id":"_help_x0JgW8UqGXvq","title":"Vertical and horizontal layout","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/layouts"},{"name":"iconClass","value":"bx bxs-layout","type":"label"}],"enforceAttributes":true},{"id":"_help_x3i7MxGccDuM","title":"Global menu","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/global-menu"},{"name":"iconClass","value":"bx bx-menu","type":"label"}],"enforceAttributes":true},{"id":"_help_oPVyFC7WL2Lp","title":"Note Tree","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-tree"},{"name":"iconClass","value":"bx bxs-tree-alt","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_YtSN43OrfzaA","title":"Note tree contextual menu","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-tree/context-menu"},{"name":"iconClass","value":"bx bx-menu","type":"label"}],"enforceAttributes":true},{"id":"_help_yTjUdsOi4CIE","title":"Multiple selection","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-tree/multiple-selection"},{"name":"iconClass","value":"bx bx-list-plus","type":"label"}],"enforceAttributes":true},{"id":"_help_DvdZhoQZY9Yd","title":"Keyboard shortcuts","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-tree/keyboard-shortcuts"},{"name":"iconClass","value":"bx bxs-keyboard","type":"label"}],"enforceAttributes":true},{"id":"_help_wyaGBBQrl4i3","title":"Hiding the subtree","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-tree/hiding-subtree"},{"name":"iconClass","value":"bx bx-hide","type":"label"}],"enforceAttributes":true}]},{"id":"_help_BlN9DFI679QC","title":"Ribbon","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/ribbon"},{"name":"iconClass","value":"bx bx-dots-horizontal","type":"label"}],"enforceAttributes":true},{"id":"_help_3seOhtN8uLIY","title":"Tabs","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/tabs"},{"name":"iconClass","value":"bx bx-dock-top","type":"label"}],"enforceAttributes":true},{"id":"_help_xYmIYSP6wE3F","title":"Launch Bar","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/launch-bar"},{"name":"iconClass","value":"bx bx-sidebar","type":"label"}],"enforceAttributes":true},{"id":"_help_8YBEPzcpUgxw","title":"Note buttons","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-buttons"},{"name":"iconClass","value":"bx bx-dots-vertical-rounded","type":"label"}],"enforceAttributes":true},{"id":"_help_4TIF1oA4VQRO","title":"Options","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/options"},{"name":"iconClass","value":"bx bx-cog","type":"label"}],"enforceAttributes":true},{"id":"_help_luNhaphA37EO","title":"Split View","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/split-view"},{"name":"iconClass","value":"bx bx-dock-right","type":"label"}],"enforceAttributes":true},{"id":"_help_XpOYSgsLkTJy","title":"Floating buttons","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/floating-buttons"},{"name":"iconClass","value":"bx bx-rectangle","type":"label"}],"enforceAttributes":true},{"id":"_help_RnaPdbciOfeq","title":"Right Sidebar","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/right-sidebar"},{"name":"iconClass","value":"bx bxs-dock-right","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_2dcGDhp9WFKb","title":"Outline tab","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/right-sidebar/outline"},{"name":"iconClass","value":"bx bx-list-ul","type":"label"}],"enforceAttributes":true},{"id":"_help_uNtgN0cUKEBc","title":"Attributes tab","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/right-sidebar/attributes"},{"name":"iconClass","value":"bx bx-hash","type":"label"}],"enforceAttributes":true},{"id":"_help_KRlZFoIH0j6p","title":"Connections tab","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/right-sidebar/connections"},{"name":"iconClass","value":"bx bx-network-chart","type":"label"}],"enforceAttributes":true}]},{"id":"_help_r5JGHN99bVKn","title":"Recent Changes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/recent-changes"},{"name":"iconClass","value":"bx bx-history","type":"label"}],"enforceAttributes":true},{"id":"_help_ny318J39E5Z0","title":"Zoom","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/zoom"},{"name":"iconClass","value":"bx bx-zoom-in","type":"label"}],"enforceAttributes":true},{"id":"_help_lgKX7r3aL30x","title":"Note Tooltip","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-tooltip"},{"name":"iconClass","value":"bx bx-message-detail","type":"label"}],"enforceAttributes":true},{"id":"_help_IjZS7iK5EXtb","title":"New Layout","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/new-layout"},{"name":"iconClass","value":"bx bx-layout","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_I6p2a06hdnL6","title":"Breadcrumb","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/new-layout/breadcrumb"},{"name":"iconClass","value":"bx bx-chevron-right","type":"label"}],"enforceAttributes":true},{"id":"_help_AlJ73vBCjWDw","title":"Status bar","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/new-layout/status-bar"},{"name":"iconClass","value":"bx bx-dock-bottom","type":"label"}],"enforceAttributes":true}]},{"id":"_help_SL5f1Auq7sVN","title":"Note types with split view","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-types-with-split-view"},{"name":"iconClass","value":"bx bx-card","type":"label"}],"enforceAttributes":true},{"id":"_help_t596jLvPrqkS","title":"Content width","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/content-width"},{"name":"iconClass","value":"bx bx-detail","type":"label"}],"enforceAttributes":true},{"id":"_help_jcQVxzYybYgz","title":"Note contextual menu","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/ui/note-menu"},{"name":"iconClass","value":"bx bx-menu","type":"label"}],"enforceAttributes":true}]},{"id":"_help_BFs8mudNFgCS","title":"Notes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes"},{"name":"iconClass","value":"bx bx-notepad","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_l7pigIGu01K2","title":"Title","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/title"},{"name":"iconClass","value":"bx bx-text","type":"label"}],"enforceAttributes":true},{"id":"_help_p9kXRFAkwN4o","title":"Note Icons & Colors","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/note-icons"},{"name":"iconClass","value":"bx bxs-grid","type":"label"}],"enforceAttributes":true},{"id":"_help_0vhv7lsOLy82","title":"Attachments","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/attachments"},{"name":"iconClass","value":"bx bx-paperclip","type":"label"}],"enforceAttributes":true},{"id":"_help_IakOLONlIfGI","title":"Cloning Notes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/cloning"},{"name":"iconClass","value":"bx bx-duplicate","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_TBwsyfadTA18","title":"Branch prefix","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/cloning/branch-prefix"},{"name":"iconClass","value":"bx bx-rename","type":"label"}],"enforceAttributes":true}]},{"id":"_help_bwg0e8ewQMak","title":"Protected Notes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/protected-notes"},{"name":"iconClass","value":"bx bx-lock-alt","type":"label"}],"enforceAttributes":true},{"id":"_help_MKmLg5x6xkor","title":"Archived Notes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/archived-notes"},{"name":"iconClass","value":"bx bx-box","type":"label"}],"enforceAttributes":true},{"id":"_help_vZWERwf8U3nx","title":"Note Revisions","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/note-revisions"},{"name":"iconClass","value":"bx bx-history","type":"label"}],"enforceAttributes":true},{"id":"_help_aGlEvb9hyDhS","title":"Sorting Notes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/sorting"},{"name":"iconClass","value":"bx bx-sort-up","type":"label"}],"enforceAttributes":true},{"id":"_help_NRnIZmSMc5sj","title":"Printing & Exporting as PDF","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/printing-and-pdf-export"},{"name":"iconClass","value":"bx bx-printer","type":"label"}],"enforceAttributes":true},{"id":"_help_CoFPLs3dRlXc","title":"Read-Only Notes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/read-only-notes"},{"name":"iconClass","value":"bx bx-edit-alt","type":"label"}],"enforceAttributes":true},{"id":"_help_0ESUbbAxVnoK","title":"Note List","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/note-list"},{"name":"iconClass","value":"bx bxs-grid","type":"label"}],"enforceAttributes":true},{"id":"_help_S0Fos78ZfcY7","title":"Note Inbox","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/note-inbox"},{"name":"iconClass","value":"bx bxs-inbox","type":"label"}],"enforceAttributes":true},{"id":"_help_5Ct4MAJTS4tQ","title":"Restoring Deleted Notes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/notes/restoring-deleted-notes"},{"name":"iconClass","value":"bx bx-trash-alt","type":"label"}],"enforceAttributes":true}]},{"id":"_help_wArbEsdSae6g","title":"Navigation","type":"book","attributes":[{"name":"iconClass","value":"bx bx-navigation","type":"label"}],"children":[{"id":"_help_kBrnXNG3Hplm","title":"Tree Concepts","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/tree-concepts"},{"name":"iconClass","value":"bx bx-pyramid","type":"label"}],"enforceAttributes":true},{"id":"_help_MMiBEQljMQh2","title":"Note Navigation","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/note-navigation"},{"name":"iconClass","value":"bx bxs-navigation","type":"label"}],"enforceAttributes":true},{"id":"_help_Ms1nauBra7gq","title":"Quick search","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/quick-search"},{"name":"iconClass","value":"bx bx-search-alt-2","type":"label"}],"enforceAttributes":true},{"id":"_help_F1r9QtzQLZqm","title":"Jump to & command palette","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/jump-to"},{"name":"iconClass","value":"bx bx-send","type":"label"}],"enforceAttributes":true},{"id":"_help_eIg8jdvaoNNd","title":"Search","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/search"},{"name":"iconClass","value":"bx bx-search-alt-2","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_Oxyb6jOjjVNL","title":"Under the hood","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/search/under-the-hood"},{"name":"iconClass","value":"bx bxs-cog","type":"label"}],"enforceAttributes":true},{"id":"_help_WbjlujkUhEb5","title":"How search matches your text","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/search/matching"},{"name":"iconClass","value":"bx bx-file-find","type":"label"}],"enforceAttributes":true}]},{"id":"_help_u3YFHC9tQlpm","title":"Bookmarks","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/bookmarks"},{"name":"iconClass","value":"bx bx-bookmarks","type":"label"}],"enforceAttributes":true},{"id":"_help_OR8WJ7Iz9K4U","title":"Note Hoisting","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/note-hoisting"},{"name":"iconClass","value":"bx bxs-chevrons-up","type":"label"}],"enforceAttributes":true},{"id":"_help_ZjLYv08Rp3qC","title":"Quick edit","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/quick-edit"},{"name":"iconClass","value":"bx bx-edit","type":"label"}],"enforceAttributes":true},{"id":"_help_9sRHySam5fXb","title":"Workspaces","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/workspace"},{"name":"iconClass","value":"bx bx-door-open","type":"label"}],"enforceAttributes":true},{"id":"_help_xWtq5NUHOwql","title":"Similar Notes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/similar-notes"},{"name":"iconClass","value":"bx bx-bar-chart","type":"label"}],"enforceAttributes":true},{"id":"_help_McngOG2jbUWX","title":"Search in note","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/navigation/search-in-note"},{"name":"iconClass","value":"bx bx-search-alt-2","type":"label"}],"enforceAttributes":true}]},{"id":"_help_A9Oc6YKKc65v","title":"Keyboard Shortcuts","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/keyboard-shortcuts"},{"name":"iconClass","value":"bx bxs-keyboard","type":"label"}],"enforceAttributes":true},{"id":"_help_Wy267RK4M69c","title":"Themes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/themes"},{"name":"iconClass","value":"bx bx-palette","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_VbjZvtUek0Ln","title":"Theme Gallery","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/themes/theme-gallery"},{"name":"iconClass","value":"bx bx-book-reader","type":"label"}],"enforceAttributes":true},{"id":"_help_gOKqSJgXLcIj","title":"Icon Packs","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/themes/icon-packs"},{"name":"iconClass","value":"bx bx-package","type":"label"}],"enforceAttributes":true},{"id":"_help_w4rMEhJsALlA","title":"Personalizing the font","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/themes/fonts"},{"name":"iconClass","value":"bx bx-font","type":"label"}],"enforceAttributes":true}]},{"id":"_help_mHbBMPDPkVV5","title":"Import & Export","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export"},{"name":"iconClass","value":"bx bx-import","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_Oau6X9rCuegd","title":"Markdown","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/markdown"},{"name":"iconClass","value":"bx bxl-markdown","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_rJ9grSgoExl9","title":"Supported syntax","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/markdown/supported-syntax"},{"name":"iconClass","value":"bx bx-code-alt","type":"label"}],"enforceAttributes":true}]},{"id":"_help_ckZ2uNWQmVeX","title":"Importing data from other applications","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps"},{"name":"iconClass","value":"bx bx-import","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_GnhlmrATVqcH","title":"Microsoft OneNote","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/onenote"},{"name":"iconClass","value":"bx bx-window-open","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_LpvyEIBIAAj7","title":"Tags","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/onenote/tags"},{"name":"iconClass","value":"bx bx-star","type":"label"}],"enforceAttributes":true}]},{"id":"_help_Y5mKeJ6dsCld","title":"Notion","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/notion"},{"name":"iconClass","value":"bx bx-window-open","type":"label"}],"enforceAttributes":true},{"id":"_help_nhQVuO4zvIxi","title":"Google Keep","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/keep"},{"name":"iconClass","value":"bx bx-window-open","type":"label"}],"enforceAttributes":true},{"id":"_help_syuSEKf2rUGr","title":"Evernote","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/evernote"},{"name":"iconClass","value":"bx bx-window-open","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_dj3j8dG4th4l","title":"Process internal links by title","type":"doc","attributes":[{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_83zmPBJRgfnW","title":"Anytype","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/anytype"},{"name":"iconClass","value":"bx bx-window-open","type":"label"}],"enforceAttributes":true},{"id":"_help_iWD7wiIuMtgV","title":"Obsidian","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/obsidian"},{"name":"iconClass","value":"bx bx-window-open","type":"label"}],"enforceAttributes":true}]}]},{"id":"_help_rC3pL2aptaRE","title":"Zen mode","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/zen-mode"},{"name":"iconClass","value":"bx bxs-yin-yang","type":"label"}],"enforceAttributes":true},{"id":"_help_YzMcWlCVeW09","title":"Active content","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/concepts/active-content"},{"name":"iconClass","value":"bx bxs-widget","type":"label"}],"enforceAttributes":true}]},{"id":"_help_s3YCWHBfmYuM","title":"Quick Start","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/quick-start"},{"name":"iconClass","value":"bx bx-run","type":"label"}],"enforceAttributes":true},{"id":"_help_i6dbnitykE5D","title":"FAQ","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/faq"},{"name":"iconClass","value":"bx bx-question-mark","type":"label"}],"enforceAttributes":true},{"id":"_help_KSZ04uQ2D1St","title":"Note Types","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types"},{"name":"iconClass","value":"bx bx-edit","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_iPIMuisry3hd","title":"Text","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text"},{"name":"iconClass","value":"bx bx-note","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_oSuaNgyyKnhu","title":"Anchors","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/bookmarks"},{"name":"iconClass","value":"bx bx-bookmark","type":"label"}],"enforceAttributes":true},{"id":"_help_oI7GoyilXXAr","title":"Automatic replacements","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/automatic-replacements"},{"name":"iconClass","value":"bx bx-reply","type":"label"}],"enforceAttributes":true},{"id":"_help_NwBbFdNZ9h7O","title":"Block quotes & admonitions","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/blockquotes"},{"name":"iconClass","value":"bx bx-info-circle","type":"label"}],"enforceAttributes":true},{"id":"_help_klC3ilXa9kUE","title":"Block references","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/block-references"},{"name":"iconClass","value":"bx bx-paragraph","type":"label"}],"enforceAttributes":true},{"id":"_help_4n4oQUVbnOxa","title":"Collapsible blocks","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/collapsible-blocks"},{"name":"iconClass","value":"bx bx-chevron-down-circle","type":"label"}],"enforceAttributes":true},{"id":"_help_veGu4faJErEM","title":"Content language & Right-to-left support","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/content-language"},{"name":"iconClass","value":"bx bx-align-right","type":"label"}],"enforceAttributes":true},{"id":"_help_2x0ZAX9ePtzV","title":"Cut to subnote","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/cut-to-subnote"},{"name":"iconClass","value":"bx bx-cut","type":"label"}],"enforceAttributes":true},{"id":"_help_UYuUB1ZekNQU","title":"Developer-specific formatting","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/developer-formatting"},{"name":"iconClass","value":"bx bx-code-alt","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_QxEyIjRBizuC","title":"Code blocks","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/developer-formatting/code-blocks"},{"name":"iconClass","value":"bx bx-code","type":"label"}],"enforceAttributes":true}]},{"id":"_help_AgjCISero73a","title":"Footnotes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/footnotes"},{"name":"iconClass","value":"bx bx-bracket","type":"label"}],"enforceAttributes":true},{"id":"_help_5wZallV2Qo1t","title":"Format Painter","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/format-painter"},{"name":"iconClass","value":"bx bxs-paint-roll","type":"label"}],"enforceAttributes":true},{"id":"_help_nRhnJkTT8cPs","title":"Formatting toolbar","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/formatting-toolbar"},{"name":"iconClass","value":"bx bx-text","type":"label"}],"enforceAttributes":true},{"id":"_help_Gr6xFaF6ioJ5","title":"General formatting","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/general-formatting"},{"name":"iconClass","value":"bx bx-bold","type":"label"}],"enforceAttributes":true},{"id":"_help_AxshuNRegLAv","title":"Highlights list","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/highlights-list"},{"name":"iconClass","value":"bx bx-highlight","type":"label"}],"enforceAttributes":true},{"id":"_help_mT0HEkOsz6i1","title":"Images","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/images"},{"name":"iconClass","value":"bx bx-image-alt","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_0Ofbk1aSuVRu","title":"Image references","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/images/image-references"},{"name":"iconClass","value":"bx bxs-file-image","type":"label"}],"enforceAttributes":true}]},{"id":"_help_VRoP0g1uHHc2","title":"In-editor AI assistant","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/ai-assistant"},{"name":"iconClass","value":"bx bx-bot","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_mVEYwt20exhO","title":"Custom AI quick actions","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/ai-assistant/custom-quick-actions"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_nBAXQFj20hS1","title":"Include Note","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/include-note"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_CohkqWQC1iBv","title":"Insert buttons","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/insert-buttons"},{"name":"iconClass","value":"bx bx-plus","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_hD8GawVuazff","title":"Icons","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/insert-buttons/icons"},{"name":"iconClass","value":"bx bx-sticker","type":"label"}],"enforceAttributes":true}]},{"id":"_help_oiVPnW8QfnvS","title":"Keyboard shortcuts","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/keyboard-shortcuts"},{"name":"iconClass","value":"bx bxs-keyboard","type":"label"}],"enforceAttributes":true},{"id":"_help_UmgZAfcltxkS","title":"Link Previews","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/link-previews"},{"name":"iconClass","value":"bx bx-link-external","type":"label"}],"enforceAttributes":true},{"id":"_help_QEAPj01N5f7w","title":"Links","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/links"},{"name":"iconClass","value":"bx bx-link-alt","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_3IDVtesTQ8ds","title":"External links","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/links/external-links"},{"name":"iconClass","value":"bx bx-link-external","type":"label"}],"enforceAttributes":true},{"id":"_help_hrZ1D00cLbal","title":"Internal (reference) links","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/links/reference-links"},{"name":"iconClass","value":"bx bx-link","type":"label"}],"enforceAttributes":true},{"id":"_help_wfGXLmm7x27z","title":"Backlinks","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/links/backlinks"},{"name":"iconClass","value":"bx bx-link-alt","type":"label"}],"enforceAttributes":true}]},{"id":"_help_S6Xx8QIWTV66","title":"Lists","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/lists"},{"name":"iconClass","value":"bx bx-list-ul","type":"label"}],"enforceAttributes":true},{"id":"_help_QrtTYPmdd1qq","title":"Markdown-like formatting","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/markdown-formatting"},{"name":"iconClass","value":"bx bxl-markdown","type":"label"}],"enforceAttributes":true},{"id":"_help_YfYAtQBcfo5V","title":"Math Equations","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/math-equations"},{"name":"iconClass","value":"bx bx-math","type":"label"}],"enforceAttributes":true},{"id":"_help_dEHYtoWWi8ct","title":"Other features","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/other-features"},{"name":"iconClass","value":"bx bxs-grid","type":"label"}],"enforceAttributes":true},{"id":"_help_gLt3vA97tMcp","title":"Premium features","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/premium-features"},{"name":"iconClass","value":"bx bx-star","type":"label"}],"enforceAttributes":true},{"id":"_help_ZlN4nump6EbW","title":"Slash Commands","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/slash-commands"},{"name":"iconClass","value":"bx bx-menu","type":"label"}],"enforceAttributes":true},{"id":"_help_oBo3iHIZnbG2","title":"Spell Check","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/spellcheck"},{"name":"iconClass","value":"bx bx-check-double","type":"label"}],"enforceAttributes":true},{"id":"_help_BFvAtE74rbP6","title":"Table of contents","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/table-of-contents"},{"name":"iconClass","value":"bx bx-heading","type":"label"}],"enforceAttributes":true},{"id":"_help_NdowYOC1GFKS","title":"Tables","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/tables"},{"name":"iconClass","value":"bx bx-table","type":"label"}],"enforceAttributes":true},{"id":"_help_fASfBrYnquKU","title":"To-do Lists","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/text/todo-lists"},{"name":"iconClass","value":"bx bx-checkbox-checked","type":"label"}],"enforceAttributes":true}]},{"id":"_help_6f9hih2hXXZk","title":"Code","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/code"},{"name":"iconClass","value":"bx bx-code","type":"label"}],"enforceAttributes":true},{"id":"_help_m523cpzocqaD","title":"Saved Search","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/saved-search"},{"name":"iconClass","value":"bx bx-file-find","type":"label"}],"enforceAttributes":true},{"id":"_help_iRwzGnHPzonm","title":"Relation Map","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/relation-map"},{"name":"iconClass","value":"bx bxs-network-chart","type":"label"}],"enforceAttributes":true},{"id":"_help_bdUJEHsAPYQR","title":"Note Map","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/note-map"},{"name":"iconClass","value":"bx bxs-network-chart","type":"label"}],"enforceAttributes":true},{"id":"_help_HcABDtFCkbFN","title":"Render Note","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/render-note"},{"name":"iconClass","value":"bx bx-extension","type":"label"}],"enforceAttributes":true},{"id":"_help_s1aBHPd79XYj","title":"Mermaid Diagrams","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/mermaid-diagrams"},{"name":"iconClass","value":"bx bx-selection","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_RH6yLjjWJHof","title":"ELK layout","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/mermaid-diagrams/elk"},{"name":"iconClass","value":"bx bxs-network-chart","type":"label"}],"enforceAttributes":true},{"id":"_help_WWgeUaBb7UfC","title":"Syntax reference","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://mermaid.js.org/intro/syntax-reference.html"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_grjYqerjn243","title":"Canvas","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/canvas"},{"name":"iconClass","value":"bx bx-pen","type":"label"}],"enforceAttributes":true},{"id":"_help_1vHRoWCEjj0L","title":"Web View","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/webview"},{"name":"iconClass","value":"bx bx-globe-alt","type":"label"}],"enforceAttributes":true},{"id":"_help_gBbsAeiuUxI5","title":"Mind Map","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/mindmap"},{"name":"iconClass","value":"bx bx-sitemap","type":"label"}],"enforceAttributes":true},{"id":"_help_W8vYD3Q1zjCR","title":"File","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/file"},{"name":"iconClass","value":"bx bx-file-blank","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_XJGJrpu7F9sh","title":"PDFs","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/file/pdf"},{"name":"iconClass","value":"bx bxs-file-pdf","type":"label"}],"enforceAttributes":true},{"id":"_help_AjqEeiDUOzj4","title":"Audio & Video","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/file/audio-video"},{"name":"iconClass","value":"bx bx-video","type":"label"}],"enforceAttributes":true}]},{"id":"_help_GWHEkY4I4OE3","title":"Spreadsheets","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/spreadsheets"},{"name":"iconClass","value":"bx bx-table","type":"label"}],"enforceAttributes":true},{"id":"_help_6RM1Q7ppFVoj","title":"Markdown","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/markdown"},{"name":"iconClass","value":"bx bxl-markdown","type":"label"}],"enforceAttributes":true},{"id":"_help_jludwdW7N4hg","title":"Converting between note types","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/note-types/note-type-conversion"},{"name":"iconClass","value":"bx bx-repost","type":"label"}],"enforceAttributes":true}]},{"id":"_help_GTwFsgaA0lCt","title":"Collections","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/collections"},{"name":"iconClass","value":"bx bx-book","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_xWbu3jpNWapp","title":"Calendar","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/collections/calendar"},{"name":"iconClass","value":"bx bx-calendar","type":"label"}],"enforceAttributes":true},{"id":"_help_2FvYrpmOXm29","title":"Table","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/collections/table"},{"name":"iconClass","value":"bx bx-table","type":"label"}],"enforceAttributes":true},{"id":"_help_CtBQqbwXDx1w","title":"Kanban Board","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/collections/kanban-board"},{"name":"iconClass","value":"bx bx-columns","type":"label"}],"enforceAttributes":true},{"id":"_help_81SGnPGMk7Xc","title":"Geo Map","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/collections/geomap"},{"name":"iconClass","value":"bx bx-map-alt","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_C2H9HK4BzwG7","title":"Drawing shapes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/collections/geomap/shapes"},{"name":"iconClass","value":"bx bx-shape-square","type":"label"}],"enforceAttributes":true}]},{"id":"_help_zP3PMqaG71Ct","title":"Presentation","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/collections/presentation"},{"name":"iconClass","value":"bx bx-slideshow","type":"label"}],"enforceAttributes":true},{"id":"_help_8QqnMzx393bx","title":"Grid View","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/collections/grid"},{"name":"iconClass","value":"bx bxs-grid","type":"label"}],"enforceAttributes":true},{"id":"_help_mULW0Q3VojwY","title":"List View","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/collections/list"},{"name":"iconClass","value":"bx bx-list-ul","type":"label"}],"enforceAttributes":true},{"id":"_help_CssoWBu8I7jF","title":"Collection Properties","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/collections/collection-properties"},{"name":"iconClass","value":"bx bx-cog","type":"label"}],"enforceAttributes":true},{"id":"_help_IF7Q6I9x7zuw","title":"Dashboard","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/collections/dashboard"},{"name":"iconClass","value":"bx bxs-dashboard","type":"label"}],"enforceAttributes":true}]},{"id":"_help_BgmBlOIl72jZ","title":"Troubleshooting","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/troubleshooting"},{"name":"iconClass","value":"bx bx-bug","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_wy8So3yZZlH9","title":"Reporting issues","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/reporting-issues"},{"name":"iconClass","value":"bx bx-bug-alt","type":"label"}],"enforceAttributes":true},{"id":"_help_x59R8J8KV5Bp","title":"Anonymized Database","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/anonymized-database"},{"name":"iconClass","value":"bx bx-low-vision","type":"label"}],"enforceAttributes":true},{"id":"_help_qzNzp9LYQyPT","title":"Error logs","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/error-logs"},{"name":"iconClass","value":"bx bx-comment-error","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_bnyigUA2UK7s","title":"Backend (server) logs","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/error-logs/backend-logs"},{"name":"iconClass","value":"bx bx-server","type":"label"}],"enforceAttributes":true},{"id":"_help_9yEHzMyFirZR","title":"Frontend logs","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/error-logs/frontend-logs"},{"name":"iconClass","value":"bx bx-window-alt","type":"label"}],"enforceAttributes":true}]},{"id":"_help_vdlYGAcpXAgc","title":"Synchronization fails with 504 Gateway Timeout","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/sync-timeout"},{"name":"iconClass","value":"bx bx-error","type":"label"}],"enforceAttributes":true},{"id":"_help_s8alTXmpFR61","title":"Refreshing the application","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/troubleshooting/refreshing-app"},{"name":"iconClass","value":"bx bx-refresh","type":"label"}],"enforceAttributes":true}]},{"id":"_help_pKK96zzmvBGf","title":"Theme development","type":"book","attributes":[{"name":"iconClass","value":"bx bx-palette","type":"label"}],"children":[{"id":"_help_7NfNr5pZpVKV","title":"Creating a custom theme","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/theme-development/creating-custom-theme"},{"name":"iconClass","value":"bx bxs-color","type":"label"}],"enforceAttributes":true},{"id":"_help_WFGzWeUK6arS","title":"Customize the Next theme","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/theme-development/customize-next-theme"},{"name":"iconClass","value":"bx bx-news","type":"label"}],"enforceAttributes":true},{"id":"_help_WN5z4M8ASACJ","title":"Reference","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/theme-development/reference"},{"name":"iconClass","value":"bx bx-book-open","type":"label"}],"enforceAttributes":true},{"id":"_help_AlhDUqhENtH7","title":"Custom app-wide CSS","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/theme-development/custom-appcss"},{"name":"iconClass","value":"bx bxs-file-css","type":"label"}],"enforceAttributes":true},{"id":"_help_g1mlRoU8CsqC","title":"Creating an icon pack","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/theme-development/creating-icon-pack"},{"name":"iconClass","value":"bx bx-package","type":"label"}],"enforceAttributes":true}]},{"id":"_help_tC7s2alapj8V","title":"Advanced Usage","type":"book","attributes":[{"name":"iconClass","value":"bx bx-rocket","type":"label"}],"children":[{"id":"_help_zEY4DaJG4YT5","title":"Attributes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/attributes"},{"name":"iconClass","value":"bx bx-list-check","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_HI6GBBIduIgv","title":"Labels","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/attributes/labels"},{"name":"iconClass","value":"bx bx-hash","type":"label"}],"enforceAttributes":true},{"id":"_help_Cq5X6iKQop6R","title":"Relations","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/attributes/relations"},{"name":"iconClass","value":"bx bx-transfer","type":"label"}],"enforceAttributes":true},{"id":"_help_bwZpz2ajCEwO","title":"Attribute Inheritance","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/attributes/attribute-inheritance"},{"name":"iconClass","value":"bx bx-list-plus","type":"label"}],"enforceAttributes":true},{"id":"_help_OFXdgB2nNk1F","title":"Promoted Attributes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/attributes/promoted-attributes"},{"name":"iconClass","value":"bx bx-table","type":"label"}],"enforceAttributes":true}]},{"id":"_help_KC1HB96bqqHX","title":"Templates","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/template"},{"name":"iconClass","value":"bx bx-copy","type":"label"}],"enforceAttributes":true},{"id":"_help_B2ORr7OVEZtc","title":"Snippets","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/snippets"},{"name":"iconClass","value":"bx bx-news","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_VQjhl61rlWh9","title":"Markdown Snippets","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/snippets/markdown-snippets"},{"name":"iconClass","value":"bx bxl-markdown","type":"label"}],"enforceAttributes":true},{"id":"_help_IEgsWp5hHH35","title":"Code Snippets","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/snippets/code-snippets"},{"name":"iconClass","value":"bx bx-code-alt","type":"label"}],"enforceAttributes":true}]},{"id":"_help_BCkXAVs63Ttv","title":"Note Map (Link map, Tree map)","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/note-map"},{"name":"iconClass","value":"bx bxs-network-chart","type":"label"}],"enforceAttributes":true},{"id":"_help_R9pX4DGra2Vt","title":"Sharing","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/sharing"},{"name":"iconClass","value":"bx bx-share-alt","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_Qjt68inQ2bRj","title":"Serving directly the content of a note","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/sharing/serving-raw"},{"name":"iconClass","value":"bx bx-code","type":"label"}],"enforceAttributes":true},{"id":"_help_ycBFjKrrwE9p","title":"Exporting static HTML for web publishing","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/sharing/static-html"},{"name":"iconClass","value":"bx bxs-file-html","type":"label"}],"enforceAttributes":true},{"id":"_help_sLIJ6f1dkJYW","title":"Reverse proxy configuration","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/sharing/reverse-proxy"},{"name":"iconClass","value":"bx bx-world","type":"label"}],"enforceAttributes":true},{"id":"_help_Ad7Ku5gOHrDU","title":"Custom share template","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/sharing/custom-share-template"},{"name":"iconClass","value":"bx bxl-nodejs","type":"label"}],"enforceAttributes":true}]},{"id":"_help_5668rwcirq1t","title":"Advanced Showcases","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/advanced-showcases"},{"name":"iconClass","value":"bx bxs-component","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_l0tKav7yLHGF","title":"Day Notes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/advanced-showcases/day-notes"},{"name":"iconClass","value":"bx bx-calendar","type":"label"}],"enforceAttributes":true},{"id":"_help_R7abl2fc6Mxi","title":"Weight Tracker","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/advanced-showcases/weight-tracker"},{"name":"iconClass","value":"bx bx-line-chart","type":"label"}],"enforceAttributes":true},{"id":"_help_xYjQUYhpbUEW","title":"Task Manager","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/advanced-showcases/task-manager"},{"name":"iconClass","value":"bx bx-calendar-check","type":"label"}],"enforceAttributes":true}]},{"id":"_help_i16PM6A7GXdU","title":"Customizing to-do task states","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/customizing-to-do-task-states"},{"name":"iconClass","value":"bx bx-list-check","type":"label"}],"enforceAttributes":true},{"id":"_help_J5Ex1ZrMbyJ6","title":"Custom Request Handler","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/custom-request-handler"},{"name":"iconClass","value":"bx bx-globe","type":"label"}],"enforceAttributes":true},{"id":"_help_d3fAXQ2diepH","title":"Custom Resource Providers","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/custom-resource-providers"},{"name":"iconClass","value":"bx bxs-file-plus","type":"label"}],"enforceAttributes":true},{"id":"_help_pgxEVkzLl1OP","title":"ETAPI (REST API)","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/etapi"},{"name":"iconClass","value":"bx bx-extension","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_9qPsTWBorUhQ","title":"API Reference","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/rest-api/etapi/"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_47ZrP6FNuoG8","title":"Default Note Title","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/default-note-title"},{"name":"iconClass","value":"bx bx-edit-alt","type":"label"}],"enforceAttributes":true},{"id":"_help_wX4HbRucYSDD","title":"Database","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/database"},{"name":"iconClass","value":"bx bx-data","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_oyIAJ9PvvwHX","title":"Manually altering the database","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/database/manual-editing"},{"name":"iconClass","value":"bx bxs-edit","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_YKWqdJhzi2VY","title":"SQL Console","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/database/manual-editing/sql-console"},{"name":"iconClass","value":"bx bx-data","type":"label"}],"enforceAttributes":true}]},{"id":"_help_6tZeKvSHEUiB","title":"Demo Notes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/database/demo-notes"},{"name":"iconClass","value":"bx bx-package","type":"label"}],"enforceAttributes":true}]},{"id":"_help_Gzjqa934BdH4","title":"Configuration (config.ini or environment variables)","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/configuration"},{"name":"iconClass","value":"bx bx-cog","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_c5xB8m4g2IY6","title":"Trilium instance","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/configuration/trilium-instance"},{"name":"iconClass","value":"bx bx-windows","type":"label"}],"enforceAttributes":true},{"id":"_help_LWtBjFej3wX3","title":"Cross-Origin Resource Sharing (CORS)","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/configuration/cors"},{"name":"iconClass","value":"bx bx-lock","type":"label"}],"enforceAttributes":true}]},{"id":"_help_ivYnonVFBxbQ","title":"Bulk Actions","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/bulk-actions"},{"name":"iconClass","value":"bx bx-list-plus","type":"label"}],"enforceAttributes":true},{"id":"_help_4FahAwuGTAwC","title":"Note source","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/note-source"},{"name":"iconClass","value":"bx bx-code","type":"label"}],"enforceAttributes":true},{"id":"_help_1YeN2MzFUluU","title":"Technologies used","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/technologies"},{"name":"iconClass","value":"bx bx-pyramid","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_MI26XDLSAlCD","title":"CKEditor","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/technologies/ckeditor"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_m1lbrzyKDaRB","title":"Note ID","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/note-id"},{"name":"iconClass","value":"bx bx-fingerprint","type":"label"}],"enforceAttributes":true},{"id":"_help_0vTSyvhPTAOz","title":"Internal API","type":"book","attributes":[{"name":"iconClass","value":"bx bxs-component","type":"label"}],"children":[{"id":"_help_z8O2VG4ZZJD7","title":"API Reference","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/rest-api/internal/"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_2mUhVmZK8RF3","title":"Hidden Notes","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/hidden-notes"},{"name":"iconClass","value":"bx bx-hide","type":"label"}],"enforceAttributes":true},{"id":"_help_uYF7pmepw27K","title":"Metrics","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/metrics"},{"name":"iconClass","value":"bx bxs-data","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_bOP3TB56fL1V","title":"grafana-dashboard.json","type":"doc","attributes":[{"name":"iconClass","value":"bx bx-file","type":"label"}]}]},{"id":"_help_64ZTlUPgEPtW","title":"Safe mode","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/safe-mode"},{"name":"iconClass","value":"bx bxs-virus-block","type":"label"}],"enforceAttributes":true},{"id":"_help_HAIOFBoYIIdO","title":"Nightly release","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/nightly-release"},{"name":"iconClass","value":"bx bx-moon","type":"label"}],"enforceAttributes":true},{"id":"_help_ZmT9ln8XJX2o","title":"Read-only database","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/read-only-db"},{"name":"iconClass","value":"bx bx-book-reader","type":"label"}],"enforceAttributes":true},{"id":"_help_TiQbQDgP8L5t","title":"Text Extraction (OCR)","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/advanced-usage/ocr"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_GBBMSlVSOIGP","title":"AI","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/llm"},{"name":"iconClass","value":"bx bx-bot","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_bkPZAMT7d2sR","title":"Providers","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/llm/providers"},{"name":"iconClass","value":"bx bx-cog","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_eFhxp9laTW1S","title":"Subscription-based providers","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/llm/providers/subscription-based"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_KOWBFgsZXJAD","title":"MCP","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/llm/mcp"},{"name":"iconClass","value":"bx bx-network-chart","type":"label"}],"enforceAttributes":true}]},{"id":"_help_CdNpE2pqjmI6","title":"Scripting","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts"},{"name":"iconClass","value":"bx bxs-file-js","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_yIhgI5H7A2Sm","title":"Frontend Basics","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics"},{"name":"iconClass","value":"bx bx-window","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_MgibgPcfeuGz","title":"Custom Widgets","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget"},{"name":"iconClass","value":"bx bxs-widget","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_SynTBQiBsdYJ","title":"Widget Basics","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/widget-basics"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_GhurYZjh8e1V","title":"Note context aware widget","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/note-context-aware-widget"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_M8IppdwVHSjG","title":"Right pane widget","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/right-pane-widget"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_YNxAqkI5Kg1M","title":"Word count widget","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/word-count"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_VqGQnnPGnqAU","title":"CSS","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/css"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_gMkgcLJ6jBkg","title":"Troubleshooting","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/troubleshooting"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_es8OU2GuguFU","title":"Examples","type":"book","attributes":[{"name":"iconClass","value":"bx bx-code-alt","type":"label"}],"children":[{"id":"_help_TjLYAo3JMO8X","title":"\"New Task\" launcher button","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/examples/new-task-button"},{"name":"iconClass","value":"bx bx-task","type":"label"}],"enforceAttributes":true},{"id":"_help_7kZPMD0uFwkH","title":"Downloading responses from Google Forms","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/examples/responses-from-google-forms"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_DL92EjAaXT26","title":"Using promoted attributes to configure scripts","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/examples/promoted-attributes-config"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_4Gn3psZKsfSm","title":"Launch Bar Widgets","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/launch-bar-widgets"},{"name":"iconClass","value":"bx bx-dock-left","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_IPArqVfDQ4We","title":"Note Title Widget","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/launch-bar-widgets/note-title"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_gcI7RPbaNSh3","title":"Analog Watch","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/launch-bar-widgets/analog-watch"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_KLsqhjaqh1QW","title":"Preact","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/preac"},{"name":"iconClass","value":"bx bxl-react","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_Bqde6BvPo05g","title":"Component libraries","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/preac/component-libraries"},{"name":"iconClass","value":"bx bxs-component","type":"label"}],"enforceAttributes":true},{"id":"_help_ykYtbM9k3a7B","title":"Hooks","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/preac/hooks"},{"name":"iconClass","value":"bx bx-question-mark","type":"label"}],"enforceAttributes":true},{"id":"_help_Sg9GrCtyftZf","title":"CSS","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/preac/css"},{"name":"iconClass","value":"bx bxs-file-css","type":"label"}],"enforceAttributes":true},{"id":"_help_RSssb9S3xgSr","title":"Built-in components","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/preac/builtin-components"},{"name":"iconClass","value":"bx bxs-component","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_i9B4IW7b6V6z","title":"Widget showcase","type":"doc","attributes":[{"name":"iconClass","value":"bx bx-file","type":"label"}]}]}]},{"id":"_help_irkwjdNtjcxR","title":"Frontend Events","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/events"},{"name":"iconClass","value":"bx bx-rss","type":"label"}],"enforceAttributes":true}]},{"id":"_help_SPirpZypehBG","title":"Backend scripts","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/backend-basics"},{"name":"iconClass","value":"bx bx-server","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_fZ2IGYFXjkEy","title":"Server-side imports","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/backend-basics/server-imports"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_GPERMystNGTB","title":"Backend Events","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/backend-basics/events"},{"name":"iconClass","value":"bx bx-rss","type":"label"}],"enforceAttributes":true}]},{"id":"_help_wqXwKJl6VpNk","title":"Common concepts","type":"book","attributes":[{"name":"iconClass","value":"bx bxl-nodejs","type":"label"}],"children":[{"id":"_help_hA834UaHhSNn","title":"Script bundles","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/common-concepts/bundles"},{"name":"iconClass","value":"bx bx-package","type":"label"}],"enforceAttributes":true}]},{"id":"_help_GLks18SNjxmC","title":"Script API","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/script-api"},{"name":"iconClass","value":"bx bx-code-curly","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_Q2z6av6JZVWm","title":"Frontend API","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/script-api/frontend"},{"name":"iconClass","value":"bx bx-folder","type":"label"}],"enforceAttributes":true,"children":[{"id":"_help_habiZ3HU8Kw8","title":"FNote","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/script-api/frontend/interfaces/FNote.html"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_MEtfsqa5VwNi","title":"Backend API","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/script-api/backend"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_GFXVHyblVN3d","title":"Electron API","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/script-api/electron"},{"name":"iconClass","value":"bx bx-window-alt","type":"label"}],"enforceAttributes":true},{"id":"_help_ApVHZ8JY5ofC","title":"Day.js","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/script-api/day.js"},{"name":"iconClass","value":"bx bx-calendar","type":"label"}],"enforceAttributes":true}]},{"id":"_help_vElnKeDNPSVl","title":"Logging","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/logging"},{"name":"iconClass","value":"bx bx-terminal","type":"label"}],"enforceAttributes":true},{"id":"_help_cNpC0ITcfX0N","title":"Breaking changes","type":"book","attributes":[{"name":"iconClass","value":"bx bx-up-arrow-alt","type":"label"}],"children":[{"id":"_help_kTx7WqLdZ3Ry","title":"v0.106.0: Removal of cheerio","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/breaking-changes/cheerio-removal"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_YeOa2l7Pu39I","title":"v0.104.0: Disabling the Node integration in Electron","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/breaking-changes/disabling-node-integration"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_fqAK6opjUagR","title":"v0.103.0: Removal of axios","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/breaking-changes/axios-removal"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_pAJ0jWz16xFm","title":"v0.103.0: `cheerio` is now deprecated","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/breaking-changes/cheerio-deprecated"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_72dxvnbnkDFY","title":"v0.102.0: Upgrade to jQuery 4.0.0","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/breaking-changes/jquery4"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]},{"id":"_help_fiHicjpHjIRJ","title":"Security","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/scripts/security"},{"name":"iconClass","value":"bx bx-shield","type":"label"}],"enforceAttributes":true}]},{"id":"_help_Fm0j45KqyHpU","title":"Miscellaneous","type":"book","attributes":[{"name":"iconClass","value":"bx bx-info-circle","type":"label"}],"children":[{"id":"_help_WFbFXrgnDyyU","title":"Privacy Policy","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/misc/privacy-policy"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_NcsmUYZRWEW4","title":"Patterns of personal knowledge","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/misc/patterns-of-personal-knowledge"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true},{"id":"_help_d1Ap6Pg6IjaJ","title":"License","type":"webView","attributes":[{"type":"label","name":"webViewSrc","value":"https://docs.triliumnotes.org/user-guide/misc/license"},{"name":"iconClass","value":"bx bx-file","type":"label"}],"enforceAttributes":true}]}]
\ No newline at end of file
diff --git a/docs/User Guide/!!!meta.json b/docs/User Guide/!!!meta.json
index 38b82f094d..cff3cbc892 100644
--- a/docs/User Guide/!!!meta.json
+++ b/docs/User Guide/!!!meta.json
@@ -4986,6 +4986,41 @@
}
]
},
+ {
+ "isClone": false,
+ "noteId": "klC3ilXa9kUE",
+ "notePath": [
+ "pOsGYCXsbNQG",
+ "KSZ04uQ2D1St",
+ "iPIMuisry3hd",
+ "klC3ilXa9kUE"
+ ],
+ "title": "Block references",
+ "notePosition": 40,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "text",
+ "mime": "text/html",
+ "attributes": [
+ {
+ "type": "label",
+ "name": "shareAlias",
+ "value": "block-references",
+ "isInheritable": false,
+ "position": 10
+ },
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bx-paragraph",
+ "isInheritable": false,
+ "position": 20
+ }
+ ],
+ "format": "markdown",
+ "dataFileName": "Block references.md",
+ "attachments": []
+ },
{
"isClone": false,
"noteId": "4n4oQUVbnOxa",
@@ -4996,7 +5031,7 @@
"4n4oQUVbnOxa"
],
"title": "Collapsible blocks",
- "notePosition": 40,
+ "notePosition": 50,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5031,7 +5066,7 @@
"veGu4faJErEM"
],
"title": "Content language & Right-to-left support",
- "notePosition": 50,
+ "notePosition": 60,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5075,7 +5110,7 @@
"2x0ZAX9ePtzV"
],
"title": "Cut to subnote",
- "notePosition": 60,
+ "notePosition": 70,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5119,7 +5154,7 @@
"UYuUB1ZekNQU"
],
"title": "Developer-specific formatting",
- "notePosition": 70,
+ "notePosition": 80,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5235,7 +5270,7 @@
"AgjCISero73a"
],
"title": "Footnotes",
- "notePosition": 80,
+ "notePosition": 90,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5279,7 +5314,7 @@
"5wZallV2Qo1t"
],
"title": "Format Painter",
- "notePosition": 90,
+ "notePosition": 100,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5323,7 +5358,7 @@
"nRhnJkTT8cPs"
],
"title": "Formatting toolbar",
- "notePosition": 100,
+ "notePosition": 110,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5391,7 +5426,7 @@
"Gr6xFaF6ioJ5"
],
"title": "General formatting",
- "notePosition": 110,
+ "notePosition": 120,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5459,7 +5494,7 @@
"AxshuNRegLAv"
],
"title": "Highlights list",
- "notePosition": 120,
+ "notePosition": 130,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5494,7 +5529,7 @@
"mT0HEkOsz6i1"
],
"title": "Images",
- "notePosition": 130,
+ "notePosition": 140,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5618,7 +5653,7 @@
"VRoP0g1uHHc2"
],
"title": "In-editor AI assistant",
- "notePosition": 140,
+ "notePosition": 150,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5694,7 +5729,7 @@
"nBAXQFj20hS1"
],
"title": "Include Note",
- "notePosition": 150,
+ "notePosition": 160,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5722,7 +5757,7 @@
"CohkqWQC1iBv"
],
"title": "Insert buttons",
- "notePosition": 160,
+ "notePosition": 170,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5845,7 +5880,7 @@
"oiVPnW8QfnvS"
],
"title": "Keyboard shortcuts",
- "notePosition": 170,
+ "notePosition": 180,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5880,7 +5915,7 @@
"UmgZAfcltxkS"
],
"title": "Link Previews",
- "notePosition": 180,
+ "notePosition": 190,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5940,7 +5975,7 @@
"QEAPj01N5f7w"
],
"title": "Links",
- "notePosition": 190,
+ "notePosition": 200,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -6086,7 +6121,7 @@
"S6Xx8QIWTV66"
],
"title": "Lists",
- "notePosition": 200,
+ "notePosition": 210,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -6170,7 +6205,7 @@
"QrtTYPmdd1qq"
],
"title": "Markdown-like formatting",
- "notePosition": 210,
+ "notePosition": 220,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -6205,7 +6240,7 @@
"YfYAtQBcfo5V"
],
"title": "Math Equations",
- "notePosition": 220,
+ "notePosition": 230,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -6249,7 +6284,7 @@
"dEHYtoWWi8ct"
],
"title": "Other features",
- "notePosition": 230,
+ "notePosition": 240,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -6301,7 +6336,7 @@
"gLt3vA97tMcp"
],
"title": "Premium features",
- "notePosition": 240,
+ "notePosition": 250,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -6336,7 +6371,7 @@
"ZlN4nump6EbW"
],
"title": "Slash Commands",
- "notePosition": 250,
+ "notePosition": 260,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -6380,7 +6415,7 @@
"oBo3iHIZnbG2"
],
"title": "Spell Check",
- "notePosition": 260,
+ "notePosition": 270,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -6415,7 +6450,7 @@
"BFvAtE74rbP6"
],
"title": "Table of contents",
- "notePosition": 270,
+ "notePosition": 280,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -6450,7 +6485,7 @@
"NdowYOC1GFKS"
],
"title": "Tables",
- "notePosition": 280,
+ "notePosition": 290,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -6518,7 +6553,7 @@
"pwc194wlRzcH"
],
"title": "Text Snippets",
- "notePosition": 290,
+ "notePosition": 300,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -6547,7 +6582,7 @@
"fASfBrYnquKU"
],
"title": "To-do Lists",
- "notePosition": 300,
+ "notePosition": 310,
"prefix": null,
"isExpanded": false,
"type": "text",
diff --git a/docs/User Guide/User Guide/Note Types/Text.md b/docs/User Guide/User Guide/Note Types/Text.md
index cdc25f4188..995644b3b5 100644
--- a/docs/User Guide/User Guide/Note Types/Text.md
+++ b/docs/User Guide/User Guide/Note Types/Text.md
@@ -60,6 +60,10 @@ Here's a list of various features supported by text notes:
<td><a class="reference-link" href="Text/Include%20Note.md">Include Note</a></td>
<td><ul><li>Include note</li></ul></td>
</tr>
+ <tr>
+ <td><a class="reference-link" href="Text/Block%20references.md">Block references</a></td>
+ <td><ul><li>Links to blocks of a note</li><li>Including blocks of a note</li></ul></td>
+ </tr>
<tr>
<td><a class="reference-link" href="Text/Insert%20buttons.md">Insert buttons</a></td>
<td><ul><li>Symbols</li><li><a class="reference-link" href="Text/Math%20Equations.md">Math Equations</a></li><li>Mermaid diagrams</li><li>Horizontal ruler</li><li>Page break</li></ul></td>
diff --git a/docs/User Guide/User Guide/Note Types/Text/Block references.md b/docs/User Guide/User Guide/Note Types/Text/Block references.md
new file mode 100644
index 0000000000..e318ee997d
--- /dev/null
+++ b/docs/User Guide/User Guide/Note Types/Text/Block references.md
@@ -0,0 +1,28 @@
+# Block references
+Block references are [links](Links.md) to a block of a text note, such as a paragraph, a heading, a list item or a table, or to a range of consecutive blocks. A block reference can be pasted in another note as a link, or turned into an <a class="reference-link" href="Include%20Note.md">Include Note</a> that shows only the referenced blocks.
+
+## Copying a reference
+
+1. Place the cursor in the block to reference. To reference several consecutive blocks, select them.
+2. Right-click the block handle, the sequence of dots to the left of the block (see <a class="reference-link" href="Formatting%20toolbar.md">Formatting toolbar</a>).
+3. Select _Copy reference to this block_, or _Copy reference to these blocks_ for a selection. The referenced blocks flash briefly.
+4. Go to the note where to insert the link and press <kbd>Ctrl</kbd>+<kbd>V</kbd>.
+
+The link shows the title of the note, followed by the beginning of the referenced text.
+
+## Following a reference
+
+Clicking a block reference opens the note, scrolls to the referenced blocks and flashes them. If a referenced block was deleted, an error message is shown instead, along with the blocks of the range that still exist.
+
+## Including the referenced blocks
+
+To show the referenced blocks inside another note, right-click the link in a note being edited and select _Convert link to an included note_. The include shows only the referenced blocks, not the rest of the note. Converting the include back to a link keeps the reference.
+
+If a referenced block was deleted, the include shows _Broken reference_.
+
+## Limitations
+
+* References can be copied only from a note being edited, and not in the mobile layout, since the block handle is not shown there.
+* An include of referenced blocks cannot be edited in place.
+* Deleting a block breaks the references to it.
+* Block references are not kept when exporting to Markdown. On a [shared page](../../Advanced%20Usage/Sharing.md), a block reference opens the whole note.
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Note Types/Text/Formatting toolbar.md b/docs/User Guide/User Guide/Note Types/Text/Formatting toolbar.md
index 412957e752..903626d7f8 100644
--- a/docs/User Guide/User Guide/Note Types/Text/Formatting toolbar.md
+++ b/docs/User Guide/User Guide/Note Types/Text/Formatting toolbar.md
@@ -14,7 +14,7 @@ The first popup is the block-level popup. This will appear to the left of the cu
Clicking this popup will reveal the formatting options that are specific to the entire paragraph, such as setting a heading, lists, tables, etc.
-The dots are also a drag handle: drag them to move the paragraph, all the selected paragraphs, or a selected element such as an image, a table or an included note to another place in the note.
+The dots are also a drag handle: drag them to move the paragraph, all the selected paragraphs, or a selected element such as an image, a table or an included note to another place in the note. Right-clicking them copies a reference to the paragraph or to the selected paragraphs, see <a class="reference-link" href="Block%20references.md">Block references</a>.
![](3_Formatting%20toolbar_image.png)
@@ -32,7 +32,7 @@ The fixed formatting offers a more traditional editing paradigm, usually useful
All the options are combined into a single toolbar that will appear as part of the [Ribbon](../../Basic%20Concepts%20and%20Features/UI%20Elements/Ribbon.md).
-The sequence of dots to the left of the current paragraph is still shown, but only as a drag handle: drag it to move the paragraph, all the selected paragraphs, or a selected element such as an image, a table or an included note to another place in the note. Clicking it does not open a popup. The drag handle is not shown in the mobile layout.
+The sequence of dots to the left of the current paragraph is still shown, but only as a drag handle: drag it to move the paragraph, all the selected paragraphs, or a selected element such as an image, a table or an included note to another place in the note. Clicking it does not open a popup, and right-clicking it copies a reference to the block, see <a class="reference-link" href="Block%20references.md">Block references</a>. The drag handle is not shown in the mobile layout.
![](2_Formatting%20toolbar_image.png)
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 91d36b3636..2131d5e9c4 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
@@ -11,6 +11,8 @@ To include a note that is already linked, right-click a reference link to it in
An [attachment](../../Basic%20Concepts%20and%20Features/Notes/Attachments.md) can be included the same way, from the context menu of a link to it (see _Embedding an attachment_ there).
+A link to blocks of a text note is converted the same way, and the include then shows only those blocks. See <a class="reference-link" href="Block%20references.md">Block references</a>.
+
## Box sizes
The box size sets how much of the included note is shown.
diff --git a/packages/ckeditor5/src/augmentation.ts b/packages/ckeditor5/src/augmentation.ts
index b84f398cfa..0488595ed4 100644
--- a/packages/ckeditor5/src/augmentation.ts
+++ b/packages/ckeditor5/src/augmentation.ts
@@ -83,7 +83,13 @@ declare global {
*/
formatDateTime(date: Date, format?: string): string;
loadReferenceLinkTitle($el: JQuery<HTMLElement>, href: string): Promise<void>;
- loadEmbeddedNote(noteId: string, $el: JQuery<HTMLElement>, boxSize?: string): void;
+ /** Fills an embed with the note, or with the `block` of it, a `block` link parameter. */
+ loadEmbeddedNote(
+ noteId: string,
+ $el: JQuery<HTMLElement>,
+ boxSize?: string,
+ block?: string
+ ): void;
loadEmbeddedAttachment(
attachmentId: string,
$el: JQuery<HTMLElement>,
@@ -103,6 +109,11 @@ declare global {
* leave it out.
*/
openContentEmbedMenu?(embed: HTMLElement, anchor: HTMLElement): void;
+ /**
+ * Opens the menu of the block handle at `event`, for `count` selected blocks. Hosts
+ * without block references leave it out.
+ */
+ openBlockHandleMenu?(event: MouseEvent, count: number): void;
/**
* The buttons that what `embed` shows adds to the toolbar of the embed, or `null`. Hosts
* without embeds leave it out.
diff --git a/packages/ckeditor5/src/index.ts b/packages/ckeditor5/src/index.ts
index 1e2d89fe55..202955b65e 100644
--- a/packages/ckeditor5/src/index.ts
+++ b/packages/ckeditor5/src/index.ts
@@ -31,6 +31,7 @@ export * from "./utils.js";
// Import with sideffects to ensure that type augmentations are present.
import "./plugins/file_upload/uploadfileplugin.js";
+import "./plugins/block_reference/block_reference.js";
import "./plugins/content_embed/content_embed.js";
import "./plugins/math/math.js";
import "./plugins/mermaid/mermaid.js";
diff --git a/packages/ckeditor5/src/plugins.spec.ts b/packages/ckeditor5/src/plugins.spec.ts
index 2bd1d5580f..1978ceb9ce 100644
--- a/packages/ckeditor5/src/plugins.spec.ts
+++ b/packages/ckeditor5/src/plugins.spec.ts
@@ -5,6 +5,7 @@ import { createTestEditor } from "../test/editor-kit.js";
import { AttributeEditor } from "./index.js";
import Admonition from "./plugins/admonition/admonition.js";
import BlockDragHandle from "./plugins/block_drag_handle.js";
+import BlockReference from "./plugins/block_reference/block_reference.js";
import ItalicAsEmPlugin from "./plugins/italic_as_em.js";
import StrikethroughAsDel from "./plugins/strikethrough_as_del.js";
import { CHAT_INPUT_PLUGINS, CLASSIC_EDITOR_PLUGINS, COMMON_PLUGINS, CORE_PLUGINS, MEMO_PLUGINS, POPUP_EDITOR_PLUGINS } from "./plugins.js";
@@ -80,6 +81,7 @@ describe("plugin lists", () => {
expect(COMMON_PLUGINS).toContain(CutToNotePlugin);
expect(COMMON_PLUGINS).toContain(InternalLinkPlugin);
expect(COMMON_PLUGINS).toContain(ContentEmbed);
+ expect(COMMON_PLUGINS).toContain(BlockReference);
expect(COMMON_PLUGINS).toContain(LinkEmbed);
expect(COMMON_PLUGINS).toContain(FindInLinkWidgets);
expect(COMMON_PLUGINS).toContain(Uploadfileplugin);
diff --git a/packages/ckeditor5/src/plugins.ts b/packages/ckeditor5/src/plugins.ts
index c99bdbf912..44382a9047 100644
--- a/packages/ckeditor5/src/plugins.ts
+++ b/packages/ckeditor5/src/plugins.ts
@@ -21,6 +21,7 @@ import TriliumMentionUI from "./plugins/mention/trilium_mention_ui.js";
import TriliumSlashCommands from "./plugins/mention/slash_commands.js";
import TriliumFormatPainter from "./plugins/format_painter/format_painter.js";
import ContentEmbed from "./plugins/content_embed/content_embed.js";
+import BlockReference from "./plugins/block_reference/block_reference.js";
import InlineIcon from "./plugins/inline_icon/inline_icon.js";
import LinkEmbed from "./plugins/link_embed/link_embed.js";
import Uploadfileplugin from "./plugins/file_upload/uploadfileplugin.js";
@@ -84,6 +85,7 @@ const TRILIUM_PLUGINS: typeof Plugin[] = [
IndentBlockShortcutPlugin,
MarkdownImportPlugin,
ContentEmbed,
+ BlockReference,
InlineIcon,
LinkEmbed,
Uploadfileplugin,
diff --git a/packages/ckeditor5/src/plugins/block_reference/block_reference.spec.ts b/packages/ckeditor5/src/plugins/block_reference/block_reference.spec.ts
new file mode 100644
index 0000000000..ebbb999c4d
--- /dev/null
+++ b/packages/ckeditor5/src/plugins/block_reference/block_reference.spec.ts
@@ -0,0 +1,289 @@
+import {
+ _getModelData as getModelData, _setModelData as setModelData, BalloonEditor, BlockQuote,
+ BlockToolbar, type ClassicEditor, CodeBlock, Essentials, Heading, List, Paragraph, Table
+} from "ckeditor5";
+import { describe, expect, it, vi } from "vitest";
+
+import { createTestEditor, createTestEditorOf } from "../../../test/editor-kit.js";
+import { installGlobMock } from "../../../test/globals-test-kit.js";
+import BlockDragHandle from "../block_drag_handle.js";
+import BlockReference from "./block_reference.js";
+
+const PLUGINS = [
+ Essentials, Paragraph, Heading, BlockQuote, CodeBlock, List, Table, BlockReference
+];
+
+describe("BlockReference", () => {
+ describe("conversion", () => {
+ it("keeps the id of every kind of block", async () => {
+ const editor = await createTestEditor(PLUGINS);
+ const data = [
+ "<p data-trilium-block-id=\"p1\">Paragraph</p>",
+ "<h2 data-trilium-block-id=\"h1\">Heading</h2>",
+ "<blockquote data-trilium-block-id=\"q1\">"
+ + "<p data-trilium-block-id=\"q2\">Quote</p></blockquote>",
+ "<pre><code class=\"language-plaintext\" data-trilium-block-id=\"c1\">"
+ + "code</code></pre>",
+ "<ul><li data-list-item-id=\"e1\"><p data-trilium-block-id=\"l1\">Item</p></li>"
+ + "<li data-list-item-id=\"e2\">Plain item</li></ul>",
+ "<figure class=\"table\" data-trilium-block-id=\"t1\">"
+ + "<table><tbody><tr><td>Cell</td></tr></tbody></table></figure>"
+ ].join("");
+
+ editor.setData(data);
+
+ expect(editor.getData()).toBe(data);
+ const heading = getEditable(editor).querySelector("[data-trilium-block-id='h1']");
+ expect(heading?.tagName).toBe("H2");
+ });
+
+ it("keeps any id without a colon", async () => {
+ const editor = await createTestEditor(PLUGINS);
+
+ editor.setData(
+ "<p data-trilium-block-id=\"intro &amp; more?\">A</p>"
+ + "<p data-trilium-block-id=\"a:b\">B</p>"
+ + "<p data-trilium-block-id=\"\">C</p>"
+ );
+
+ expect(editor.getData()).toBe(
+ "<p data-trilium-block-id=\"intro &amp; more?\">A</p><p>B</p><p>C</p>"
+ );
+ });
+
+ it("ignores the id on inline content", async () => {
+ const editor = await createTestEditor(PLUGINS);
+
+ editor.setData("<p><span data-trilium-block-id=\"s1\">text</span></p>");
+
+ expect(editor.getData()).toBe("<p>text</p>");
+ });
+ });
+
+ describe("assignBlockReference", () => {
+ it("gives an id to the selected block and reuses it", async () => {
+ const editor = await createTestEditor(PLUGINS);
+ setModelData(editor.model, "<paragraph>one</paragraph><paragraph>t[]wo</paragraph>");
+
+ const reference = editor.execute("assignBlockReference");
+ const id = getBlock(editor, 1).getAttribute("blockId");
+
+ expect(id).toMatch(/^[A-Za-z0-9]{12}$/);
+ expect(reference).toEqual({ startId: id, endId: id, count: 1 });
+ expect(getBlock(editor, 0).hasAttribute("blockId")).toBe(false);
+ expect(editor.execute("assignBlockReference")).toEqual(reference);
+
+ editor.execute("undo");
+ expect(getBlock(editor, 1).hasAttribute("blockId")).toBe(false);
+ });
+
+ it("gives ids to the first and the last block of a range", async () => {
+ const editor = await createTestEditor(PLUGINS);
+ setModelData(editor.model,
+ "<blockQuote><paragraph>o[ne</paragraph></blockQuote>"
+ + "<paragraph>two</paragraph><paragraph>thr]ee</paragraph>"
+ );
+
+ const reference = editor.execute("assignBlockReference");
+ const quote = editor.model.document.getRoot()?.getChild(0);
+ const first = quote?.is("element") ? quote.getChild(0) : null;
+
+ expect(reference).toEqual({
+ startId: first?.getAttribute("blockId"),
+ endId: getBlock(editor, 2).getAttribute("blockId"),
+ count: 3
+ });
+ expect(getBlock(editor, 1).hasAttribute("blockId")).toBe(false);
+ });
+
+ it("gives an id to an item of a list, which then saves as a paragraph", async () => {
+ const editor = await createTestEditor(PLUGINS);
+ editor.setData("<ul><li data-list-item-id=\"e1\">Item</li></ul>");
+ editor.model.change((writer) => writer.setSelection(getBlock(editor, 0), "end"));
+
+ const reference = editor.execute("assignBlockReference");
+
+ expect(editor.getData()).toBe("<ul><li data-list-item-id=\"e1\">"
+ + `<p data-trilium-block-id="${reference?.startId}">Item</p></li></ul>`);
+ const item = getEditable(editor).querySelector("li > [data-trilium-block-id]");
+ expect(item?.textContent).toBe("Item");
+ });
+
+ it("references a table instead of the blocks of its cells", async () => {
+ const editor = await createTestEditor(PLUGINS);
+ setModelData(editor.model,
+ "<table><tableRow><tableCell><paragraph>[a</paragraph></tableCell>"
+ + "<tableCell><paragraph>b]</paragraph></tableCell></tableRow></table>"
+ );
+
+ const reference = editor.execute("assignBlockReference");
+
+ expect(reference?.count).toBe(1);
+ expect(getBlock(editor, 0).getAttribute("blockId")).toBe(reference?.startId);
+ });
+
+ it("is disabled in read-only mode", async () => {
+ const editor = await createTestEditor(PLUGINS);
+ setModelData(editor.model, "<paragraph>[]one</paragraph>");
+ const command = editor.commands.get("assignBlockReference");
+
+ editor.enableReadOnlyMode("spec");
+
+ expect(command?.isEnabled).toBe(false);
+ expect(editor.execute("assignBlockReference")).toBeUndefined();
+ });
+
+ it("skips blocks inside an object that cannot hold an id", async () => {
+ const editor = await createTestEditor(PLUGINS);
+ editor.model.schema.register("frame", {
+ isObject: true,
+ allowWhere: "$block",
+ allowContentOf: "$root"
+ });
+ editor.conversion.elementToElement({ model: "frame", view: "aside" });
+ setModelData(editor.model, "<frame><paragraph>[]one</paragraph></frame>");
+
+ expect(editor.commands.get("assignBlockReference")?.isEnabled).toBe(false);
+ });
+ });
+
+ describe("duplicate ids", () => {
+ it("removes the id from a pasted copy", async () => {
+ const editor = await createTestEditor(PLUGINS);
+ editor.setData("<p data-trilium-block-id=\"a\">one</p><p>two</p>");
+ editor.model.change((writer) => writer.setSelection(getBlock(editor, 1), "end"));
+
+ editor.model.insertContent(editor.data.parse(
+ "<blockquote><p data-trilium-block-id=\"a\">one</p></blockquote>"
+ ));
+
+ expect(editor.getData()).toBe(
+ "<p data-trilium-block-id=\"a\">one</p><p>two</p>"
+ + "<blockquote><p>one</p></blockquote>"
+ );
+ });
+
+ it("keeps the id of a block moved within one change", async () => {
+ const editor = await createTestEditor(PLUGINS);
+ editor.setData("<p data-trilium-block-id=\"a\">one</p><p>two</p>");
+
+ editor.model.change((writer) => {
+ const root = editor.model.document.getRoot();
+ if (!root) return;
+ writer.insert(writer.cloneElement(getBlock(editor, 0)), root, "end");
+ writer.remove(getBlock(editor, 0));
+ });
+
+ expect(editor.getData()).toBe("<p>two</p><p data-trilium-block-id=\"a\">one</p>");
+ });
+
+ it("keeps the id with the text when Enter splits a block", async () => {
+ const editor = await createTestEditor(PLUGINS);
+ const split = (modelData: string) => {
+ setModelData(editor.model, modelData);
+ editor.execute("enter");
+ return getModelData(editor.model, { withoutSelection: true });
+ };
+
+ expect(split("<paragraph blockId=\"a\">o[]ne</paragraph>")).toBe(
+ "<paragraph blockId=\"a\">o</paragraph><paragraph>ne</paragraph>"
+ );
+ expect(split("<paragraph blockId=\"a\">one[]</paragraph>")).toBe(
+ "<paragraph blockId=\"a\">one</paragraph><paragraph></paragraph>"
+ );
+ expect(split("<paragraph blockId=\"a\">[]one</paragraph>")).toBe(
+ "<paragraph></paragraph><paragraph blockId=\"a\">one</paragraph>"
+ );
+ expect(split("<paragraph blockId=\"a\">[]</paragraph>")).toBe(
+ "<paragraph blockId=\"a\"></paragraph><paragraph></paragraph>"
+ );
+
+ editor.execute("insertText", { text: "x" });
+ expect(getModelData(editor.model, { withoutSelection: true })).toBe(
+ "<paragraph blockId=\"a\"></paragraph><paragraph>x</paragraph>"
+ );
+ });
+
+ it("keeps the first of duplicate ids in loaded content", async () => {
+ const editor = await createTestEditor(PLUGINS);
+
+ editor.setData(
+ "<p data-trilium-block-id=\"a\">one</p><p data-trilium-block-id=\"a\">two</p>"
+ );
+
+ expect(editor.getData()).toBe("<p data-trilium-block-id=\"a\">one</p><p>two</p>");
+ });
+ });
+
+ describe("block handle menu", () => {
+ it("asks the host to open the menu for the selected blocks", async () => {
+ const openBlockHandleMenu = vi.fn();
+ installGlobMock({ getComponentByEl: () => ({ openBlockHandleMenu }) });
+ const editor = await createTestEditor([ ...PLUGINS, BlockDragHandle ]);
+ setModelData(editor.model, "<paragraph>[one</paragraph><paragraph>two]</paragraph>");
+ const handle = getHandle(editor.plugins.get(BlockDragHandle).buttonView?.element);
+
+ const rightDown = new MouseEvent("mousedown", { button: 2, cancelable: true });
+ const leftDown = new MouseEvent("mousedown", { button: 0, cancelable: true });
+ handle.dispatchEvent(rightDown);
+ handle.dispatchEvent(leftDown);
+ const contextMenu = new MouseEvent("contextmenu", { cancelable: true });
+ handle.dispatchEvent(contextMenu);
+
+ expect(rightDown.defaultPrevented).toBe(true);
+ expect(leftDown.defaultPrevented).toBe(false);
+ expect(contextMenu.defaultPrevented).toBe(true);
+ expect(openBlockHandleMenu).toHaveBeenCalledWith(contextMenu, 2);
+
+ editor.enableReadOnlyMode("spec");
+ handle.dispatchEvent(new MouseEvent("contextmenu", { cancelable: true }));
+ expect(openBlockHandleMenu).toHaveBeenCalledTimes(1);
+ });
+
+ it("uses the button of the block toolbar in the floating toolbar editor", async () => {
+ const openBlockHandleMenu = vi.fn();
+ installGlobMock({ getComponentByEl: () => ({ openBlockHandleMenu }) });
+ const editor = await createTestEditorOf(BalloonEditor, [ ...PLUGINS, BlockToolbar ], {
+ blockToolbar: [ "heading" ]
+ });
+ setModelData(editor.model, "<paragraph>[]one</paragraph>");
+
+ getHandle(editor.plugins.get(BlockToolbar).buttonView.element)
+ .dispatchEvent(new MouseEvent("contextmenu", { cancelable: true }));
+
+ expect(openBlockHandleMenu).toHaveBeenCalledWith(expect.any(MouseEvent), 1);
+ });
+
+ it("does nothing in an editor without a block handle", async () => {
+ const editor = await createTestEditor(PLUGINS);
+
+ expect(editor.plugins.get(BlockReference)).toBeInstanceOf(BlockReference);
+ });
+ });
+});
+
+function getEditable(editor: ClassicEditor) {
+ const editable = editor.ui.getEditableElement();
+ if (!editable) {
+ throw new Error("The editor has no editable.");
+ }
+
+ return editable;
+}
+
+function getBlock(editor: ClassicEditor, index: number) {
+ const block = editor.model.document.getRoot()?.getChild(index);
+ if (!block?.is("element")) {
+ throw new Error(`The editor has no block ${index}.`);
+ }
+
+ return block;
+}
+
+function getHandle(element: HTMLElement | undefined) {
+ if (!element) {
+ throw new Error("The block handle is not rendered.");
+ }
+
+ return element;
+}
diff --git a/packages/ckeditor5/src/plugins/block_reference/block_reference.ts b/packages/ckeditor5/src/plugins/block_reference/block_reference.ts
new file mode 100644
index 0000000000..0c3be6d126
--- /dev/null
+++ b/packages/ckeditor5/src/plugins/block_reference/block_reference.ts
@@ -0,0 +1,79 @@
+import { DomEmitterMixin, Plugin } from "ckeditor5";
+
+import BlockReferenceEditing, {
+ type AssignBlockReferenceCommand, getReferenceBlocks
+} from "./block_reference_editing.js";
+
+/**
+ * References to blocks of a text note. A right click on the block handle calls
+ * `openBlockHandleMenu()` of the host, whose menu copies a reference to the selected blocks.
+ */
+export default class BlockReference extends Plugin {
+
+ private readonly domEmitter = new (DomEmitterMixin())();
+
+ static get pluginName() {
+ return "BlockReference" as const;
+ }
+
+ static get requires() {
+ return [ BlockReferenceEditing ] as const;
+ }
+
+ afterInit() {
+ const handle = this.getHandleElement();
+ if (!handle) {
+ return;
+ }
+
+ // The editor keeps the focus, so the handle and the selection stay.
+ this.domEmitter.listenTo(handle, "mousedown", (_evt, event: MouseEvent) => {
+ if (event.button === 2) {
+ event.preventDefault();
+ }
+ });
+ this.domEmitter.listenTo(handle, "contextmenu", (_evt, event: MouseEvent) => {
+ event.preventDefault();
+ this.openMenu(event);
+ });
+ }
+
+ override destroy() {
+ this.domEmitter.stopListening();
+ super.destroy();
+ }
+
+ private getHandleElement() {
+ const plugins = this.editor.plugins;
+ if (plugins.has("BlockDragHandle")) {
+ return plugins.get("BlockDragHandle").buttonView?.element;
+ }
+ if (plugins.has("BlockToolbar")) {
+ return plugins.get("BlockToolbar").buttonView.element;
+ }
+
+ return null;
+ }
+
+ private openMenu(event: MouseEvent) {
+ const editor = this.editor;
+ const count = getReferenceBlocks(editor.model).length;
+ if (!count || !editor.commands.get("assignBlockReference")?.isEnabled) {
+ return;
+ }
+
+ const component = glob.getComponentByEl<EditorComponent>(editor.editing.view.getDomRoot());
+ component?.openBlockHandleMenu?.(event, count);
+ }
+}
+
+declare module "ckeditor5" {
+ interface PluginsMap {
+ [BlockReference.pluginName]: BlockReference;
+ [BlockReferenceEditing.pluginName]: BlockReferenceEditing;
+ }
+
+ interface CommandsMap {
+ assignBlockReference: AssignBlockReferenceCommand;
+ }
+}
diff --git a/packages/ckeditor5/src/plugins/block_reference/block_reference_editing.ts b/packages/ckeditor5/src/plugins/block_reference/block_reference_editing.ts
new file mode 100644
index 0000000000..593881094a
--- /dev/null
+++ b/packages/ckeditor5/src/plugins/block_reference/block_reference_editing.ts
@@ -0,0 +1,178 @@
+import { BLOCK_ID_ATTRIBUTE, isValidBlockId } from "@triliumnext/commons";
+import {
+ Command, type Model, type ModelElement, type ModelWriter, Plugin, type ViewElement
+} from "ckeditor5";
+
+/** The model attribute with the id of a block. */
+export const BLOCK_ID = "blockId";
+
+const BLOCK_ID_LENGTH = 12;
+const BLOCK_ID_CHARACTERS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
+
+/** The blocks that a reference made from the selection points at. */
+export interface BlockReferenceTarget {
+ startId: string;
+ endId: string;
+ count: number;
+}
+
+/**
+ * Stores the id of a referenced block as `data-trilium-block-id`, and keeps each id unique in the
+ * document.
+ */
+export default class BlockReferenceEditing extends Plugin {
+
+ static get pluginName() {
+ return "BlockReferenceEditing" as const;
+ }
+
+ init() {
+ const editor = this.editor;
+ const schema = editor.model.schema;
+
+ schema.extend("$container", { allowAttributes: BLOCK_ID });
+ schema.addAttributeCheck(
+ (context) => schema.isBlock(context.last.name) ? true : undefined,
+ BLOCK_ID
+ );
+
+ editor.conversion.for("upcast").attributeToAttribute({
+ view: { key: BLOCK_ID_ATTRIBUTE },
+ model: {
+ key: BLOCK_ID,
+ value: (viewElement: ViewElement) => {
+ const id = viewElement.getAttribute(BLOCK_ID_ATTRIBUTE);
+ return isValidBlockId(id) ? id : null;
+ }
+ }
+ });
+
+ editor.conversion.for("downcast").attributeToAttribute({
+ model: BLOCK_ID,
+ view: BLOCK_ID_ATTRIBUTE
+ });
+
+ editor.model.document.registerPostFixer((writer) =>
+ removeDuplicateBlockIds(editor.model, writer));
+ editor.commands.add("assignBlockReference", new AssignBlockReferenceCommand(editor));
+ }
+}
+
+/** Gives ids to the first and the last block of the selection, and returns the reference. */
+export class AssignBlockReferenceCommand extends Command {
+
+ override refresh() {
+ this.isEnabled = getReferenceBlocks(this.editor.model).length > 0;
+ }
+
+ override execute(): BlockReferenceTarget {
+ const model = this.editor.model;
+ const blocks = getReferenceBlocks(model);
+ const first = blocks[0];
+ const last = blocks[blocks.length - 1];
+
+ model.change((writer) => {
+ for (const block of new Set([ first, last ])) {
+ if (!block.hasAttribute(BLOCK_ID)) {
+ writer.setAttribute(BLOCK_ID, generateBlockId(), block);
+ }
+ }
+ });
+
+ return {
+ startId: first.getAttribute(BLOCK_ID) as string,
+ endId: last.getAttribute(BLOCK_ID) as string,
+ count: blocks.length
+ };
+ }
+}
+
+/**
+ * The blocks of the selection that a reference can point at. A block inside an object, such as a
+ * table cell, is replaced by the outermost object.
+ */
+export function getReferenceBlocks(model: Model) {
+ const blocks: ModelElement[] = [];
+ for (const block of model.document.selection.getSelectedBlocks()) {
+ const outerObject = block.getAncestors()
+ .find((ancestor): ancestor is ModelElement =>
+ ancestor.is("element") && model.schema.isObject(ancestor));
+ const target = outerObject ?? block;
+ if (!blocks.includes(target) && model.schema.checkAttribute(target, BLOCK_ID)) {
+ blocks.push(target);
+ }
+ }
+
+ return blocks;
+}
+
+/**
+ * Removes the id from a block inserted with an id that another block already has, as by a copy
+ * and paste or an Enter split. After an Enter at the start of a block, the id stays with the text.
+ */
+function removeDuplicateBlockIds(model: Model, writer: ModelWriter) {
+ const inserted = getInsertedBlocksWithId(model);
+ if (!inserted.length) {
+ return false;
+ }
+
+ const existing = getBlocksById(model, new Set(inserted));
+ const seenIds = new Set<string>();
+ let isChanged = false;
+
+ for (const block of inserted) {
+ const id = block.getAttribute(BLOCK_ID) as string;
+ const original = existing.get(id);
+
+ if (original?.isEmpty && !block.isEmpty) {
+ writer.removeAttribute(BLOCK_ID, original);
+ existing.delete(id);
+ isChanged = true;
+ } else if (original || seenIds.has(id)) {
+ writer.removeAttribute(BLOCK_ID, block);
+ isChanged = true;
+ }
+ seenIds.add(id);
+ }
+
+ return isChanged;
+}
+
+function getInsertedBlocksWithId(model: Model) {
+ const blocks: ModelElement[] = [];
+ for (const change of model.document.differ.getChanges()) {
+ if (change.type !== "insert" || change.name === "$text") {
+ continue;
+ }
+
+ const end = change.position.getShiftedBy(change.length);
+ const range = model.createRange(change.position, end);
+ for (const item of range.getItems()) {
+ if (item.is("element") && item.hasAttribute(BLOCK_ID)) {
+ blocks.push(item);
+ }
+ }
+ }
+
+ return blocks;
+}
+
+function getBlocksById(model: Model, excluded: Set<ModelElement>) {
+ const blocks = new Map<string, ModelElement>();
+ for (const root of model.document.getRoots()) {
+ for (const item of model.createRangeIn(root).getItems()) {
+ if (item.is("element") && !excluded.has(item) && item.hasAttribute(BLOCK_ID)) {
+ blocks.set(item.getAttribute(BLOCK_ID) as string, item);
+ }
+ }
+ }
+
+ return blocks;
+}
+
+function generateBlockId() {
+ const bytes = crypto.getRandomValues(new Uint8Array(BLOCK_ID_LENGTH));
+ const characters = Array.from(bytes, (byte) =>
+ BLOCK_ID_CHARACTERS[byte % BLOCK_ID_CHARACTERS.length]);
+ return characters.join("");
+}
diff --git a/packages/ckeditor5/src/plugins/content_embed/content_embed.spec.ts b/packages/ckeditor5/src/plugins/content_embed/content_embed.spec.ts
index a7bf4b0d65..68311fa2fb 100644
--- a/packages/ckeditor5/src/plugins/content_embed/content_embed.spec.ts
+++ b/packages/ckeditor5/src/plugins/content_embed/content_embed.spec.ts
@@ -994,6 +994,57 @@ describe("ContentEmbed with attachments", () => {
expect(findContentEmbed(editor)?.getAttribute("attachmentId")).toBe("att1");
});
+ it("stores, saves and renders an embed of blocks, and redraws it when they change", () => {
+ const html = "<figure class=\"include-note\" data-note-id=\"noteAbc\" data-block=\"a1:b2\""
+ + " data-box-size=\"small\">&nbsp;</figure>";
+ editor.setData(html);
+ renderEmbeds();
+
+ expect(findContentEmbed(editor)?.getAttribute("block")).toBe("a1:b2");
+ expect(editor.getData()).toBe(html);
+ expect(loadEmbeddedNote)
+ .toHaveBeenLastCalledWith("noteAbc", expect.anything(), "small", "a1:b2");
+
+ editor.model.change((writer) => {
+ const embed = findContentEmbed(editor);
+ if (embed) {
+ writer.setAttribute("block", "c3", embed);
+ }
+ });
+ renderEmbeds();
+
+ expect(loadEmbeddedNote)
+ .toHaveBeenLastCalledWith("noteAbc", expect.anything(), "small", "c3");
+ expect(editor.editing.view.getDomRoot()?.querySelector(".include-note")
+ ?.getAttribute("data-block")).toBe("c3");
+ });
+
+ it("turns a link to blocks into an embed of them, and the embed back into a link", async () => {
+ const blockHref = "#root/parentAbc/noteAbc?block=a1:b%202";
+ editor.setData(
+ `<p><a class="reference-link" href="${blockHref}">blocks</a></p>`
+ + "<p><a class=\"reference-link\" href=\"#root/noteAbc?block=a1&card=c1\">mixed</a></p>"
+ + "<p><a class=\"reference-link\" href=\"#root/noteAbc?block=a:b:c\">malformed</a></p>"
+ + "<p><a class=\"reference-link\" href=\"#root/noteAbc?block=\">empty</a></p>"
+ + "<p><a class=\"reference-link\" href=\"#\">no note</a></p>"
+ );
+ const links = editor.editing.view.getDomRoot()
+ ?.querySelectorAll<HTMLElement>("a.reference-link") ?? [];
+ const plugin = editor.plugins.get(ContentEmbed);
+
+ expect([ ...links ].map((link) => plugin.canConvertLinkToEmbed(link)))
+ .toEqual([ true, false, false, false, false ]);
+
+ editor.execute(CONVERT_LINK_TO_EMBED_COMMAND, { domElement: links[0] });
+ expect(findContentEmbed(editor)?.getAttribute("block")).toBe("a1:b 2");
+
+ selectEmbed();
+ editor.execute(CONVERT_EMBED_TO_LINK_COMMAND);
+ await vi.waitFor(() => expect(editor.getData()).toContain(
+ "<a class=\"reference-link\" href=\"#root/noteAbc?block=a1:b%202\">"
+ ));
+ });
+
it("redraws the embeds of a changed attachment and removes those of a deleted one", () => {
editor.setData(embedHtml("att1") + embedHtml("att2"));
renderEmbeds();
diff --git a/packages/ckeditor5/src/plugins/content_embed/content_embed.ts b/packages/ckeditor5/src/plugins/content_embed/content_embed.ts
index 50334ab497..994624c44d 100644
--- a/packages/ckeditor5/src/plugins/content_embed/content_embed.ts
+++ b/packages/ckeditor5/src/plugins/content_embed/content_embed.ts
@@ -24,6 +24,7 @@ import {
import editIcon from 'boxicons/svg/regular/bx-edit-alt.svg?raw';
import windowIcon from 'boxicons/svg/regular/bx-window-alt.svg?raw';
import noteIcon from '../../icons/note.svg?raw';
+import { encodeBlockParameter, parseBlockRange } from '@triliumnext/commons';
import { getAttachmentId, getNoteId } from '../referencelink.js';
import ResizableWidgets, { SIZE_ATTRIBUTES } from '../resizable_widgets/resizable_widgets.js';
import './nested_editor_events.js';
@@ -402,7 +403,7 @@ class ContentEmbedEditing extends Plugin {
// An embed shows either a note or an attachment. An embed that
// `FileUploadEditing` is uploading carries the upload attributes instead of its id.
allowAttributes: [
- 'noteId', 'attachmentId', 'boxSize', 'hideTitle', 'editable', 'uploadId',
+ 'noteId', 'block', 'attachmentId', 'boxSize', 'hideTitle', 'editable', 'uploadId',
'uploadStatus', 'uploadFileName'
],
@@ -431,9 +432,10 @@ class ContentEmbedEditing extends Plugin {
conversion.for( 'upcast' ).elementToElement( {
model: ( viewElement, { writer: modelWriter } ) => {
const attachmentId = viewElement.getAttribute( 'data-attachment-id' );
+ const block = viewElement.getAttribute( 'data-block' );
const embedded = attachmentId
? { attachmentId }
- : { noteId: viewElement.getAttribute( 'data-note-id' ) };
+ : { noteId: viewElement.getAttribute( 'data-note-id' ), ...( block ? { block } : {} ) };
return modelWriter.createElement( 'contentEmbed', {
...embedded,
@@ -546,7 +548,7 @@ class ContentEmbedEditing extends Plugin {
// Redraws the content in place when an upload ends. A converter that lists
// `attributes` also reconverts the embed on every change of its children, such as
// a caption toggle.
- for ( const attribute of [ 'attachmentId', 'uploadFileName' ] ) {
+ for ( const attribute of [ 'attachmentId', 'block', 'uploadFileName' ] ) {
dispatcher.on( `attribute:${ attribute }:contentEmbed`, ( _evt, data, api ) => {
redrawEmbeddedEntity( editor, data.item as ModelElement, api );
} );
@@ -837,15 +839,17 @@ class ConvertEmbedToLinkCommand extends Command {
const embed = getSelectedContentEmbed( editor );
const attachmentId = embed?.getAttribute( 'attachmentId' ) as string | undefined;
const noteId = embed?.getAttribute( 'noteId' ) as string | undefined;
+ const block = embed?.getAttribute( 'block' ) as string | undefined;
if ( !embed || ( !attachmentId && !noteId ) ) {
return;
}
const editorEl = editor.editing.view.getDomRoot();
const component = glob.getComponentByEl<EditorComponent>( editorEl );
+ const blockQuery = block ? `?block=${ encodeBlockParameter( block ) }` : '';
const href = attachmentId
? await component.getAttachmentHref( attachmentId )
- : `#root/${ noteId }`;
+ : `#root/${ noteId }${ blockQuery }`;
// The embed can be removed while the host looks the link up.
const root = embed.root;
@@ -866,8 +870,7 @@ class ConvertEmbedToLinkCommand extends Command {
/**
* The reference link that `domElement` renders, and the attributes of an embed showing what it
- * points to, or `null`. A link to a note with a query points to a part of the note, such as a
- * board card, which an embed does not show.
+ * points to, or `null`. Of the links to a part of a note, an embed shows only blocks.
*/
function getLinkToEmbed( editor: Editor, domElement: HTMLElement ) {
const viewElement = editor.editing.view.domConverter.mapDomToView( domElement );
@@ -884,8 +887,26 @@ function getLinkToEmbed( editor: Editor, domElement: HTMLElement ) {
return { reference, embedded: { attachmentId } };
}
- const noteId = typeof href === 'string' && !href.includes( '?' ) ? getNoteId( href ) : null;
- return noteId ? { reference, embedded: { noteId } } : null;
+ const embedded = getEmbeddedNote( href );
+ return embedded ? { reference, embedded } : null;
+}
+
+/** The note that `href` points to, and its blocks, or `null` for a link to another part of it. */
+function getEmbeddedNote( href: unknown ) {
+ const noteId = getNoteId( href );
+ if ( !noteId ) {
+ return null;
+ }
+
+ const query = String( href ).split( '?' )[ 1 ];
+ if ( !query ) {
+ return { noteId };
+ }
+
+ const params = new URLSearchParams( query );
+ const block = params.get( 'block' );
+ const isBlockOnly = [ ...params.keys() ].every( key => key === 'block' );
+ return isBlockOnly && block && parseBlockRange( block ) ? { noteId, block } : null;
}
/** The embed the selection is on or inside, or `null`. */
@@ -973,18 +994,22 @@ function addContentEmbeds(
}
/**
- * The `data-*` attribute naming what an embed shows: an attachment, or a note. An embed whose
- * upload has not ended names nothing.
+ * The `data-*` attributes naming what an embed shows: an attachment, or a note and the blocks of
+ * it. An embed whose upload has not ended names nothing.
*/
function getEmbeddedEntityAttributes( element: ModelElement ): Record<string, string> {
const attachmentId = element.getAttribute( 'attachmentId' ) as string | undefined;
const noteId = element.getAttribute( 'noteId' ) as string | undefined;
+ const block = element.getAttribute( 'block' ) as string | undefined;
if ( attachmentId ) {
return { 'data-attachment-id': attachmentId };
}
+ if ( !noteId ) {
+ return {};
+ }
- return noteId ? { 'data-note-id': noteId } : {};
+ return block ? { 'data-note-id': noteId, 'data-block': block } : { 'data-note-id': noteId };
}
/** The `data-*` attributes of the flags that are on in `element`. */
@@ -1119,6 +1144,7 @@ function redrawEmbeddedEntity(
const viewWriter = conversionApi.writer;
viewWriter.removeAttribute( 'data-attachment-id', viewElement );
viewWriter.removeAttribute( 'data-note-id', viewElement );
+ viewWriter.removeAttribute( 'data-block', viewElement );
for ( const [ key, value ] of Object.entries( getEmbeddedEntityAttributes( embed ) ) ) {
viewWriter.setAttribute( key, value, viewElement );
}
@@ -1150,7 +1176,8 @@ function loadEmbeddedContent(
if ( attachmentId ) {
component.loadEmbeddedAttachment( attachmentId, $wrapper, boxSize );
} else if ( noteId ) {
- component.loadEmbeddedNote( noteId, $wrapper, boxSize );
+ const block = element.getAttribute( 'block' ) as string | undefined;
+ component.loadEmbeddedNote( noteId, $wrapper, boxSize, block );
}
}
diff --git a/packages/commons/src/index.ts b/packages/commons/src/index.ts
index d522f4500e..2c4fe79d34 100644
--- a/packages/commons/src/index.ts
+++ b/packages/commons/src/index.ts
@@ -30,6 +30,7 @@ export * from "./lib/notes.js";
export * from "./lib/onenote.js";
export * from "./lib/week_utils.js";
export * from "./lib/board_columns.js";
+export * from "./lib/block_reference.js";
export * from "./lib/builtin_attributes.js";
export { default as BUILTIN_ATTRIBUTES } from "./lib/builtin_attributes.js";
// The spreadsheet modules are deliberately not re-exported here: they pull in numfmt, and the
diff --git a/packages/commons/src/lib/block_reference.spec.ts b/packages/commons/src/lib/block_reference.spec.ts
new file mode 100644
index 0000000000..eb57251d50
--- /dev/null
+++ b/packages/commons/src/lib/block_reference.spec.ts
@@ -0,0 +1,237 @@
+import { describe, expect, it } from "vitest";
+
+import {
+ BLOCK_ID_ATTRIBUTE,
+ type BlockNode,
+ encodeBlockParameter,
+ formatBlockRange,
+ isValidBlockId,
+ parseBlockRange,
+ resolveBlockRange,
+ resolveBlockReference,
+ sliceToBlockReference
+} from "./block_reference.js";
+
+describe("parseBlockRange", () => {
+ it("parses a single block and a range", () => {
+ expect(parseBlockRange("a1")).toEqual({ startId: "a1", endId: "a1" });
+ expect(parseBlockRange("a1:b2")).toEqual({ startId: "a1", endId: "b2" });
+ expect(parseBlockRange("intro section")).toEqual({
+ startId: "intro section",
+ endId: "intro section"
+ });
+ });
+
+ it("rejects empty and malformed values", () => {
+ for (const value of [ undefined, null, "", ":", "a1:", ":b2", "a1:b2:c3" ]) {
+ expect(parseBlockRange(value)).toBeNull();
+ }
+ });
+});
+
+describe("formatBlockRange", () => {
+ it("writes a single block as its id and a range with a colon", () => {
+ expect(formatBlockRange({ startId: "a1", endId: "a1" })).toBe("a1");
+ expect(formatBlockRange({ startId: "a1", endId: "b2" })).toBe("a1:b2");
+ });
+});
+
+describe("encodeBlockParameter", () => {
+ it("encodes each id and keeps the colon between them", () => {
+ expect(encodeBlockParameter("a1:b2")).toBe("a1:b2");
+ expect(encodeBlockParameter("intro & more:b/2")).toBe("intro%20%26%20more:b%2F2");
+ });
+});
+
+describe("isValidBlockId", () => {
+ it("accepts any non-empty text without a colon", () => {
+ expect(isValidBlockId("aB3dE6gH9jK2")).toBe(true);
+ expect(isValidBlockId("intro & more?")).toBe(true);
+ expect(isValidBlockId("a:b")).toBe(false);
+ expect(isValidBlockId("")).toBe(false);
+ expect(isValidBlockId(null)).toBe(false);
+ expect(isValidBlockId(undefined)).toBe(false);
+ });
+});
+
+describe("resolveBlockRange", () => {
+ it("finds nested blocks and skips text nodes", () => {
+ const start = block("p", "a");
+ const end = block("p", "b");
+ const root = el("div", {},
+ text("x"),
+ el("blockquote", {}, start),
+ el("ul", {}, el("li", {}, end))
+ );
+
+ expect(resolveBlockRange(root, { startId: "a", endId: "b" })).toEqual({ start, end });
+ });
+
+ it("returns the blocks in document order", () => {
+ const first = block("p", "a");
+ const second = block("p", "b");
+ const root = el("div", {}, first, second);
+
+ expect(resolveBlockRange(root, { startId: "b", endId: "a" })).toEqual({
+ start: first,
+ end: second
+ });
+ });
+
+ it("finds a single block once, and the first of duplicate ids", () => {
+ const first = block("p", "a");
+ const root = el("div", {}, first, block("p", "a"));
+
+ expect(resolveBlockRange(root, { startId: "a", endId: "a" })).toEqual({
+ start: first,
+ end: first
+ });
+ });
+
+ it("leaves a missing block null", () => {
+ const found = block("p", "a");
+ const root = el("div", {}, found);
+
+ const resolve = (startId: string, endId: string) =>
+ resolveBlockRange(root, { startId, endId });
+
+ expect(resolve("a", "x")).toEqual({ start: found, end: null });
+ expect(resolve("x", "a")).toEqual({ start: null, end: found });
+ expect(resolve("x", "y")).toEqual({ start: null, end: null });
+ });
+});
+
+describe("resolveBlockReference", () => {
+ it("parses the link parameter and finds its blocks", () => {
+ const start = block("p", "a");
+ const end = block("p", "b");
+ const root = el("div", {}, start, end);
+
+ expect(resolveBlockReference(root, "a:b")).toEqual({ start, end });
+ expect(resolveBlockReference(root, "a:b:c")).toEqual({ start: null, end: null });
+ });
+});
+
+describe("sliceToBlockReference", () => {
+ it("keeps a single block and its ancestors", () => {
+ const target = block("p", "b", text("B"));
+ const root = el("div", {},
+ block("p", "a"),
+ el("blockquote", {}, el("p", {}, text("A")), target, el("p", {}, text("C"))),
+ block("p", "c")
+ );
+
+ expect(sliceToBlockReference(root, "b")).toBe(true);
+ expect(render(root)).toBe(`<div><blockquote>${render(target)}</blockquote></div>`);
+ });
+
+ it("keeps a range across nesting levels", () => {
+ const start = block("p", "a", text("A"));
+ const end = el("li", {}, block("p", "c", text("C")));
+ const root = el("div", {},
+ el("p", {}, text("before")),
+ el("blockquote", {}, el("p", {}, text("skip")), start),
+ el("p", {}, text("middle")),
+ el("ul", {}, end, el("li", {}, text("after")))
+ );
+
+ expect(sliceToBlockReference(root, "c:a")).toBe(true);
+ expect(render(root)).toBe(
+ `<div><blockquote>${render(start)}</blockquote><p>middle</p>`
+ + `<ul>${render(end)}</ul></div>`
+ );
+ });
+
+ it("changes nothing when a block is missing", () => {
+ const root = el("div", {}, block("p", "a"), el("p", {}));
+
+ expect(sliceToBlockReference(root, "a:x")).toBe(false);
+ expect(sliceToBlockReference(root, "a:b:c")).toBe(false);
+ expect(root.childNodes).toHaveLength(2);
+ });
+
+ it("keeps the numbers of the remaining items of an ordered list", () => {
+ const list = el("ol", {}, el("li", {}, text("1")), text(" "), el("li", {}, text("2")),
+ el("li", {}, block("p", "x")));
+ const numberedList = el("ol", { start: "4" }, el("li", {}, text("4")), block("li", "x"));
+ const bulletList = el("ul", {}, el("li", {}, text("a")), block("li", "x"));
+
+ for (const container of [ list, numberedList, bulletList ]) {
+ sliceToBlockReference(el("div", {}, container), "x");
+ }
+
+ expect(list.getAttribute("start")).toBe("3");
+ expect(numberedList.getAttribute("start")).toBe("5");
+ expect(bulletList.getAttribute("start")).toBeNull();
+ });
+});
+
+class TestElement implements BlockNode {
+ parentNode: BlockNode | null = null;
+ childNodes: BlockNode[] = [];
+
+ constructor(
+ readonly tagName: string,
+ private readonly attributes: Record<string, string>,
+ children: BlockNode[]
+ ) {
+ for (const child of children) {
+ child.parentNode = this;
+ this.childNodes.push(child);
+ }
+ }
+
+ getAttribute(name: string) {
+ return this.attributes[name] ?? null;
+ }
+
+ setAttribute(name: string, value: string) {
+ this.attributes[name] = value;
+ }
+
+ remove() {
+ removeFromParent(this);
+ }
+
+ render(): string {
+ const attributes = Object.entries(this.attributes)
+ .map(([ name, value ]) => ` ${name}="${value}"`);
+ const tag = this.tagName.toLowerCase();
+ return `<${tag}${attributes.join("")}>${this.childNodes.map(render).join("")}</${tag}>`;
+ }
+}
+
+class TestText implements BlockNode {
+ parentNode: BlockNode | null = null;
+ childNodes: BlockNode[] = [];
+
+ constructor(readonly text: string) {}
+
+ remove() {
+ removeFromParent(this);
+ }
+}
+
+function removeFromParent(node: BlockNode) {
+ const siblings = node.parentNode?.childNodes;
+ if (Array.isArray(siblings)) {
+ siblings.splice(siblings.indexOf(node), 1);
+ }
+ node.parentNode = null;
+}
+
+function el(tagName: string, attributes: Record<string, string>, ...children: BlockNode[]) {
+ return new TestElement(tagName.toUpperCase(), attributes, children);
+}
+
+function block(tagName: string, id: string, ...children: BlockNode[]) {
+ return el(tagName, { [BLOCK_ID_ATTRIBUTE]: id }, ...children);
+}
+
+function text(value: string) {
+ return new TestText(value);
+}
+
+function render(node: BlockNode): string {
+ return node instanceof TestElement ? node.render() : (node as TestText).text;
+}
diff --git a/packages/commons/src/lib/block_reference.ts b/packages/commons/src/lib/block_reference.ts
new file mode 100644
index 0000000000..c3019396f1
--- /dev/null
+++ b/packages/commons/src/lib/block_reference.ts
@@ -0,0 +1,134 @@
+/** The HTML attribute with the id of a block in a text note. */
+export const BLOCK_ID_ATTRIBUTE = "data-trilium-block-id";
+
+/** The blocks that a block reference points at. `startId` equals `endId` for a single block. */
+export interface BlockRange {
+ startId: string;
+ endId: string;
+}
+
+/** A node of an HTML tree. The browser DOM and `node-html-parser` both match it. */
+export interface BlockNode {
+ parentNode: BlockNode | null;
+ childNodes: ArrayLike<BlockNode>;
+ tagName?: string;
+ getAttribute?(name: string): string | null | undefined;
+ setAttribute?(name: string, value: string): unknown;
+ remove?(): unknown;
+}
+
+/** Whether `id` can be a block id. An id can be any text without `:`, the range separator. */
+export function isValidBlockId(id: string | null | undefined): id is string {
+ return !!id && !id.includes(":");
+}
+
+/** Parses the value of the `block` link parameter, `id` or `startId:endId`. */
+export function parseBlockRange(value: string | null | undefined): BlockRange | null {
+ const ids = value?.split(":") ?? [];
+ if (ids.length < 1 || ids.length > 2 || ids.some((id) => !id)) {
+ return null;
+ }
+
+ return { startId: ids[0], endId: ids[1] ?? ids[0] };
+}
+
+/** Formats `range` as the value of the `block` link parameter. */
+export function formatBlockRange({ startId, endId }: BlockRange) {
+ return startId === endId ? startId : `${startId}:${endId}`;
+}
+
+/** URI-encodes the value of the `block` link parameter, keeping the `:` between the ids. */
+export function encodeBlockParameter(value: string) {
+ return value.split(":").map(encodeURIComponent).join(":");
+}
+
+/**
+ * Finds the first and the last block of `range` under `root`, in document order. A block that is
+ * not found is `null`.
+ */
+export function resolveBlockRange<T extends BlockNode>(root: BlockNode, range: BlockRange) {
+ let start: T | null = null;
+ let end: T | null = null;
+ let isEndFirst = false;
+
+ for (const node of walk(root)) {
+ const id = node.getAttribute?.(BLOCK_ID_ATTRIBUTE);
+ if (!start && id === range.startId) {
+ start = node as T;
+ }
+ if (!end && id === range.endId) {
+ end = node as T;
+ isEndFirst = !start;
+ }
+ if (start && end) {
+ break;
+ }
+ }
+
+ if (start && end && isEndFirst) {
+ return { start: end, end: start };
+ }
+ return { start, end };
+}
+
+/** Finds the blocks that `value`, a `block` link parameter, points at, as `resolveBlockRange()`. */
+export function resolveBlockReference<T extends BlockNode>(root: BlockNode, value: string) {
+ const range = parseBlockRange(value);
+ return range ? resolveBlockRange<T>(root, range) : { start: null, end: null };
+}
+
+/**
+ * Keeps in `root` only the blocks that `value`, a `block` link parameter, points at, inside their
+ * ancestors. Returns `false` and changes nothing when a block is missing.
+ */
+export function sliceToBlockReference(root: BlockNode, value: string) {
+ const { start, end } = resolveBlockReference(root, value);
+ if (!start || !end) {
+ return false;
+ }
+
+ sliceToBlockRange(root, start, end);
+ return true;
+}
+
+function sliceToBlockRange(root: BlockNode, start: BlockNode, end: BlockNode) {
+ for (let node = start; node !== root && node.parentNode; node = node.parentNode) {
+ const siblings = Array.from(node.parentNode.childNodes);
+ const removed = siblings.slice(0, siblings.indexOf(node));
+ removeNodes(removed);
+ keepListNumbering(node.parentNode, removed);
+ }
+
+ for (let node = end; node !== root && node.parentNode; node = node.parentNode) {
+ const siblings = Array.from(node.parentNode.childNodes);
+ removeNodes(siblings.slice(siblings.indexOf(node) + 1));
+ }
+}
+
+function* walk(node: BlockNode): Generator<BlockNode> {
+ for (const child of Array.from(node.childNodes)) {
+ yield child;
+ yield* walk(child);
+ }
+}
+
+function removeNodes(nodes: BlockNode[]) {
+ for (const node of nodes) {
+ node.remove?.();
+ }
+}
+
+function keepListNumbering(list: BlockNode, removed: BlockNode[]) {
+ const removedItems = removed.filter((node) => isTag(node, "LI")).length;
+ if (!isTag(list, "OL") || !removedItems) {
+ return;
+ }
+
+ const start = Number.parseInt(list.getAttribute?.("start") ?? "", 10);
+ const firstNumber = Number.isNaN(start) ? 1 : start;
+ list.setAttribute?.("start", String(firstNumber + removedItems));
+}
+
+function isTag(node: BlockNode, tagName: string) {
+ return node.tagName?.toUpperCase() === tagName;
+}
diff --git a/packages/share-theme/src/templates/page.ejs b/packages/share-theme/src/templates/page.ejs
index d8cf6db8cd..6e1e019b86 100644
--- a/packages/share-theme/src/templates/page.ejs
+++ b/packages/share-theme/src/templates/page.ejs
@@ -101,7 +101,7 @@ const logoWidth = subRoot.note.getLabelValue("shareLogoWidth") ?? 53;
const logoHeight = subRoot.note.getLabelValue("shareLogoHeight") ?? 40;
const mobileLogoHeight = logoHeight && logoWidth ? 32 / (logoWidth / logoHeight) : "";
const shareRootLink = subRoot.note.hasLabel("shareRootLink") ? sanitizeUrl(subRoot.note.getLabelValue("shareRootLink") ?? "") : `./${subRoot.note.noteId}`;
-const headingRe = /(<h[1-6]>)(.+?)(<\/h[1-6]>)/g;
+const headingRe = /(<h[1-6](?:\s[^>]*)?>)(.+?)(<\/h[1-6]>)/g;
const headingMatches = [...content.matchAll(headingRe)];
// Unique slug per heading (in document order) so duplicate titles get distinct
// anchor IDs and the ToC links point to the right occurrence.
diff --git a/packages/trilium-core/src/services/export/markdown.spec.ts b/packages/trilium-core/src/services/export/markdown.spec.ts
index c178815825..5cecf334ff 100644
--- a/packages/trilium-core/src/services/export/markdown.spec.ts
+++ b/packages/trilium-core/src/services/export/markdown.spec.ts
@@ -777,6 +777,13 @@ describe("Markdown export", () => {
expect(markdownExportService.toMarkdown(html)).toBe(expected);
});
+ it("drops the block ids of a text note, which Markdown has no syntax for", () => {
+ const html = `<h2 data-trilium-block-id="h1">Title</h2>`
+ + `<p data-trilium-block-id="p1">Text</p>`;
+
+ expect(markdownExportService.toMarkdown(html)).toBe("## Title\n\nText");
+ });
+
it("drops data-trilium-collapsed but keeps the collapsed item's children as bullets", () => {
// Collapsing is editor-only UI state (the nested items live in the content, hidden via
// CSS), and Markdown has no syntax for it — so the attribute is dropped on export while
diff --git a/packages/trilium-core/src/services/import/single.spec.ts b/packages/trilium-core/src/services/import/single.spec.ts
index 62981444da..c9f079bb3a 100644
--- a/packages/trilium-core/src/services/import/single.spec.ts
+++ b/packages/trilium-core/src/services/import/single.spec.ts
@@ -97,6 +97,14 @@ describe("processNoteContent", () => {
expect(content).toContain("Child");
});
+ it("safe import preserves the block ids of a text note", async () => {
+ const html = `<p data-trilium-block-id="p1">Text</p>`;
+ const { importedNote } = await testImport(
+ "blocks.html", "text/html", Buffer.from(html), { safeImport: true });
+
+ expect(importedNote.getContent().toString()).toContain(html);
+ });
+
it("supports code note with UTF-16", async () => {
const { importedNote, buffer } = await testImport("UTF-16LE Code Note.json", "application/json");
expect(importedNote.mime).toBe("application/json");
diff --git a/packages/trilium-core/src/services/notes.spec.ts b/packages/trilium-core/src/services/notes.spec.ts
index 2195c08c0c..efb928792d 100644
--- a/packages/trilium-core/src/services/notes.spec.ts
+++ b/packages/trilium-core/src/services/notes.spec.ts
@@ -452,6 +452,18 @@ describe("notes service (real DB)", () => {
expect(relation!.value).toBe(target.note.noteId);
});
+ it("creates internal-link relations for links to a part of a note", () => {
+ const target = createNote("root", { title: "spec-part-target" });
+ const source = createNote("root", { title: "spec-part-source" });
+
+ const content = `<a href="#root/${target.note.noteId}?block=a1:b2">x</a>`
+ + `<a href="#root/${target.note.noteId}?bookmark=heading">y</a>`;
+ getContext().init(() => saveLinks(source.note, content));
+
+ const relations = source.note.getRelations().filter((r) => r.name === "internalLink");
+ expect(relations.map((r) => r.value)).toEqual([ target.note.noteId ]);
+ });
+
it("removes link relations that are no longer present in the content", () => {
const target = createNote("root", { title: "spec-unused-target" });
const source = createNote("root", { title: "spec-unused-source" });
diff --git a/packages/trilium-core/src/services/notes.ts b/packages/trilium-core/src/services/notes.ts
index d9fa0bc976..1b4a17ecc2 100644
--- a/packages/trilium-core/src/services/notes.ts
+++ b/packages/trilium-core/src/services/notes.ts
@@ -747,7 +747,7 @@ function saveBookmarks(note: BNote, content: string) {
}
function findInternalLinks(content: string, foundLinks: FoundLink[]) {
- const re = /href="[^"]*#root[a-zA-Z0-9_\/]*\/([a-zA-Z0-9_]+)\/?"/g;
+ const re = /href="[^"]*#root[a-zA-Z0-9_\/]*\/([a-zA-Z0-9_]+)\/?(?:\?[^"]*)?"/g;
let match;
while ((match = re.exec(content))) {
diff --git a/packages/trilium-core/src/share/content_renderer.spec.ts b/packages/trilium-core/src/share/content_renderer.spec.ts
index 2e590055e9..9d849f16b6 100644
--- a/packages/trilium-core/src/share/content_renderer.spec.ts
+++ b/packages/trilium-core/src/share/content_renderer.spec.ts
@@ -181,6 +181,41 @@ describe("content_renderer", () => {
expect(result.content).toContain("reference-link");
});
+ it("renders only the referenced blocks of an embedded note, or a broken reference", () => {
+ const blockEmbed = (block: string) => `<figure class="include-note"`
+ + ` data-note-id="blkSrc" data-block="${block}" data-box-size="medium"></figure>`;
+ buildShareNote({
+ id: "blkSrc",
+ content: `<p>Intro</p><ol><li>One</li><li data-trilium-block-id="b1">Two</li>`
+ + `<li data-trilium-block-id="b2">Three</li><li>Four</li></ol><p>Outro</p>`
+ });
+ const note = buildShareNote({ content: blockEmbed("b2:b1") + blockEmbed("b1:gone") });
+
+ const content = getContent(note).content as string;
+
+ expect(content).toContain(`<ol start="2"><li data-trilium-block-id="b1">Two</li>`
+ + `<li data-trilium-block-id="b2">Three</li></ol>`);
+ expect(content).not.toMatch(/Intro|One|Four|Outro/);
+ expect(content).toContain(`<p class="block-reference-broken">`);
+ });
+
+ it("embeds blocks of the note itself, and links to blocks one level down", () => {
+ const note = buildShareNote({
+ id: "blkSelf",
+ title: "Self",
+ content: `<p data-trilium-block-id="top">Top</p>`
+ + `<figure class="include-note" data-note-id="blkSelf" data-block="top"`
+ + ` data-box-size="medium"></figure>`
+ });
+
+ const content = getContent(note).content as string;
+ const nested = getContent(note, { embedsAsReferenceLinks: true }).content as string;
+
+ expect(content.match(/Top/g)).toHaveLength(2);
+ expect(nested).toContain(`href="./blkSelf"`);
+ expect(nested).not.toContain("include-note");
+ });
+
it("replaces an embed of a shareCredentials-protected note with a placeholder when the caller lacks access", () => {
buildShareNote({
id: "credSecret",
@@ -261,6 +296,23 @@ describe("content_renderer", () => {
expect(page).not.toContain("page secret body");
});
+ it("gives a referenced heading a table of contents anchor, as any other heading", () => {
+ const shareRootNote = buildShareNote({
+ id: shareRoot.SHARE_ROOT_NOTE_ID,
+ children: [{
+ id: "tocBlockHost",
+ content: `<h2>Plain</h2><p>a</p>`
+ + `<h3 data-trilium-block-id="b1">Referenced</h3><p>b</p>`
+ }]
+ });
+
+ const page = renderNoteContent(shareRootNote.getChildNotes()[0]);
+
+ expect(page).toContain(`<h3 data-trilium-block-id="b1">Referenced`
+ + `<a id="referenced" class="toc-anchor"`);
+ expect(page).toContain(`href="#referenced"`);
+ });
+
it("leaves an include-note section untouched when the referenced note is missing", () => {
const note = buildShareNote({
id: "missingRefHost",
diff --git a/packages/trilium-core/src/share/content_renderer.ts b/packages/trilium-core/src/share/content_renderer.ts
index 1e26828ea6..4aa6d42aaa 100644
--- a/packages/trilium-core/src/share/content_renderer.ts
+++ b/packages/trilium-core/src/share/content_renderer.ts
@@ -1,6 +1,7 @@
import {
- extractYouTubeVideoId, isHttpUrl, isImageAttachmentRole, MIME_TYPE_AUTO, type MimeType,
- MIME_TYPES_DICT, normalizeMimeTypeForCKEditor, safeLinkPreviewHref, safeLinkPreviewImageSrc
+ encodeBlockParameter, extractYouTubeVideoId, isHttpUrl, isImageAttachmentRole, MIME_TYPE_AUTO,
+ type MimeType, MIME_TYPES_DICT, normalizeMimeTypeForCKEditor, safeLinkPreviewHref,
+ safeLinkPreviewImageSrc, sliceToBlockReference
} from "@triliumnext/commons";
import { renderToHtml as renderMarkdownToHtml } from "@triliumnext/commons/src/lib/markdown_renderer.js";
import { renderSpreadsheetToHtml } from "@triliumnext/commons/src/lib/spreadsheet/render_to_html.js";
@@ -322,6 +323,11 @@ export interface ShareRenderOptions {
seenNoteIds?: Set<string>;
/** See {@link CanAccessEmbed}. When omitted, every embedded note is expanded. */
canAccessEmbed?: CanAccessEmbed;
+ /**
+ * The blocks of a text note to render, a `block` link parameter. The rest of the note is left
+ * out, and a missing block renders as a broken reference.
+ */
+ block?: string;
}
export function getContent(note: SNote | BNote, options: ShareRenderOptions = {}) {
@@ -386,6 +392,11 @@ function renderText(result: Result, note: SNote | BNote, options: ShareRenderOpt
blockTextElements: {}
};
const document = parse(result.content || "", parseOpts);
+ if (options.block !== undefined && !sliceToBlockReference(document, options.block)) {
+ const message = escapeHtml(t("content_renderer.broken-block-reference"));
+ result.content = `<p class="block-reference-broken">${message}</p>`;
+ return;
+ }
// One of a preview's pictures, or what stands in for it. Every picture on a shared page makes
// the same decision, so it is made once: safeLinkPreviewImageSrc() keeps the placeholder for
@@ -490,7 +501,7 @@ function renderText(result: Result, note: SNote | BNote, options: ShareRenderOpt
: (attachmentId: string) => shaca.getAttachment(attachmentId);
const seenNoteIds = new Set(options.seenNoteIds);
- seenNoteIds.add(note.noteId);
+ seenNoteIds.add(getEmbedKey(note.noteId, options.block));
for (const embedEl of document.querySelectorAll(".include-note")) {
// A Tiny embed shows only a title, so it links to what it shows instead of rendering it.
const asLink = !!options.embedsAsReferenceLinks
@@ -510,6 +521,7 @@ function renderText(result: Result, note: SNote | BNote, options: ShareRenderOpt
const noteId = embedEl.getAttribute("data-note-id");
if (!noteId) continue;
+ const block = embedEl.getAttribute("data-block");
const embeddedNote = shaca.getNote(noteId);
if (!embeddedNote) continue;
@@ -524,14 +536,23 @@ function renderText(result: Result, note: SNote | BNote, options: ShareRenderOpt
// Tiny embeds, deeper-than-first-level embeds and any cycle in the recursive path degrade
// to a reference link that the link-processing passes below resolve to the shared note.
- if (asLink || seenNoteIds.has(noteId)) {
- embedEl.replaceWith(...parse(`<a class="reference-link" href="#root/${escapeHtml(noteId)}">${escapeHtml(embeddedNote.title)}</a>`, parseOpts).childNodes);
+ if (asLink || seenNoteIds.has(getEmbedKey(noteId, block))) {
+ const query = block ? `?block=${encodeBlockParameter(block)}` : "";
+ const href = escapeHtml(`#root/${noteId}${query}`);
+ const title = escapeHtml(embeddedNote.title);
+ const link = `<a class="reference-link" href="${href}">${title}</a>`;
+ embedEl.replaceWith(...parse(link, parseOpts).childNodes);
continue;
}
+ const nestedOptions: ShareRenderOptions = {
+ seenNoteIds: new Set(seenNoteIds),
+ canAccessEmbed: options.canAccessEmbed,
+ block
+ };
const embeddedResult = getContent(embeddedNote, options.expandNestedEmbeds
- ? { expandNestedEmbeds: true, seenNoteIds: new Set(seenNoteIds), canAccessEmbed: options.canAccessEmbed }
- : { embedsAsReferenceLinks: true, seenNoteIds: new Set(seenNoteIds), canAccessEmbed: options.canAccessEmbed });
+ ? { ...nestedOptions, expandNestedEmbeds: true }
+ : { ...nestedOptions, embedsAsReferenceLinks: true });
if (typeof embeddedResult.content !== "string") continue;
const embeddedDocument = parse(embeddedResult.content, parseOpts).childNodes;
@@ -579,6 +600,11 @@ function renderText(result: Result, note: SNote | BNote, options: ShareRenderOpt
}
}
+/** The key of an embed in `seenNoteIds`. A note can embed blocks of itself. */
+function getEmbedKey(noteId: string, block: string | undefined) {
+ return block ? `${noteId}:${block}` : noteId;
+}
+
/**
* Puts `content` in place of an embed. An embed with a caption stays a `<figure>`, holding
* `content` and then the caption.