Quickstart

Open a file, read it, edit it and come back to it, in five minutes

There is nothing to set up: no account, no folder to choose, no plugins. Open a file you already have and start reading.

Not installed yet? Install it first. On a Mac, let it through once the first time it opens.

The five minutes

  1. Press Ctrl+O on Windows or Cmd+O on macOS.
  2. Pick a file: a note, a web page, a data file, an email, an Office document or a book. Rendering lists every kind.
  3. Scroll the document, and use the minimap on the right to jump.
  4. Open another file to create a new tab.
  5. Click into a sentence and type.
flowchart LR
    A[Launch Leaftext] --> B[Open a .md, .xml, .json, .yaml, .eml or .docx file]
    B --> C[Read in main pane]
    C --> D[Jump with minimap]
    C --> E[Open another file]
    E --> F[New tab]
    F --> G[Back / Forward keeps history per tab]

1. Open a file

The Leaftext home screen with a dotted leaf above the heading, the Choose file, New document and Add your notes folder buttons, and an empty recent files area below

MethodHow
KeyboardCtrl+O / Cmd+O
Drag and dropDrop any file Leaftext reads onto the window
Recent filesClick a file on the no-file home screen
Command line / Open withLaunch Leaftext with a file path, or double-click an associated file
Start a blank oneNew at the top of the library pane, or New document on the home screen — see Editing. To make it in a folder you can see instead, right-click that folder in the library and pick New file
Point it at a folderAdd your notes folder on the home screen, until you have a vault

Recent files keeps the last 50 files you opened, so reopening one is usually a single click. Keep the ones you come back to as favorites.

2. Know what you are looking at

The whole Leaftext window at once: the app bar with its tab strip across the top, the library pane at left holding the document's headings, the rendered page in the middle, the minimap rail at right, and the floating toolbar over the foot of the page

The app bar, across the top

AreaWhat it does
Leaf markReturns to the home screen
Library buttonOpens and closes the library pane
Back / ForwardMoves through document and scroll history
Vault pickerNames the vault and folder of whatever is in front, in the middle of the bar, and opens the browse sheet
Tab barKeeps multiple documents open, on the page under the bar; a new document starts from New at the top of the icon rail
Page header: Open, ExportNames where the document in front sits, under the tabs, then opens a file and writes the page you are reading as a PDF, a picture, a web page with or without a separate assets folder, a Markdown note with its pictures beside it or an EPUB book. A folder's menu can export the folder as a site. There is no Settings button — every control stands where it applies, so preferences are wherever they are used, and the theme picker is a row of More on the floating bar

The page itself

AreaWhat it does
Main readerShows the rendered Markdown, XML, JSON/YAML, or email
OutlineThe document's headings in the library pane, sized by level and labeled with how many there are, for jumping to a section
MinimapShows the whole document and your current viewport
PagerPrevious / Next at the foot, where a folder is joined by README.md files

The floating toolbar, over the foot of the page

ControlWhat it does
Reading / Code / GraphThe three ways of looking at the open document; the one you are in is filled in the accent color
PadlockUnlocks the view you are in so you can type into it — the page and the source have one each
Speed readerDims the prose and marks each word's start — see Speed Reader
Typing helpThe wand beside the code view: suggestions drawn from your own notes — see Typing help
Undo / SaveAppear only when there is something to undo or save

3. Move around

A second tab

Press Ctrl+O / Cmd+O again. Leaftext opens the next file in a new tab instead of replacing the current one. Each tab keeps its own history and its own place in the document.

Hold Ctrl (Cmd on macOS) and click a link, or click it with the middle button. It opens in a tab behind the one you are reading, so you keep your place. Right-click a link for more ways to open it.

Jump

Click a heading in the outline, or click a spot in the minimap. That jump is added to scroll history, so Back takes you to the previous reading position.

Shortcuts worth knowing

ActionWindowsmacOS
Open a fileCtrl+OCmd+O
A new windowCtrl+NCmd+N
Close tabCtrl+WCmd+W
Quit, keeping your tabs and unsaved edits for next timeCtrl+QCmd+Q
Next / previous tabCtrl+Tab / Ctrl+Shift+TabCtrl+Tab / Ctrl+Shift+Tab
Two documents side by side, or bring back the page closed lastCtrl+\Cmd+\
BackAlt+LeftCmd+Left
ForwardAlt+RightCmd+Right
Full screenF11Green dot at the top left
Save (unsaved edits, your own typing included)Ctrl+SCmd+S
Undo — a word of your typing, then the last editCtrl+ZCmd+Z
Redo a word of typing, or a whole edit, you took backCtrl+Y or Ctrl+Shift+ZCmd+Shift+Z
Bold the highlighted wordsCtrl+BCmd+B
Italic the highlighted wordsCtrl+ICmd+I
Link the highlighted wordsCtrl+KCmd+K
Select the page — or the block, its section, the page with the caret in oneCtrl+ACmd+A
Copy the words highlighted in the documentCtrl+CCmd+C
Open a link in a new pageCtrl+clickCmd+click
Find in this documentCtrl+FCmd+F
Find and replaceCtrl+HCmd+H
Put a cursor on every match, from the find fieldAlt+EnterAlt+Enter
Add a cursor where you clickCtrl+clickCmd+click

Mouse side buttons also trigger Back and Forward on Windows.

4. Edit a line

Documents open locked, so a stray click never changes a file. Open the padlock on the floating toolbar, then click into any sentence and type. The page edits in place and the green Save button appears. Leaftext remembers the padlock, so you do this once.

  • Highlight words for a format bar. Copy, highlight, annotate and comment are on it whether the page is locked or not.
  • Use the handle and plus in the left margin to drag a block or add one.
  • For the raw source instead, click the code-brackets button on the toolbar. It has a padlock of its own, so unlocking the page does not open the file's text.
  • To start from nothing, press New at the top of the library pane for a new document; its first save asks where to put it.

Checkboxes are the exception to the padlock: a - [ ] box is clickable either way, and ticking it saves on the spot.

The Editing page covers the whole flow.

5. Come back to it

Close the last tab and you will land on the home screen again, where recent files are listed for quick reopening. To keep a whole folder within reach instead, name it a vault — then the library pane browses it, search covers it, and the graph maps it.

Try it on this file

Save this as demo.md and open it:

# Demo

## Checklist

- [x] Open file
- [ ] Read docs

> [!NOTE]
> This is a callout.

```rust
fn main() {
    println!("Leaftext");
}
```

That single file lets you verify headings, task lists, callouts, and syntax highlighting.

Next