• Stars
    star
    300
  • Rank 135,814 (Top 3 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 5 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ–ฑ Browser extension to copy hyperlinks, images, and selected text as Markdown with GFM support

Copy as Markdown

Browser extension to copy hyperlinks, images, and selected text as Markdown

Install

Screenshot

Copy as Markdown

Features

The extension allows you to copy selected text on a page as Markdown with support for features including the following

  • Ability to copy links, images, and selected text as Markdown.
  • Linked images, will have options to individually select link or images.
  • Formatted text such as italic, bold, strike-through, and inline code.
  • Unordered and ordered lists, with task lists support.
  • Tables, with respect to GFM.
  • Fenced code blocks, with language detection using info strings.

Known Issues

Note: When copying links and images, Chrome doesnโ€™t let you extract images alt text or anchors text content to be used in Markdown, instead the links themselves are used as link title. Firefox doesnโ€™t have this limitation though.

Permissions

The extension requires the following permission from you for working.

  1. contextMenus: to show option when right-clicking.
  2. activeTab: to be able to access content on page.
  3. clipboardWrite: to be able to write data to clipboard (we still canโ€™t read from your clipboard).

Credits

Inspired by this tweet from @nicolo-ribaudo, and publishing made possible by @yakov116.

Related

License

MIT ยฉ Laxman Damera