Pop plugin · Text
Clean Up Text
Join lines, remove blank lines and extra spaces, space Chinese and Latin text, full-width to half-width, Simplified ↔ Traditional Chinese, Pinyin, sort and deduplicate lines.
How to use it
Select something, hold the right mouse button, swipe. The animation plays the steps one after another; click a step to see it again.
- Select text with broken lines
- Hold the right mouse buttonAbout a quarter of a second. A short click still opens the usual menu.
- Swipe to “Clean Up Text” and let goIt sits on the ring where you put it, and it’s always in All Actions.
- Every cleanup that changes itOnly the ones that make a difference.
- Copy any version
- Or put it back, joinedReplace puts it in place of the selection.
What it does
Joins lines broken in the middle of sentences, as in text copied from a PDF; a word split with a hyphen at the end of a line is put back together. Paragraphs stay apart.
Removes blank lines, extra spaces and invisible characters such as zero-width spaces, and turns full-width letters and digits into half-width ones.
Adds spaces between Chinese and Latin text, converts between Simplified and Traditional Chinese, and gives pinyin with or without tones.
Also sorts lines and removes duplicates. Only the cleanups that change your text are listed: copy one, or put it in place of the selection.
Install it
Plugins aren’t part of the Pop download. Install this one when you need it.
1From Settings
In Pop’s Settings › Actions, find “Clean Up Text” under Plugins at the top and click Install. It downloads from Pop’s GitHub release in a few seconds and works right away, without a restart.
2Or from the ring
Open All Actions on the ring and search for “Clean Up Text”. Plugins that aren’t installed are listed after your actions: click it to install, and it runs right away if it can handle what you selected.
3Then use it your way
Put it on the ring in Settings › Ring, give it a shortcut, or run it from Shortcuts and scripts with its link:
pop://run?plugin=textCleanupUninstall it from the same list when you no longer need it: the plugin and its settings are deleted. After Pop updates, installed plugins are updated with it, and with iCloud sync on, what you install syncs to your other Macs.
More in Text
Translate Screenshot
Select an area of the screen, recognize its text and translate it (offline)
Speak
Read the selected text aloud with a system voice; use it again while speaking to stop. It can also save the speech as an audio file
Save Web Page
Save the whole page at the selected URL to Downloads as one long PDF (with selectable, searchable text) or a long image, or save just the article text as Markdown
Text to Image
Lay out the selected text as a long image that reads well on a phone (1080 pixels wide) on a white, cream or dark background; copy it, save it or pin it to the screen
Large Type
Show the selected text across the whole screen, handy for showing someone a phone number, Wi-Fi password or pickup code; click or press any key to close
Font Preview
Show the selected text (or a sample) in every font on your Mac, filter by Chinese, Western, monospaced or favorite fonts and only those that can show all of it; copy the font name or CSS, or copy it as an image; select font files to preview and install them