Copy as Markdown for Chrome & Firefox
Do you often type Markdown code manually for a link or image, or even all tabs in a window, and feel tired? Copy as Markdown can help you!
Copy as Markdown is a browser extension helps you copy the following things as Markdown to your system clipboard:
Keyboard Shortcuts (Chrome-only)
You can add keyboard shortuts for copying tab(s) as Markdown. By default, Copy as Markdown does not assign any keyboard shortcuts.
- Open Extensions Page at chrome://extensions/.
- Scroll to the bottom and click "Keyboard shortcuts"
- Assign Keyboard Shortcuts in the dialog.
- [Chrome] When copying an image, the image code does not include the alternative text of that image. This is due to API restriction.
- [Firefox] Cannot add a popover when clicking the toolbar button. There is an API for that on Firefox 30.
Source Code Available!
The source code of Copy as Markdown is available at GitHub and is MIT-Licensed. Feel free to add features, fix bugs and even use the code for your own purpose! (as long as you take a different name, of course)
The MIT License
Copyright (c) 2012-2014 Yu-Cheng Chuang
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.