My growing collection of PopClip extensions.
Current release version: 1.44 (source code)
This repository only includes these as source bundles (.popclipext
), not packaged .popclipextz
versions. To install, just make sure the extension of a folder is .popclipext
and double click it in Finder. An up-to-date package of the bundled versions is available on my site.
The extensions currently included in the bundle. Some are available elsewhere as well, but this collection will always be the most up-to-date versions.
Turn indented text (or any text) into nested Markdown blockquotes.
- Clicking adds a ">" for each indentation level in the selected text
- Command-click to decrease quote level
- Command-Option-click key to remove all quoting
When adding quote levels, multiple line breaks between lines creates separate block quotes (by design). If there's a single blank line between to paragraphs, they'll be joined together as paragraphs within a blockquote. More than one starts a new quote.
PopClip extension to turn lines of text into Markdown bullet items. Indentation is handled as nested lists and existing markers are overwritten (numbered list becomes bullet list).
Holding Option (⌥) while clicking the button for the extension in the PopClip bar will create/update a numbered list instead. When the list is already a numbered list, it will be re-numbered to fix any gaps or out-of-order numbering within nest levels.
Holding Command (⌘) while clicking will remove all list prefixes.
When you install this extension, you'll get an options page where you can select the type of bullet you prefer for unordered lists. This can be accessed again later by clicking the pencil button at the bottom of the list, then clicking the gear button next to the BulletList extension.
Show a popup preview for each URL in selected text. Used for confirming the output of scripts like SearchLink without switching to the browser.
Links are shown sequentially in the order they're found. If a URL is changed by following links in the preview and pressing "OK", the selected text will be updated with the final URL. Because of this, duplicate links in the text are all previewed so they can be modified individually.
Adds comment tags around or before text:
- Default: HTML Comment
- Hold Option: CSS Comment (
/* block of text */
) - Hold Command: Hash Comment (
# before each line
) - Hold Command-Option: Slash comment (
// before each line
)
Turn selected text into Markdown inline code or a code block.
Detects whether there are multiple lines:
- if not, it surrounds the input in backticks
- if so, it indents the entire block by one tab.
When creating an inline code block, it will also detect whitespace at the beginning and end of the selection and make sure that it's excluded from the surrounding backticks.
PopClip extension to append the selection to the current contents in the clipboard. This is a duplicate of an existing extension (Append) with just slightly better UTF-8 handling, and modifier key handling for copying with and without linebreaks and whitespace.
- Hold Command (⌘) when clicking to add an extra line break between entries.
- Hold Option (⌥) to append with no extra whitespace.
Fixes emails obscured in a "support AT mydomain DOT com" fashion.
Hold Option to also open a new email compose window for each matched address. This feature does not require edit capability in the current field.
PopClip extension to increment and repeat templated text. See the extension README for details.
Takes a selection of plain text containing markdown headlines, list items and paragraphs and converts it into a format ready for pasting into a mind mapping application (such as MindNode, MindManager or MindMeister) as separate nodes/topics.
This extension converts selected HTML text to Markdown using html2text by Aaron Swartz. Reference-style links are used and the references are placed after the text. Wrapping is disabled.
The extension shows up in PopClip as "2MD".
PopClip extension to turn lines of text into Markdown numbered items. Will sort and update an existing numbered list as well, and convert bullets on list items to numbers.
This is only here if you want a separate button for numbered lists. Otherwise you can just use BulletList and hold down option to create an ordered list instead.
This extension searches selected text for urls (http or custom handlers) and opens all urls in their default applications.
The default OpenInChrome extension is Chrome-specific and only works with a single URL. This extension allows as many urls as you can select and will open whatever browser your system has assigned to the handler. This includes nvalt:// and txmt:// links, as well as http:// links. If you use something like Choosy it will open them through that.
Turned out to be more useful to me to just have it handle http links, detect links without protocols, and open those in my default browser.
Duplicate of OpenURLS, but copies urls to the clipboard, one link per line, instead of opening in browser.
Fully outdents the selection, maintaining nested indentation.
Detect phone numbers in the selection and call the first one using Skype.
Add hard wrapping to paragraphs. Default wrap column is 80, hold down Option to wrap at an alternate column (modify both in the extension options). Hold down command to unwrap text, removing line breaks between lines but preserving multiple lines between paragraphs.
- Clicking wraps at ruler, default 80 characters
- Option-click to wrap to alternate width
- Command-click to unwrap text
Allows the definition of three custom "wrappers," prefixes and suffixes that will surround selected text. They're triggered, respectively, by clicking with the Option key, Command key or no modifier key held down.
Think of it as a custom version of the comments plugin. I find it quite handy for adding <mark>
, <ins>
and <del>
tags to text when editing for others.
When installing the extension, the options will appear. They can be accessed again by going into edit mode in the plugins dropdown and clicking the gear icon next to "Wrappers."
Just URL encodes (percent encoding) the selected text using Perl.
Also available at Pilot Moon, same extension.
- No modifier:
<mark>
(highlight) - Control:
<ins datetime></ins>
(insertion) - Command:
<del datetime></del>
(deletion) - Option:
<!-- -->
(comment)
Allows the quick insertion of CriticMarkup syntax. Optionally fill in a signature to have a comment included after every insert, deletion or change with your initials or name.
- No modifier: Highlight
- Command: Deletion
- Control: Insertion
- Control-Option: Change
- Option: Comment
Also known as WebMD, this extension shows up when you select text on a web page. Clicking it will convert the selected headlines, text and links (including image links) to Markdown in your clipboard.
This extension now uses Gather. If you don't have it installed it will offer to do so for you.
Convert all @names and #tags to Markdown or HTML links. You can set the default link type in the extension's options, and manually switch to the other type by holding down Option when running it.
PopClip extension to lengthen and clean URLs.
Option: clean all query strings (default: only clean Google UTM strings) Command: Output just the resulting URL(s) Command-Option: Output just URL(s) with query strings stripped
PopClip extension to lengthen and clean URLs. Duplicate of LinkCleaner, but only copies results to the clipboard.
Option: clean all query strings (default: only clean Google UTM strings) Command: Output just the resulting URL(s) Command-Option: Output just URL(s) with query strings stripped
Detect all numbers in selection and total them. Allows decimal places (using .
or ,
as separator) and negative numbers. Result is copied to clipboard.
Use the options "Separator" and "Decimal Delimiter" to define characters used in your locale for separating thousands and decimal places, respectively.
PopClip extension to search textingabbreviations.ca for the selected string.
Strips rich text formatting from selection. There are probably multiple others that do this, but it's so easy I just made it myself.
Runs the SearchLink service on selected text. Requires that searchlink be installed in ~/Library/Services.
Adds the selected text to a new note in nvUltra. You can configure which notebook to use when installing the extension.
The GitHub repository for all of my extensions is here.
{% changelog bretts-popclip-extensions.md %}