留白
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.

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.

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.
Capture anytime
The default is ⌃⌥⌘N on Mac, or Ctrl+Alt+N on Windows; both can be changed in Settings.
Choose a template and tags
Start an idea, task or meeting note without setting up the structure again.
Save or append
Save a local draft, or add it to the end of an existing document.
Find a document from a phrase you remember
Search titles and full Markdown in Recent, including the end of long drafts. Results show line numbers and snippets that jump to editing, split, reader or source view. Filter by tags in document properties, or click a tag beside a document.
Enter a phrase
Search titles and full source, with matching locations.
Filter by tag
Combine a phrase with a tag; clearing the phrase keeps the tag.
tags: [工作, 灵感]
Return to the text
Click a snippet to jump, or choose to view the Markdown source.
Connect documents and follow their backlinks
Reference open or registered documents with [[Document title]]. ⌘/Ctrl-click in the editor, or click in reader and split previews; choose between matching titles. Sidebar backlinks show the source and jump to its passage. Exports keep the original [[Document title]] text.
Write a reference
Use a document's title to connect related writing.
[[项目想法]]
Open the target
⌘/Ctrl-click in the editor, or click in a preview.
Follow the backlink
Find the referring document in the sidebar and return to its passage.
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.
点击放大
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.
点击放大
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.
点击放大
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.
Open Find
The floating panel leaves the page in place and keeps your query across views.
⌘/Ctrl+F
Locate a passage
See the match count and choose case, whole-word or regex matching.
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.
点击放大
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.
点击放大
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.
点击放大
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.
点击放大
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.
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
- Open the downloaded DMG, drag Liubai into Applications and open it
- Just type on the page — no need to save first; your work is kept as a draft automatically
- 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
- Run the installer you downloaded — no administrator rights needed
- When “Windows protected your PC” appears, click “More info”, then “Run anyway”
- 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.
