mdnest User Guide

mdnest is a privately-hosted markdown notes app. Your notes are plain .md files on disk, and mdnest provides a clean web interface to browse, edit, and organize them. It works for personal use (single-user mode) or team collaboration (multi-user mode with role-based access, namespace-scoped admins, and corporate SSO), and scales up to an organization-wide, active/active deployment on Kubernetes (see kubernetes.md).

If you're an end-user being added to your team's mdnest, read Logging In and The Sidebar below — that's enough to get going. The rest is reference. If you also have admin scope, see Roles & administration further down.


Getting Started

Logging In

Open mdnest in your browser (your admin will give you the URL). The login screen adapts to how the server is configured:

A successful login gives you a 30-day session. The browser stores a JWT in localStorage; closing the tab doesn't sign you out, but clearing site data does.

After login your name and IdP profile picture appear at the bottom of the sidebar. The picture refreshes from the IdP on every sign-in (since profile-picture URLs at Google etc. rotate).

Your First Note

  1. In the sidebar, select a namespace (the dropdown at the top).
  2. Click the New Note button in the toolbar.
  3. Enter a filename (e.g., hello.md).
  4. Start typing in the editor. Your changes are saved when you stop editing.

The Sidebar

The left sidebar contains two key elements:

Namespace Selector

The dropdown at the top of the sidebar lists all configured namespaces. Each namespace corresponds to a separate directory on the host machine. Select a namespace to browse its file tree.

Folder Tree

Below the namespace selector, the folder tree shows all files and folders in the selected namespace. Folders appear before files, and both are sorted alphabetically.

On mobile, tap the hamburger menu icon in the top-left corner to show or hide the sidebar.


Roles & administration (multi-user mode)

mdnest has three user roles. Most teammates are collaborators — only people who manage the install or a specific team's namespace get an admin role.

Role Scope What they can do
Super-admin Global Manage every user, every namespace, every grant. Promote / demote between roles, reset 2FA, delete users, sync any namespace. There must always be at least one super-admin.
Admin Per-namespace (one or more) Within their namespaces only — invite teammates, create / edit / revoke grants, promote co-admins, trigger git-sync. Implicit read+write on those namespaces. Cannot reset 2FA, delete users, or change global roles.
Collaborator Per-grant only Read or write only on the specific namespaces / paths the admin has granted them. No admin panel button.

Where each role comes from:

If you can see the Admin button in the top-right of the app, you have at least namespace-admin scope. The admin panel shows your scope as a yellow Admin of: <namespace list> badge so you know what you're managing. Super-admins see "Admin of: (none)" and full reign over everything.

The admin panel

The panel has three tabs for access, and each answers one question:

Git backup and adding namespaces. Where a namespace comes from depends on how notes are stored:

Access from an IdP (OIDC) group is read from the sign-in token, so it is not part of Can reach.

API Tokens (super-admins): every person's API tokens, with the owner, so you can see who connects CLI, MCP or API clients and Revoke a token someone no longer needs. Your own tokens stay in Settings → API Tokens, which only ever lists yours.

Adding a person

Admin panel → People → + Add person:

The invited user can sign in immediately — no email confirmation is sent. Tell them the URL and they're in.

Resetting a forgotten password (v3.6.0+, local provider only)

A user forgot their password? Two paths, depending on what role they hold and who's doing the reset:

From the Admin Panel (super-admins, for collaborators and namespace-admins):

  1. Open the admin panel → People.
  2. Click the person, then Reset password.
  3. Type a temporary password twice. Send it over a secure channel (Slack DM, password manager — not email).
  4. The user logs in with the temp password and is immediately forced to pick their own. The temp password becomes single-use; nothing else in the app is reachable until they change it.

The button is hidden for super-admin rows on purpose — see below.

From the host shell (super-admins resetting another super-admin, or any case where you don't want a UI round-trip):

./mdnest-server reset-password [email protected]

Prompts twice with hidden input, pipes the password into the backend container via stdin (so it never appears in ps, your shell history, or process arguments). The same forced-change flow applies on next login. Works for any user role, including super-admins.

Why super-admins can't reset other super-admins from the UI: if any super-admin can change any other super-admin's password from the web app, one compromised super-admin account is enough to lock out every other super-admin. The host CLI gates the same operation behind shell access to the server — a much higher bar — so the legitimate "my colleague forgot their super-admin password" case is still a one-line fix, while a compromised web session can't escalate.

This whole feature is local-provider only. In Firebase / SSO mode the IdP owns the password — reset it there.


Creating Notes and Folders

There are two ways to create notes and folders.

Toolbar Buttons

At the top of the sidebar:

Where new items are created (clarified in v4.2.1): click a folder in the tree to aim these buttons at it — the folder is highlighted, and each button's tooltip names the destination. Click the root row at the top of the tree to aim them back at the top level. With nothing selected they follow the folder of the note you have open, falling back to the workspace root. Creating from a folder's right-click menu always targets that folder, regardless of what is selected.

Context Menu

Right-click (desktop) or long-press (mobile) on a file or folder in the tree. The menu shows the item's name at the top, then its actions in groups, always in the same order:

Actions you have no right to (for example Rename on a read-only folder) are not shown.


Editing

Editor Modes

mdnest has two editing modes, switchable from the toolbar when in editor-only view:

Basic Mode (default) -- a plain-text area where you write raw markdown. Simple, fast, no rendering overhead. Includes a formatting toolbar for bold, italic, headings, links, code, lists, and checkboxes. Press Tab to indent.

Live Mode -- Obsidian-style rich editing built on Crepe (the same editor Milkdown's official playground uses). Markdown renders inline as you type:

Live Mode is only available in editor-only view (the pen icon). Split view always uses Basic Mode with a separate preview pane.

Board / Editor — the first button in the toolbar swaps to name where it takes you: on a note it says Board and opens the task board for the whole workspace; on the board it says Editor and brings you back. The Basic · Live switch beside it decides how you edit the note, so it disappears while the board is open — there is no note on screen for it to act on.

Changes are saved automatically in both modes. There is no manual save button -- your edits are sent to the backend as you type. As of v3.6.1, autosave will refuse to truncate a non-empty note to empty (a defensive guard against editor bugs that could otherwise wipe content); to deliberately empty a file, delete it via right-click → Delete.


Recovering lost content

If you lose content -- accidental delete, a stuck undo, fat-fingered overwrite -- there are three recovery paths depending on whether you've enabled the optional git-sync sidecar.

In-app History (v3.7.0+, fastest)

Right-click any note → History. A modal opens listing the most recent 50 git-sync commits affecting that file, newest first. Click any commit to preview its content, then click Restore this version to write that older content back. The restoration itself goes through the regular save path, so it's also versioned -- if you restore to the wrong commit, the History modal can take you back.

If git-sync isn't configured for the namespace, the modal tells you so and points at the setup hint. In multi-user installs, if other people are currently viewing the same file, the modal warns you and asks for confirmation before restoring; they see an info banner explaining what happened so it's not a silent surprise.

With git-sync (manual, via the git remote)

If git-sync/keys/ has any SSH key, every namespace is being auto-committed to the corresponding git remote on a regular cadence (default 600s -- tunable via GIT_SYNC_INTERVAL in mdnest.conf). Every change you've made is in commit history. You haven't lost it.

Recover via the git remote (e.g. GitHub):

  1. Open the namespace's git repo (e.g. https://github.com/<you>/<namespace>/commits/main).
  2. Find a sync: <UTC-timestamp> commit before the loss. Click into it.
  3. Browse to the file. Click Raw or use the file viewer to see the old content.
  4. Copy the content back into the mdnest editor and save -- it'll be picked up by the next sync cycle and re-committed alongside the original history.

Recover via shell (if you have access to the host):

# List recent sync commits with timestamps
docker exec mdnest-git-sync-1 sh -c 'cd /data/notes/<namespace> && git log --oneline -30'

# View the file at a specific commit
docker exec mdnest-git-sync-1 sh -c 'cd /data/notes/<namespace> && git show <commit-hash>:path/to/note.md'

# Or restore the whole file in place (will be saved + re-synced)
docker exec mdnest-git-sync-1 sh -c 'cd /data/notes/<namespace> && git checkout <commit-hash> -- path/to/note.md'

The recovery gap is at most one git-sync cycle (default 10 minutes; lower the cycle in mdnest.conf if recovery latency matters more to you than commit volume).

Without git-sync

If git-sync/keys/ is empty, no remote backup exists. Recovery options narrow:

Strong recommendation: if you keep anything important in mdnest, enable git-sync. It's the difference between "10 minutes of edits at risk" and "everything since the last good copy is gone."

For the common case, the in-app History modal (v3.7.0+) handles it without leaving mdnest -- the manual paths above are still useful for renamed files, bulk recoveries, or restoring multiple files at once.

Sync health indicator (v3.11.4+). When git-sync is enabled, the sidebar shows its status. If the background sync ever breaks (a diverged history it can't fast-forward, a rejected push, an unreachable remote), you'll see a red ✕ with "Git sync broken" and the reason on hover — instead of a stale "Synced X ago" that hides the problem. Admins get a Retry button that runs a commit + pull + push immediately. The daemon also self-heals most divergence on its own each cycle.


Live Preview

The preview pane renders your markdown in real time as you type. The following elements are supported:

Editor and Preview Layout

On desktop, the editor and preview appear side by side.

On mobile, you toggle between editor and preview views since there is not enough screen space for both.


mdnest understands Obsidian-style [[wikilinks]], so vaults imported from Obsidian keep their internal links working.

Supported forms:

You write It links to
[[Meeting Notes]] the note Meeting Notes.md
[[projects/Roadmap]] a note by path (the .md is optional)
[[Roadmap|the plan]] the same note, shown as the plan
[[Setup#Install]] the Install heading inside Setup.md
[[#Install]] the Install heading in the current note

In the preview, a resolved wikilink is a highlighted internal link — clicking it opens the target note in place (no page reload), while middle-click and Ctrl/Cmd+Click open it in a new tab. A [[#heading]] link just scrolls to that heading, and [[note#heading]] opens the note scrolled to it. If the target note doesn't exist, the link renders muted and dashed so you can tell it's broken.

How targets resolve: an exact path first (with or without .md), then a case-insensitive match on the note's name; if two notes share a name, the one with the shortest path wins — the same rules Obsidian uses.

Ordinary relative markdown links to .md files — [the roadmap](../projects/Roadmap.md) — also navigate inside the app now, instead of opening a dead link in a new tab.

In the Live editor, [[...]] spans are highlighted; Ctrl/Cmd+Click opens the target (a plain click just places the cursor so you can edit). The stored file is never rewritten — the markdown on disk stays exactly [[...]]. Wikilinks inside inline code (`[[x]]`) or fenced code blocks are left as literal text, not links.


Mermaid Diagrams

mdnest renders Mermaid diagrams inside fenced code blocks tagged with mermaid.

Syntax:

```mermaid
graph TD
    A[Start] --> B{Decision}
    B -->|Yes| C[Do something]
    B -->|No| D[Do something else]
    C --> E[End]
    D --> E
```

This renders as an interactive diagram in the preview pane. Mermaid supports many diagram types including flowcharts, sequence diagrams, Gantt charts, class diagrams, and more. Refer to the Mermaid documentation for the full syntax reference.

Getting the text back out

A rendered diagram's labels are still text, and you can take them with you (v4.1.3+):


Live Collaboration

Requires multi-user mode with ENABLE_LIVE_COLLAB=true in mdnest.conf.

When live collab is on, mdnest opens a WebSocket from your browser to the backend on sign-in. While that connection is open, the app fans real-time events between everyone editing in the same namespace:

Live collab is gated on the WebSocket hub being up. If /api/ws is unreachable (server restart, proxy hiccup, a network that blocks websockets), the editor still works and saves as usual: you just lose the presence, cursors, typing together and auto-tree-refresh until the connection is back (the app retries with backoff). The small dot in the toolbar says which: green "Live", or grey "Not live" after a couple of seconds without a connection. A note never waits for the connection before you can type.

In single-user mode or when ENABLE_LIVE_COLLAB=false, none of this loads — there's nothing to collaborate on.


Inline Comments

Requires multi-user mode with live collaboration enabled (AUTH_MODE=multi and ENABLE_LIVE_COLLAB=true). Each comment is tied to a real user account and relies on the WebSocket hub. In single-user mode or when live collab is off the comment UI is hidden.

Leave feedback on any part of a note without touching its content.

Adding a comment

  1. Open a note in Live editor mode.
  2. Select the text you want to comment on. A small 💬 Comment button appears next to the selection.
  3. Click it — the comment panel slides out on the right with the quoted text above the reply box.
  4. Type your message and press Enter (use Shift+Enter for a newline). The selected text is now highlighted in bright yellow inside the editor.

You can also open the panel without a selection via the speech-bubble icon in the toolbar and leave a general note-level comment.

Yellow highlights

Every active comment anchor stays highlighted in the editor while you browse the note — you see at a glance which passages have been discussed. Highlights are transparent in the browser print dialog and in PDF exports, so they never leak into shared or printed copies.

Threaded replies

Click Reply on any open thread to continue the conversation under the main comment. Replies show in an indented box below the parent, share the parent's anchor, and stay grouped together. Press Enter to send, Esc to cancel.

Jumping between comments and text

Resolving, reopening, deleting

Comments survive file moves

Every note carries an invisible <!-- mdnest:<uuid> --> marker at its bottom that's stripped on GET and re-injected on save. Comments are stored at <namespace>/.mdnest/comments/<uuid>.jsonl. Moving or renaming a file preserves the UUID inside the content, so its comment history follows it — no broken links.


Stickies (v4.5.0+)

A private scratch pad that follows you rather than the note you have open. Click Stickies on the right of the toolbar (with Chats and Pages) and a board slides in from the right; on a phone it opens full screen.

Stickies and comments share the right-hand panel, so opening one closes the other. Drag the panel's left edge to resize it; the width is remembered. When chat is on and the window is wide enough, the panel can also show a chat (see A chat next to your note).

The full board

The expand button in the panel header opens the same stickies full screen, as a corkboard. Drag a card by its top bar to put it wherever you like — the position is saved, so the board looks the same next time you open it. Dragging is by the top bar rather than the whole card so that clicking into the text to fix a typo places the cursor instead of starting a drag.

On a phone the board drops the free positioning and shows the same cards in a flowing grid — a corkboard you have to pan around to read one note is worse than a list.

Limits: 200 stickies per board, 200 characters of title, 4 KB of text and 50 to-dos per card; a card can be 150–600px wide. Text is plain — markdown is not rendered inside a card.

Where stickies live, and what that means

Each person gets their own board — in multi-user mode nobody else can see yours, including admins, and there is no way to share one.

Stickies never leave this server. They are stored in mdnest's secrets volume, alongside its login and API-token state, and the git-sync sidecar cannot see that volume at all. Nothing you paste into a sticky can be committed or pushed to GitHub. That is the point of the feature, and it is why there is no encryption option: the content is not travelling anywhere for encryption to protect it.

The flip side is worth being explicit about: stickies are not backed up. A regular note in a git-synced namespace has a copy on your git remote and a full history behind the History button. A sticky has neither. It survives a ./mdnest-server rebuild — the secrets volume is a declared Docker volume, not part of the container image — but if you lose the volume, you lose the board.

So: stickies are for the short-lived stuff. A phone number to call back, a command to run after lunch, three things to finish today. Anything you would be upset to lose belongs in a real note.


Task Checkboxes

Standard markdown task list syntax is supported:

- [ ] Unchecked item
- [x] Checked item

In the preview pane and Live editor, checkboxes are interactive -- clicking one toggles its state and updates the underlying markdown file automatically.

Checkboxes are also the atoms of the Task Board: any checkbox is a task, and a task can be enriched with a due date, priority, tags, sub-steps and a description written as an indented block underneath it. The full on-disk format is specified in Task Model.


Task Board

Slides: a note whose frontmatter declares marp: true renders as a Marp slide deck in the Preview pane — the same note you drafted the idea in is the deck you present from. Also opt-in (ENABLE_MARP=true); notes without marp: true are unaffected. + Slides in the sidebar creates a deck with its theme, styles and outline already set.

Drawings: a .excalidraw.md note opens on a full Excalidraw canvas, and any note can embed one read-only with ![alt](path.excalidraw.md). Opt-in (ENABLE_EXCALIDRAW=true); see Excalidraw.

A drawing is still a markdown file, so the toolbar offers Basic · Drawing (v4.2.1+): Drawing is the canvas, Basic shows the markdown behind it (the scene JSON plus the mirrored text elements). Live is deliberately not offered for drawings — the rich editor would reformat the scene and corrupt it, the same reason Marp decks are edited as raw text. Drawings open in dark mode to match the app, with a light/dark toggle in the canvas footer; that choice is per browser and is never written into the note, so the file stays portable and two people can view one drawing differently.

Opt-in: the board appears only when the operator sets ENABLE_TASK_BOARD=true (see setup). If you don't see the board button, that's why.

The task board gathers every task-list item in a namespace and presents it as a kanban board or a flat list. Because tasks live in your notes, the board is just a view of them -- editing on the board edits the note, and editing the note updates the board.

Opening it. Click Board in the toolbar. The board replaces the editor pane (the sidebar and header stay put) and is scoped to the current namespace.

Task lists open on the board. A note that is only tasks (headings and blank lines aside, each task with its fields, sub-tasks and notes) and any .tasks.md file open straight on the board, on This note. Leave it with Editor and that note opens in the editor from then on; Board brings the board back for it. Opening a task's note from the board shows the note, and opening a prose note next closes a board that opened by itself.

Getting back. Either works: the same button now reads Editor, or use the back button at the start of the board's own header, which names the note you came from (← my-note.md).

A link of its own (v4.5.2+). The board has its own address, #!board/<workspace>/<note>, so a browser refresh keeps you on the board instead of dropping you back into the editor, and a board can be bookmarked or shared. The link keeps the workspace and the note you opened it from, so the back button and the This note scope still work after a refresh. Back and forward open and close it like any other page.

Lots of columns. The board scrolls horizontally when the columns don't fit, so a wide board stays reachable on a narrow window.

Lots of tasks. A column shows 100 cards at a time, and the List view 200 (v4.5.2+), each with a Show more button; the number beside the column name is always the true total. On a big board the Sort control matters, because it decides which cards are on that first page: leave it on Note order to see tasks in the order they appear in your notes, or switch to Due date, then priority to bring the urgent ones to the front. Your choice is remembered.

Views.

Filtering (v4.2.0+). A filter bar narrows the loaded tasks by title text, tags (click chips to toggle; matching is OR) and assignee (All / Me / Unassigned / a member). It applies to every scope and both views, and filters before grouping, so it's instant with no extra round-trip.

Assignees (v4.2.0+). A task can carry an assignee, picked from the workspace's members in the task editor: everyone with access to it, through their own grant or an access group (v4.8.15+). New tasks default to you. In single mode, where there's no member list, it's a free-choice field.

Relations (v4.2.0+). A task can declare depends-on, blocked-by and related-to links to other tasks, shown on the card and resolved by each task's stable ref.

Sub-tasks gate closing (v4.2.0+). A task with unresolved sub-steps can't be closed — checking it done, dragging it to a Done column, and saving an edit into one are all refused, with the reason shown. Tick the remaining steps first. This is enforced by the server, so it holds however you reach it.

Cards. Each card shows the title, a priority badge, the due date (red when overdue), tags, workload, its milestone and a step progress bar. More expands the steps (tick them off individually) and the description. The foot of the card shows who created the task and when.

Milestones. Milestones, next to List and Kanban, shows one card per milestone: its dates and how many days are left (or how late it is), its progress (done tasks plus the done sub-tasks of open ones) and, with a start date, the share of the period already gone (marked behind when time runs ahead of the work), its participants and its late or blocked tasks. Click a card to open the milestone's page: tasks and sub-tasks done, what needs attention, the tasks added since the start, a breakdown by column, the participants with their open and done tasks, and the tasks by column. The page has its own link (#!milestones/<workspace>/<id>) to share; Show on the Kanban filters the board to the milestone. If you can write to the workspace you can add, edit, close, reopen and delete milestones there, and pick a task's milestone in the task editor. See Task Model.

(v4.8.15+) Click a task on a milestone page to open it in full on the right of the page: edit it in place and Save, or just read it without write access. Milestones follow the board's scope: on a folder or a note only the milestones with tasks there are listed and their progress counts those tasks; over All workspaces each workspace's milestones show in their own section, and a card opens the milestone in its workspace.

Creating a task. Click + New task to open the editor: title, target note (defaults to the board's default note), column, due date, priority, workload, assignee, milestone, tags, steps and a description. The task is appended to the chosen note (created if it doesn't exist), with who created it and when.

Editing a task. Click ✎ edit on any card or list row to open the same editor pre-filled; saving rewrites the whole task in its note.

Columns & default note. Columns… opens Board settings, where you name the columns, set the status value each one writes, mark the Done column, and choose the default note for new tasks. This is stored per namespace in .mdnest/board.json.

See Task Model for the exact markdown a task compiles to, and the API Reference for the endpoints.


Chats

Chats, on the right of the toolbar next to Pages and Stickies, lists the chats in the current workspace (a picker switches workspace). Where there is room it opens in the side panel, and the panel's ⤢ button opens the full chats view; on a phone or a narrow window it opens full screen directly. Chat is on by default; ENABLE_CHAT=false turns it off. A chat is just a note tagged mdnest-chat: true, and each message is appended to it, so people here and agents using mdnest chat talk in the same file. Create one with + New, or right-click a folder → New chat. Connect an agent gives a ready-to-paste prompt for Claude Code, Codex or any agent with a shell. Type @ to mention someone. Details: chat.md.

A chat next to your note (v4.8.8+)

To keep a note on screen while you chat, open the chat in the full chats view and click Pin to side panel (the button with a panel icon in the chat's header). You go back to the note or board you came from, with the chat docked on the right in the side panel. The side panel is the same one that holds your stickies (and, with HTML pages on, the Pages list). The Chats, Pages and Stickies buttons on the right of the toolbar switch it between them; the panel's header names what is showing. The button for what is showing looks pressed; clicking it again closes the panel.

Image Upload

mdnest supports uploading images directly into your notes.

Paste from Clipboard

Copy an image to your clipboard (e.g., take a screenshot) and paste it into the editor. The image is uploaded automatically and a markdown image reference is inserted at the cursor position.

Drag and Drop

Drag an image file from your file manager and drop it onto the editor. The image is uploaded and a reference is inserted.

Uploaded images are saved in the same directory as the current note. They are served through the /api/files/ endpoint and rendered in the preview.


Drag and Drop (Files and Folders)

You can reorganize your notes by dragging items in the sidebar tree.

The move happens within the same namespace. Cross-namespace moves are not supported.


Moving, copying and downloading (v4.7.0+)

Move to… and Copy to… (right-click, or long-press on a phone) open one picker. Choose a namespace, a folder, and the name it should have there. With many folders, type in Search folders… above the list: every word you type must appear in the folder's path (so proj api finds Projects/backend/api), results show their full path, and Enter picks the top one.

Move confirms only when the check passes.

Download saves a file. Download as zip saves a folder with everything in it, keeping its folders; the .git and .mdnest folders are left out. Folders larger than the server's limits (500 files / 100 MB by default) are refused with the actual counts, so you can pick a subfolder. A large download can be cancelled from the status bar.

Between two mdnest servers: right-click a note → Copy file contents. In the other mdnest's browser, right-click a folder → Paste here, then press Ctrl+V (⌘V), or long-press the box and choose Paste. The new note is named after the first heading, and you can change the name before creating it. The copied text pastes anywhere else too.

If someone moves or deletes the note you are editing, mdnest says so instead of saving it back at the old place. Copy your text from the banner if you need it.


Context Menu

The context menu provides quick actions for files and folders in the sidebar.

Platform How to open
Desktop Right-click on a file or folder
Mobile Long-press on a file or folder

Folder context menu options:

File context menu options:

Toolbar actions (appear when a file is open):


Mobile Usage

mdnest is designed to work on mobile browsers.


The URL hash encodes the current namespace and file path. You can bookmark or share direct links to specific notes.

Format:

http://localhost:3236/#namespace/path/to/note.md

Examples:

http://localhost:3236/#personal/todo.md
http://localhost:3236/#work/projects/roadmap.md

Opening a deep link takes you directly to that note (after login if your session has expired).

Linking to a heading (v4.8.2+)

Hover any heading, in the preview or in the Live editor, and a small link button appears after its text. It offers:

A heading is found by its text, so if it is renamed after you copy the link, the note opens at the top instead. The button sits beside the note, never in it, so using it changes nothing in the file.


Version Updates

When the server is updated to a new version, active browser sessions will see a blue banner at the top:

New version available: v3.1.0 → v3.2.0 [Refresh Now]

Click "Refresh Now" to reload and pick up the latest frontend. The check runs every 60 seconds.

Git backup of your personal namespace

On a server that keeps namespaces in git (multi-user, git storage), Settings > Personal namespace has a Git backup section. Your personal namespace is a namespace of your own, named after your email. Point it at a git repository you own and every change is pushed there, so your notes are also kept outside mdnest.

While the backup is paused or off, your notes are not pushed anywhere: never to a repository of the server.

When a push fails, the reason shows under the repository. A super-admin can turn off your backup from your card in Admin > People (for example after you have left), but cannot point it at another repository.

Restarting the server (v4.8.2+)

A superadmin (or the owner of a single-user install) can restart the backend from Settings > Server, without SSH. Use it when the server seems stuck. Everyone is disconnected for a few seconds and reconnects on their own, and the page reloads by itself once the server is back. Saved notes are not affected.

A restart keeps the same mounted folders and settings. Changes to docker-compose.yml or .env (a new namespace folder, for example) still need docker compose up -d on the server.

Appearance (v4.3.0+)

mdnest ships a light theme alongside the original dark one.

Switching: the sun/moon button in the top-right toolbar flips between light and dark. The icon shows the theme you would switch to.

Three choices, in Settings -> Appearance:

Choice Behaviour
Match system Follows your operating system's light/dark setting, and changes with it live -- no reload needed.
Light Always light, whatever your system is set to.
Dark Always dark.

Your choice follows you, not your browser. It is stored against your account on the server, so signing in on a phone, a different browser, or a fresh private window gives you the theme you picked. (mdnest keeps a copy in local storage too, but only so the first paint is the right colour instead of flashing -- the server is what decides.)

Before you choose, mdnest uses the server's DEFAULT_THEME setting, which an administrator can set in mdnest.conf; if that is auto (the default), it follows your operating system.

Drawings follow the app theme, and repaint straight away when you change it. The theme is never written into the drawing file, so an .excalidraw.md stays portable and two people can view the same drawing in different themes.

Slide decks keep their own theme. A Marp deck is something you authored to look a particular way, and it renders that way regardless of your app theme.

Per-File Preferences

mdnest remembers your preferences for each file individually:

These are per-file and per-browser: they live in local storage and survive page refreshes, but do not follow you to another device. Your theme is different -- it is stored on the server against your account (see Appearance above).

Keyboard Shortcuts

Key Action
Tab Indent the current line in the editor