Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(standalone): read the in-app help from the shipped artifacts
Elian Doran1ef17a154916
diff --git a/apps/standalone/src/assets/help_meta.json b/apps/standalone/src/assets/help_meta.jsondeleted file mode 100644index ed36750a65..0000000000--- a/apps/standalone/src/assets/help_meta.json+++ /dev/null@@ -1 +0,0 @@-[{"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_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},{"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_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},{"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_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},{"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},{"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-hash","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},{"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_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":"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_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 filediff --git a/apps/standalone/src/lightweight/in_app_help_provider.spec.ts b/apps/standalone/src/lightweight/in_app_help_provider.spec.tsindex bbae4093bf..313851ae11 100644--- a/apps/standalone/src/lightweight/in_app_help_provider.spec.ts+++ b/apps/standalone/src/lightweight/in_app_help_provider.spec.ts@@ -1,4 +1,4 @@-import { describe, expect, it } from "vitest";+import { describe, expect, it, vi } from "vitest";import StandaloneInAppHelpProvider from "./in_app_help_provider.js";@@ -10,22 +10,36 @@ describe("StandaloneInAppHelpProvider", () => {expect(data.length).toBeGreaterThan(0);});- it("all entries use webView or book type (no doc type with docName)", () => {+ it("serves the fetched page content, keyed by note ID", async () => {const provider = new StandaloneInAppHelpProvider();- const data = provider.getHelpHiddenSubtreeData();+ expect(provider.getHelpContent()).toEqual({});++ const fetchSpy = vi.spyOn(globalThis, "fetch").mockResolvedValue(+ new Response(JSON.stringify({ _help_page: "<p>Body</p>" }), { status: 200 })+ );+ await provider.load();++ expect(fetchSpy).toHaveBeenCalledWith("/server-assets/help/help_content.json");+ expect(provider.getHelpContent()).toEqual({ _help_page: "<p>Body</p>" });+ fetchSpy.mockRestore();+ });++ it("keeps the tree usable when the content cannot be fetched", async () => {+ const provider = new StandaloneInAppHelpProvider();+ const warn = vi.spyOn(console, "warn").mockImplementation(() => {});+ const fetchSpy = vi.spyOn(globalThis, "fetch").mockResolvedValue(new Response("", { status: 404 }));++ // Pages lose their bodies; the titles and the navigation do not depend on this.+ await expect(provider.load()).resolves.toBeUndefined();+ expect(provider.getHelpContent()).toEqual({});+ expect(provider.getHelpHiddenSubtreeData().length).toBeGreaterThan(0);+ expect(warn).toHaveBeenCalled();++ fetchSpy.mockRestore();+ warn.mockRestore();+ });- function assertNoDocWithContent(items: typeof data) {- for (const item of items) {- if (item.type === "doc") {- const hasDocName = item.attributes?.some(a => a.name === "docName");- expect(hasDocName, `${item.title} should not have docName`).toBe(false);- }- if (item.children) {- assertNoDocWithContent(item.children);- }- }- }-- assertNoDocWithContent(data);+ it("points assets at the copy the build makes", () => {+ expect(new StandaloneInAppHelpProvider().getHelpAssetBase()).toBe("server-assets/help");});});diff --git a/apps/standalone/src/lightweight/in_app_help_provider.ts b/apps/standalone/src/lightweight/in_app_help_provider.tsindex ca7a193166..8a9a8cedc5 100644--- a/apps/standalone/src/lightweight/in_app_help_provider.ts+++ b/apps/standalone/src/lightweight/in_app_help_provider.ts@@ -1,28 +1,51 @@import type { HelpBundle, HiddenSubtreeItem } from "@triliumnext/commons";import { InAppHelpProvider } from "@triliumnext/core";-import helpMeta from "../assets/help_meta.json";+import helpMeta from "../../../server/src/assets/help/help_meta.json";++/** Where the build copies the guide's content and assets (see vite.config.mts). */+const HELP_ASSETS = "server-assets/help";/**- * Standalone in-app help provider: serves the pre-built help meta (webView-based)- * generated at build time by edit-docs.+ * Standalone in-app help provider, reading the same two artifacts the server does: the note tree+ * `edit-docs` builds from the User Guide, and the rendered content of its pages.+ *+ * The tree is inlined by the bundler, because the subtree is built synchronously on every becca+ * load. The content is not — it is an order of magnitude larger and only needed once a page is+ * opened or searched — so it is fetched by {@link load} during worker startup. That is also the+ * last moment it can be: by the time anything asks for a page, `getContent` is synchronous.*/export default class StandaloneInAppHelpProvider extends InAppHelpProvider {+ private content: HelpBundle = {};+getHelpHiddenSubtreeData(): HiddenSubtreeItem[] {return helpMeta as HiddenSubtreeItem[];}getHelpContent(): HelpBundle {- // Standalone's help pages are web views onto the online documentation, so they hold no- // content of their own. They move to the bundled content once this build consumes the- // same artifacts the server does.- return {};+ return this.content;}getHelpAssetBase(): string {- // Unused while the pages are web views: with no content of its own, nothing carries an- // asset placeholder to substitute.- return "";+ return HELP_ASSETS;+ }++ /**+ * Loads the page content. Failing costs the pages their bodies while the tree, the titles and+ * the navigation keep working, so it is logged rather than allowed to fail startup.+ */+ async load(): Promise<void> {+ try {+ const response = await fetch(`/${HELP_ASSETS}/help_content.json`);++ if (!response.ok) {+ throw new Error(`HTTP ${response.status}`);+ }++ this.content = await response.json() as HelpBundle;+ } catch (e) {+ console.warn("[Worker] In-app help content could not be loaded:", e);+ }}}diff --git a/apps/standalone/src/local-server-worker.ts b/apps/standalone/src/local-server-worker.tsindex cca72c340c..fa3c62eeae 100644--- a/apps/standalone/src/local-server-worker.ts+++ b/apps/standalone/src/local-server-worker.ts@@ -86,6 +86,8 @@ let StandaloneLogService: typeof import('./lightweight/log_provider').default;let StandaloneBackupService: typeof import('./lightweight/backup_provider').default;let removeBackupLeftovers: typeof import('./lightweight/backup_provider').removeBackupLeftovers;let StandaloneInAppHelpProvider: typeof import('./lightweight/in_app_help_provider').default;+let inAppHelpProvider: InstanceType<typeof import('./lightweight/in_app_help_provider').default>;+let inAppHelpLoaded: Promise<void>;let translationProvider: typeof import('./lightweight/translation_provider').default;let createConfiguredRouter: typeof import('./lightweight/browser_routes').createConfiguredRouter;@@ -197,6 +199,11 @@ async function loadModules(): Promise<void> {// Loaded separately to avoid breaking Promise.all tuple inferenceBridgedRequestProvider = (await import('./lightweight/bridged_request_provider.js')).default;StandaloneInAppHelpProvider = (await import('./lightweight/in_app_help_provider.js')).default;+ // Started here rather than at the point of use: the guide's content is a plain fetch, so it+ // can run alongside opening the database instead of adding to startup, and it has to be in+ // memory before anything reads a page — `getContent` is synchronous by then.+ inAppHelpProvider = new StandaloneInAppHelpProvider();+ inAppHelpLoaded = inAppHelpProvider.load();// Create instancessqlProvider = new BrowserSqlProvider();@@ -303,7 +310,7 @@ async function initialize(): Promise<void> {if (!response.ok) return null;return new Uint8Array(await response.arrayBuffer());},- inAppHelp: new StandaloneInAppHelpProvider(),+ inAppHelp: inAppHelpProvider,image: (await import("./services/image_provider.js")).standaloneImageProvider,// Read before core opens anything, because what it says is whether to open the// database at all: a page reloaded by the app itself comes back to the wizard.@@ -326,6 +333,11 @@ async function initialize(): Promise<void> {});coreModule.ws.init();+ // Nothing can read a help page before the routes are up, and by then this has long+ // since resolved; awaited so a slow network delays the first page rather than+ // silently serving it empty.+ await inAppHelpLoaded;+// This build's half of the LLM stack, mirroring what the server// contributes in registerServerLlmExtensions. Imported here rather than// at the top of the file so the skill sheets it inlines travel in adiff --git a/apps/standalone/vite.config.mts b/apps/standalone/vite.config.mtsindex 9f99d73166..0481905759 100644--- a/apps/standalone/vite.config.mts+++ b/apps/standalone/vite.config.mts@@ -110,6 +110,77 @@ const sqliteWasmPlugin = viteStaticCopy({]});+/** Source of the in-app help's images and attachments, and the URL the app requests them under. */+const HELP_ASSETS_SOURCE = join(__dirname, "../../docs/User Guide");+const HELP_ASSETS_DEST = join(__dirname, "dist/server-assets/help");+const HELP_ASSETS_URL = "/server-assets/help/";++const HELP_ASSET_MIME_TYPES: Record<string, string> = {+ png: "image/png",+ gif: "image/gif",+ webp: "image/webp",+ jpg: "image/jpeg",+ jpeg: "image/jpeg",+ svg: "image/svg+xml",+ json: "application/json"+};++/** The guide's own files, as opposed to the content bundle that arrives with the server's assets. */+function isHelpAsset(sourcePath: string) {+ return !sourcePath.endsWith(".md") && !sourcePath.endsWith("!!!meta.json");+}++/**+ * Serves the guide's images and attachments beside the content bundle that comes with the+ * server's assets. They belong to the User Guide rather than to the server, so no other copy step+ * brings them in, and the markdown they were built from is not needed at runtime.+ *+ * Both halves are needed: a build copies them into the output, and the dev server reads them+ * straight from the guide — without that, requests fall through to the SPA fallback and every+ * image on a help page comes back as index.html with a 200.+ */+function copyHelpAssetsPlugin(): Plugin {+ return {+ name: "trilium-copy-help-assets",+ configureServer(server) {+ server.middlewares.use((req, res, next) => {+ if (!req.url?.startsWith(HELP_ASSETS_URL)) {+ return next();+ }++ const relativePath = decodeURIComponent(req.url.slice(HELP_ASSETS_URL.length).split("?")[0]);+ const filePath = join(HELP_ASSETS_SOURCE, relativePath);++ // Same prefix-collision guard as the PDF.js middleware above.+ if (!resolve(filePath).startsWith(resolve(HELP_ASSETS_SOURCE) + sep) || !isHelpAsset(filePath)) {+ return next();+ }++ // Anything not found here — the content bundle and the tree — is copied in from+ // the server's assets, so it belongs to the next middleware.+ if (!fs.existsSync(filePath) || !fs.statSync(filePath).isFile()) {+ return next();+ }++ const extension = filePath.split(".").pop()?.toLowerCase() ?? "";+ res.setHeader("Content-Type", HELP_ASSET_MIME_TYPES[extension] ?? "application/octet-stream");+ fs.createReadStream(filePath).pipe(res);+ });+ },+ closeBundle() {+ if (isDev) {+ return;+ }++ fs.cpSync(HELP_ASSETS_SOURCE, HELP_ASSETS_DEST, {+ recursive: true,+ dereference: true,+ filter: isHelpAsset+ });+ }+ };+}+let plugins: any = [sqliteWasmDedupePlugin(),sqliteWasmPlugin,@@ -137,6 +208,7 @@ let plugins: any = [}]}),+ copyHelpAssetsPlugin(),// PDF.js viewer for PDF preview support// stripBase: 4 removes packages/pdfjs-viewer/dist/web (or /build)viteStaticCopy({