Appearance
Copy as Markdown
Copy web content as Markdown.
Demo
Readme
Copy as Markdown
Copy web page content as Markdown source code. Also works on plain text and RTF content.
Options
- Heading Style: Choose between ATX-style headings (
# Heading
) and Setext-style headings (Heading\n=======
). - Bullet List Marker: Choose between
*
,-
, and+
for bullet lists. - <em> Delimiter: Choose between
*
and_
for<em>
elements. - <strong> Delimiter: Choose between
**
and__
for<strong>
elements. - Link Style: Choose between inlined links (
[text](url)
) and reference links ([text][id]
).
Notes
Author: Nick Moore.
The original extension used html2text by Aaron Swartz.
The updated JavaScript extension uses Turndown.
Hat-tip to Brett Terpstra whose Web Markdownifier extension inspired this one.
Changelog
- 8 June 2024: Updated required PopClip version to 2024.5.2.
- 13 May 2024: Added output format options as per forum request.
- 3 Feb 2022: Rewritten in JavaScript & Turndown.
- 7 Dec 2016: Initial release (Python & html2text)
Info
- Updated
Jun 8, 2024 - Version
204 - Identifier
com.pilotmoon.popclip.extension.copy-as-markdown
- PopClip Version
≥2024.5.2 - Action Type
JavaScript - License
MIT License - Source
pilotmoon/PopClip-Extensions/.../source/CopyAsMarkdown.popclipext/