Updated extension: Copy as Markdown

Works like before but also works on RTF and plain text selections now too. The update will be required for compatibility with Monterey 12.3, which is currently in beta.

Copy as Markdown β€” PopClip Extensions

Copy as Markdown

Copy web page content as Markdown source code. Also works on plain text and RTF content.

CopyAsMarkdown-demo

About

This is an extension for PopClip.

Author

Nick Moore

Requirements

Requires PopClip 2021.11.

Notes

The original extension used html2text by Aaron Swartz.

The updated JavaScript extension uses PopClip’s inbuilt markdownifier, which uses Turndown.

Hat-tip to Brett Terpstra whose Web Markdownifier extension inspired this one.

Changelog

v2 - 3 Feb 2022

  • Rewritten in JavaScript & Turndown.

v1 - 7 Dec 2016

  • Initial release (Python & html2text)

See also ’ X ’ : Extension failing (re. Copy as Markdown)

3 Likes

this is my jam. I get so much use out of this.

1 Like

@nick Thanks. Is it possible to improve the extension to make it automatically append the copied as markdown text to a certain markdown document (without pasting it manually)?