Home

Awesome

Copy Selection as Markdown

Copy title, URL, selection as Markdown

[!NOTE] This extension isn't abandoned; it's in maintenance mode because its current state is stable and feature-complete for my needs (I use it every hour). I don't plan to add new features or make major changes, except for the update to manifest V3, which might be the last update. I may address critical issues as they arise, but other issues may not be resolved. Thanks!

How it works

Install

Usage

Right click and select:

Toolbar button is also available.

Since v0.18.0, rich text (text/html) version of the selection will be copied to the clipboard as well. Almost all of users of this extension might be using plain text editor, but it should be useful for using with Slack.

Settings

The add-on has multiple configuration to suit your setup as follows. Set your preference by:

General

Shortcut Key

To change shortcut key, click gear icon on top-right and click Manage Extension Shortcuts, or chrome://extensions/shortcuts.

Markdown Styles

Heading style

Bullet list marker

Code block style

Fence

Em

Strong

Link style

Link reference style

Advanced

Contributing

Please read CONTRIBUTING for details.

FAQ: Not working on Mozilla related sites

By default, no add-on can interfere pre-configured domains for security reason. You can configure this behavior at either of

Default list of restricted domains (See modules/libpref/init/all.js) as of 2023-08-21:

License

This extension is released under the MIT License. See LICENSE for details.

Acknowledgements

Privacy

The add-on does not store any user data outside of the Firefox user profile. The conversion to markdown is solely done locally. The add-on never send user action/data to any server.

Permissions

See permissions - Mozilla | MDN for more detail.

PermissionOptionalDescription
activeTabto run copy functionality at active tab
clipboardWriteto write to clipboard obviously
contextMenusto add context menus
storageto store preferences
<all_urls>Xwhen Embed <code>img</code>s (.gif, .jpg, .jpeg, .png, and .webp) as base64 text as possible option is set, the extension requests this permission since sometimes referenced images are hosted other than current active tab's URL so activeTab permission is not sufficient. If the option's not set, the extension removes this permission.