Copy Link as HTML or Markdown Code (Firefox addon)

2014-10-02

Userscripts.org seems to be abandoned. It was time to learn how to write addons. My first Firefox addon was approved today:

Copy link as HTML or Markdown

The purpose is to save the URL and the clickable text together.

screenshot

There are two new context menu items for hyperlinks:

  • Copy HTML Link Code to save HTML code to the clipboard
  • Copy Markdown Link Code to save Markdown code to the clipboard

Both will copy the URL and the clickable text, ready to paste elsewhere.