留白

留白

Start writing. Keep your Markdown.

A quiet page with formatting as you type. Untitled work stays in local drafts. Save a plain .md file, or export a Word document someone else can keep editing.

The Windows version is a beta. Give it a try, and please report any problems on GitHub.

Liubai is available for Mac, with a Windows beta — there's no Linux version yet.

This is a desktop app — open this page on your Mac or Windows PC to download it.

Free & open sourcemacOS 13 or laterApple silicon & IntelWindows beta

Write Markdown on a quiet page, with headings, lists and quotes formatted as you type. 点击放大
Write Markdown on a quiet page, with headings, lists and quotes formatted as you type.

Write your idea before naming the file

Open and write without creating, naming or placing a file first. Unsaved work stays in local drafts for next time. Below the top bar, the page centers your text and shows a corner word count. Headings, lists, bold and code format as you type; the source stays Markdown.

Headings, lists, quotes and code blocks take shape as you write, with your text always centered. 点击放大
Headings, lists, quotes and code blocks take shape as you write, with your text always centered.

Quick Notes can continue an existing draft

Call up Quick Note from another app for ideas, tasks or meeting notes; choose a template and tags. Save a new draft or append to a draft or document. Pending original edits save first; each append has its own undo step. Adjust the shortcut, launch at login and language in Settings.

01

Capture anytime

The default is ⌃⌥⌘N on Mac, or Ctrl+Alt+N on Windows; both can be changed in Settings.

02

Choose a template and tags

Start an idea, task or meeting note without setting up the structure again.

03

Save or append

Save a local draft, or add it to the end of an existing document.

Read it through, then share an editable document

Press ⌘⇧R to hide the editor for a read-only page; press again to restore your layout. Math, diagrams, footnotes, callouts, code highlighting, bare links and inline HTML render, with front matter folded into properties. Export PDF, Word, image ZIP, HTML or rich text; math uses MathML and diagrams SVG, independent of Liubai fonts. Word keeps heading styles, list numbering, tables, equations and footnotes for editing in Word, Pages or WPS.

Reader mode shows only the finished page, with the outline still on the right for quick jumps. 点击放大
Reader mode shows only the finished page, with the outline still on the right for quick jumps.

Write on the left, read the result on the right

Two equal panes: live-formatted text on the left, read-only preview on the right. The preview follows the cursor’s block; scrolling it leaves the editor in place. Reveal Markdown source with shared text and undo history.

Write Markdown on the left and see the formatted result on the right, in sync. 点击放大
Write Markdown on the left and see the formatted result on the right, in sync.

25 themes, from Hours and Seasons to Studio

Six Hours themes follow the light through a day; five Seasons themes take their colours from the year. Studio adds 14 familiar palettes, including GitHub, Solarized, Monokai, Nord, Atom One, Dracula, Catppuccin, Gruvbox and Rosé Pine. Pick manually, follow system light/dark mode, or switch by hours and solar terms. All use system fonts with no extra downloads.

Choose Hours, Seasons and Studio themes in Settings → Appearance. 点击放大
Choose Hours, Seasons and Studio themes in Settings → Appearance.

Find and replace beside your writing

⌘/Ctrl+F opens a floating panel with a match count; Enter / Shift+Enter move forward or back. Match case, whole words or regex; replace one or all matches while editing, with undo. Reader mode searches visible text, including phrases across bold text and links, and table cells.

01

Open Find

The floating panel leaves the page in place and keeps your query across views.

⌘/Ctrl+F

02

Locate a passage

See the match count and choose case, whole-word or regex matching.

03

Edit or keep reading

Replace and undo while editing, or highlight text while reading.

Drag blocks, type a slash, reshape as you go

Hover left of a paragraph for its handle; drag to reorder; click to select, convert, duplicate, delete or move a block. ⌥⇧↑/↓ moves blocks; ⌘/ opens their menu. Type / on an empty line for headings, lists, tasks, quotes, code, tables, images and callouts, searchable in English, Chinese and pinyin. ⌘1–⌘6 sets headings, ⌘0 body text, and ⌘⇧7/8/9 numbered, bulleted or task lists. Hover toolbar buttons for names and shortcuts. Recent is on the left; the outline on the right highlights the current section.

Recent documents on the left, the outline on the right — on a wide window neither covers your text. 点击放大
Recent documents on the left, the outline on the right — on a wide window neither covers your text.

Tables and images, edited in place

Click a table cell to type, move with Tab / ⇧Tab, and Tab from the last cell to add a row. The top-right menu adds or removes rows and columns and sets column alignment; each step is undoable. Click pasted or dropped images to resize, align left/center/right, edit captions or delete. Exports keep size and alignment.

Click a cell and type; Tab moves between cells and adds a row. 点击放大
Click a cell and type; Tab moves between cells and adds a row.

Math, diagrams and footnotes, right in the text

KaTeX renders inline $…$, display $$…$$ and math fences; moving the cursor inside shows source, while errors show the raw text and message. Amounts like “$5 and $10” stay unchanged. ```mermaid renders themed flowcharts, sequence diagrams and more, loading only when used. Footnotes add a cursor reference and end definition, with hover previews and ⌘-click navigation.

Reader view renders math, a Mermaid flowchart and footnotes together. 点击放大
Reader view renders math, a Mermaid flowchart and footnotes together.

Callouts and folding, to layer what matters

> [!NOTE]/[!TIP]/[!IMPORTANT]/[!WARNING]/[!CAUTION] show type colors and labels — note, tip, important, warning and caution — in both editor and reader. <details> has a summary toggle and starts collapsed; folding affects display only, never the file.

Five callout types are color-coded in the editor to set the tone at a glance. 点击放大
Five callout types are color-coded in the editor to set the tone at a glance.

Your files & privacy

Liubai is a local writing tool, not a cloud service. Your documents stay yours.

Plain .md files

Saving writes back to the path you chose — no locked format, no private library; any Markdown tool can open it. Finder tags and creation time are preserved on write.

Drafts stay on this Mac

Unsaved work lives in ~/Library/Application Support/Liubai/, written atomically. No account, no uploads. Read-only files are never overwritten.

No ads, telemetry or cloud sync

The app collects nothing online; checking for updates only talks to GitHub Releases and never sends your content anywhere.

Covered when things conflict or crash

External changes load automatically; if both sides changed, it pauses and lets you choose, saving the other version as a recovery copy first — your writing is never silently lost.

View the source on GitHub MIT licensed. Questions or ideas? Let us know on GitHub.

Getting started

On a Mac, drag it into Applications, and keep it in /Applications or ~/Applications so it can update itself. For the Windows beta, run the installer; it updates itself too.

Three steps to start writing

  1. Open the downloaded DMG, drag Liubai into Applications and open it
  2. Just type on the page — no need to save first; your work is kept as a draft automatically
  3. Later press ⌘S to save the document as .md, or use Split / Read to see the finished page

The Mac installer is signed with Developer ID and notarized by Apple.

New versions are checked in the background, or manually from Liubai → Check for Updates…. Update packages are signature-checked before installation. Press ⌘, for Settings to adjust appearance, Quick Note and language.

You'll see a warning the first time

  1. Run the installer you downloaded — no administrator rights needed
  2. When “Windows protected your PC” appears, click “More info”, then “Run anyway”
  3. Open Liubai from the Start menu and just type; press Ctrl+S to save the document as .md

The warning appears because the installer isn't digitally signed for Windows yet — it doesn't mean anything is wrong with the file.

The Windows beta needs Windows 10 or 11. In-app update packages are signature-checked. Use Edit → Settings to adjust appearance, Quick Note and language, and report problems in GitHub Issues.

Questions

Which computers are supported?

The Mac app requires macOS 13 or later and supports Apple silicon and Intel. The Windows 10/11 beta has amd64 and arm64 installers. There is no Linux or mobile version.

Where does untitled work go?

Untitled work stays in local drafts; return through Recent to keep writing. For a regular file, press ⌘S on Mac or Ctrl+S on Windows and save your own .md.

Can I open my files in another editor?

Saved documents are plain .md files at your chosen path, readable by other Markdown tools. Word exports keep heading styles, list numbering, tables, equations and footnotes for further editing.

Does full-text search scan my whole computer?

Search covers registered documents in Recent, including titles and full Markdown; it does not scan unopened folders. Combine keywords with tags filters. Use ⌘/Ctrl+F to find text within the current document.

Do I need an account? Are documents uploaded?

No account is needed. Drafts stay on your computer and you manage your documents. There are no ads, telemetry or cloud sync; update checks access GitHub Releases without uploading your writing.

Open a page. Write your first sentence.

Write first, name it later. Keep your Markdown file or export a document to share.