DOCX
Laid out by the export template as a standalone OOXML document — no Word or Pandoc needed.
From everyday clipboard use to document exports, find the details you need.
Press ⌃⌥Space, or rest the pointer on the menu bar for a moment, and the Clothesline unfolds from the top of the screen. It's a borderless floating panel that follows the pointer's display, never steals focus, and hands focus straight back to the app you came from.
Word, Excel, Markdown, HTML, PDF and share images all live in one export system: document formats do real file writes, tables land directly as worksheets, and share images render as 3:4 cards.
Laid out by the export template as a standalone OOXML document — no Word or Pandoc needed.
Paginated for you, ready to preview and share from the system.
Markdown tables or recognition results written as worksheets.
Exported as-is, ready for any static site or note vault.
Ships with its own preview window; the code is ready to reuse.
Vector output with scripts and external references sanitized away.
Writes both HTML and TSV representations, so whatever you paste into understands it.
Posts a sticky note that floats above every app, with adjustable color, size and opacity.
440×586 by default — the 3:4 card ratio social platforms like. Ten built-in themes. Cover title, body font, palette, line height, page margins, page-number position and ruled lines are all adjustable; long content paginates automatically, and a single --- forces a page break.
Exporting isn't just stripping Markdown symbols — what the output looks like is a separate question. Hangli pulls that out into a config file, the template: fonts, sizes, line spacing, indentation, heading levels, table styling, margins, headers and footers all live in there.
.docx you already have and its fonts, sizes, line spacing and table styling are copied over — no retyping parameters# writes .docx / .rtf / .html / .txt directly
swift run HangliConvert docs/sample.md /tmp/hangli-output
{
"name": "Standard",
"sourceDocument": "Q3-report.docx",
"margins": { "top": 2.54, "left": 3.18 },
"body": {
"chineseFont": "PingFang SC",
"size": 12, "lineSpacing": 1.5
},
"table": {
"kind": "bordered",
"cellPadding": 8, "autoHeader": false
}
}
What you copied was a table, so what you export should be a table. Hangli writes the .xlsx itself — no CSV detour, no Excel required.
Markdown tables are written out in order as “Table 1”, “Table 2”…, header row intact and ready to use.
Paragraphs and lists go into a “Body” sheet, one row per paragraph, still editable back in Excel.
A table copied from a web page (HTML or tab-separated text) becomes a single “Table” sheet — no manual realigning first.
Table screenshots and PDFs go through OCR and export to XLSX the same way, so nothing has to be retyped.
Copying a table writes both HTML and TSV, so it pastes as a table into Excel, Sheets or Notion.
Border weight, color and header shading come from the shared settings; the “Body” sheet can get borders too.
Tables from AI are Markdown too. Paste one straight into Excel and the whole thing crams into a single cell, pipes and dash lines included, and you're left doing “Text to Columns” by hand. A screenshot of a table is worse still — you type it out. Hangli parses the header and every row first, then writes the .xlsx itself: open it and it's a real worksheet you can sort and calculate in.
Header, numbers and pipes all sit in A1; Excel has no idea this was four columns by three rows.
Header is a header, numbers are numbers — sorting, filtering and formulas all work.
.xlsx. Recognition results live in memory only and clear on restart.
.xmindAsk AI to lay out a structure and what comes back is Markdown full of hash marks. Turning that into a real mind map normally means: save it as .md, open XMind, create a blank map → import Markdown → save as .xmind. Three or four steps there and back, plus a temp file to clean up afterwards. Hangli writes that outline straight to .xmind — double-click and it is a map you can fold and unfold.
The shallowest heading becomes the root and every deeper level nests one step; lists, tables and code blocks hang off whichever branch is open where they appear.
XMind's own ZIP package: content.json + metadata.json + manifest.json, with the core version declared, so opening it never prompts you to upgrade an old document.
Topic titles longer than 180 characters get cut and tables contribute at most their first 60 rows — the map never turns into a wall of text.
A Markdown outline reads as indentation but it is not a map: you count hash marks to tell levels apart, and collapsing, dragging branches or recolouring them is simply not something it does. Hangli builds the outline into a tree by heading level and writes it in XMind's own package format — the exported file opens straight into XMind, with no import step in between.
The hierarchy is there, but it is only text: to get a map you still save a file, open an app, import, then save again.
The root topic, the branch colours and the one-sided layout are all written into the file — it opens ready to expand and collapse.
AI is optional and off by default. Once enabled, requests go only to the service address you fill in — Hangli has no server of its own.
Right-click text on the Clothesline or in the history list; each action has its own global shortcut.
Summarize, translate and polish are generic actions, but what you actually ask again and again is usually the same few things: pull out the key points, list the action items, rewrite it in your weekly-report voice. Hangli lets you save that sentence as a prompt — give it a name, pick an icon, write the body, then bind a global shortcut to it.
Using AI in a chat box means repeating every step: paste the text, type the prompt, wait, copy the answer back. The prompt itself is something you maintain — write “list it as bullets” today, phrase it differently tomorrow, and the output changes. Hangli turns it into a record: kept on this Mac, shown in the context menu, one click on the selected text and it runs.
You paste the text once and retype this once as well; switch windows and the wording you used last time is gone.
Once enabled it shows up right in the context menu for clipboard text; the ones you are not using can be switched off.
Hangli ships a read-only MCP server that listens on 127.0.0.1:39817 by default (port configurable) and binds to the loopback address only. Every connected tool gets its own token, and Host and Origin are validated against DNS rebinding.
Note that it is not in the context menu: MCP is a read-only door for AI tools. Flip the switch in Settings → AI, then use “Connect AI tool…” to hook up Claude Code, Cursor and Codex one by one.
list_clips — lists items, filterable by type, favorite and pinned, 20 by default and up to 100search_clips — searches by text, title or source appget_clip — fetches the full content by idChoose “Connect AI tool…” in Settings → AI and Hangli writes the config straight into that tool and stores this separate token — no hand-copying JSON.
After changing the port, connected tools need to be disconnected and reconnected.
{
"mcpServers": {
"hangli": {
"url": "http://127.0.0.1:39817/mcp",
"headers": { "Authorization": "Bearer <a token created for this tool>" }
}
}
}
Hangli must stay open while the server runs. Writes, deletions and image content are all unavailable.
These are the defaults. Change them in Settings → Shortcuts, and give each custom prompt a shortcut of its own.
| Action | About | Default shortcut |
|---|---|---|
| Convert to Word | Rewrite the Markdown on the clipboard as RTF rich text | ⌃⌥⌘W |
| Show / hide the Clothesline | Or rest the pointer on the menu bar icon | ⌃⌥Space |
| Copy as plain text | Strip all formatting before it hits the clipboard | ⌃⌥⌘V |
| Table conversion | Turn a Markdown table into a pasteable table | ⌃⌥⌘E |
| Table photo to Excel | Recognize the table screenshot on the clipboard and export XLSX | ⌃⌥⌘I |
| AI Summarize | Summarize the current clipboard text | ⌃⌥⌘S |
| AI Translate | Translate into the target language, direction detected automatically by default | ⌃⌥⌘T |
| AI Polish | Rewrite the wording while keeping the meaning | ⌃⌥⌘P |
Clean a link, strip the formatting, split a sentence, convert to SVG — none of it is big, yet each one normally means hunting for another small app, website or utility. Here you select the content, click once, and it's done.
on* handlers are stripped; Markdown is rendered into a vector image instead.
Interface examples in this guide are illustrative; refer to the app for the current appearance.