MojoPad

Folding and Longform

Two ways to change how much of your writing you see at once: fold a section away under its heading, or open a whole folder of pages as one longform document.

Folding

Any section can collapse under its heading. Hover over a heading and a small chevron appears in the left margin — click it and everything under that heading (down to the next heading of the same or higher level) tucks away behind a hint. Click again to bring it back.

  • From the keyboard: ⌥⌘. folds or unfolds the section the caret is in. View ▸ Fold All Sections and Unfold All Sections work the whole page at once — fold everything for a tidy outline of headings, then open just the part you're working on.
  • Folds are view state, never content. A folded section is still on the page, still searched, still exported, still shared — folding never touches what's saved. Your folds are remembered per page, so a long reference page stays collapsed the way you left it.
  • Editing near a fold is safe: if a heading is deleted, its hidden section simply reappears.

Longform — many pages, one document

Sometimes the pieces want to read as a whole: chapters of a draft, a series of meeting notes, a travel journal. Run Open Folder as Longform… from the command palette (⇧⌘P) and pick any folder with two or more pages — they stack into a single scrolling document, each page a sheet divided by a slim rule that carries its name.

Or hand-pick the pages — they don't need to share a folder. In the Pages palette, tap Select, tick the pages you want (anywhere in the wiki, in any order), then click ⧉ Longform in the bar that appears: they compose into one document in the order you picked them. Chapters 1, 4, and 7; the three meeting notes about one vendor; today's note plus the two pages it references — whatever belongs together right now, reads together right now.

  • Everything stays editable. Click into any sheet and write — every change saves back to that sheet's own page, exactly as if you'd opened it alone. It's one reading surface over your real pages, not a copy.
  • Click a sheet's name on its divider to open that page on its own; ✕ Exit Longform in the masthead (or navigating anywhere) returns to normal one-page editing.
  • Folding works inside each sheet, links work everywhere, and the format bar follows whichever sheet the caret is in.
  • Pages that can't take part (plain-text, file, and encrypted pages) are skipped.

If you have written long-form in a dedicated writing app, you will know this move: several short pieces stitched into one scrolling draft. Your wiki pages just learned it.

Side by Side — a second editor

The same machinery, turned sideways: two pages as two columns, both fully editable. You reach it the same way as everything else that opens beside what you are reading — Open Beside This Page… (⌥⌘O, the View menu, or the command palette) — and then click the pane's to write in it as well. If you would rather both sides always open ready to write in, Settings ▸ Links & Pages ▸ Two pages at once ▸ Open the second pane ready to write in makes that the default and the ✏ becomes unnecessary.

  • The caret decides which page you're writing in. Click into either column and type — formatting, links, folds, everything follows the caret. Each column saves to its own page, always.
  • The divider drags. Take hold of the line between the columns and move it — one column grows as the other shrinks, and the width is remembered for next time. Double-click it to go back to half and half.
  • A hairline shows which column has the caret, under its name, so "which one am I typing in" never has to be guessed at.
  • Each column closes itself. The beside a column's name puts that page away and leaves the other one open on its own — point at it and it names the page you'll be left with, so you never have to guess which half you're about to lose. You aren't leaving a mode; you're putting one of two pages down. Clicking a column's name reaches the same place from the other side: it opens that page alone. Navigating anywhere returns you to a single editor too, and View ▸ Side by Side toggles the whole arrangement.
  • The margins answer the screen. Two columns paying separately for generous margins is a poor trade on a laptop, so on a small display the columns keep their air narrow and give the width back to you; on a large one they hold the margins they always had.
  • Each column scrolls on its own — hold your place in one while you write in the other.
  • When to use which: the split pane (see Transclusion and Split View) is a live viewer — perfect for watching a page you're linking to. Side by Side is for when both pages are being written: notes beside a draft, this week's plan beside last week's.