Skip to content
Copy as Markdown

Copy as Markdown

by GhcPuman902
5.0
1 reviews
95
users
Published
November 25, 2024

Screenshots

Copy as Markdown screenshot 1

Description

Copy as Markdown: Alt+C (Option+C on Mac) Use Alt+C (Option+C on Mac) to copy any web page as plain-text Markdown, preserving headings, links, images, code blocks, tables, and lists with perfect formatting! Ideal for working with LLMs, creating .md files, or sharing web content via messaging apps. Why? When you copy something, your clipboard stores up to three formats: plain text, HTML, and RTF (rich text format). In browsers, it’s typically plain text and HTML. The app where you paste determines which format to use. This works fine with editors like Notion, which take HTML and convert it into their internal format to preserve structure. However, it’s frustrating when working with LLMs because their input fields often only accept plain text, causing you to lose important context like table structures, link URLs, and headings. Before this extension, I had to copy from a webpage, paste it into Notion, copy from Notion, paste it into Sublime, and finally paste it into the LLM interface. How? This Chrome extension solves the problem by using the same technology that powers markdown editors—a library called ProseMirror. It directly processes the selected HTML from your browser to generate Markdown and places it in your clipboard. All the processing happens securely in your browser, bundled entirely within the extension, ensuring your content is processed offline for complete privacy. Update • v0.0.6: Improved manifesto file and setup GitHub repo, please use the github repo for feature request or bug report etc. https://github.com/ghcpuman902/copy-as-markdown Roadmap • 2024/11/13: Conceptualized the idea • 2024/11/15: Prototype completed • 2024/11/19: Published TODO: • Improve handling of relative URLs • Add more customizable key combinations • Further beautify Markdown output, especially for tables Made by Mangle Kuo https://manglekuo.com
Add to Chrome

Quick Info

Version
0.0.6
Size
640KiB
Price
Free
Type
Extension

Categories

Languages

English