Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 3.65 KB

README.md

File metadata and controls

50 lines (33 loc) · 3.65 KB

Copy selected text as link in lightweight markup languages

Browser addon to copy selected text as linktext with current URL as link in lightweight markup languages: Configure your own flavoured language template.

Examples Templates

Template Result
Markdown [$LINKTEXT]($URL) [established](http://www.example.org/)
markdown [$LINKTEXT]($URL "$TITLE") [established](http://example.org/ "Example Domain")
MediaWiki [$URL $LINKTEXT] [http://www.example.org/ established]
Textile "$LINKTEXT":$URL "established":http://www.example.org/
JIRA [$LINKTEXT|$URL] [established|http://www.example.org/]
Tiki [$URL|$LINKTEXT] [http://www.example.org/|established]
TeX \href{$URL}{$LINKTEXT} \href{http://www.example.org/}{established}
plain HTML <a href="$URL">$LINKTEXT</a> <a href="http://www.example.org/">established</a>
Plaintext $LINKTEXT $URL established http://www.example.org/
<Plaintext> $LINKTEXT <$URL> established <http://www.example.org/>
Your own $LINKTEXT $URL send by me established http://www.example.org/ send by me

Available for firefox addons.mozilla.org copytextandurl/

Copied from webextensions-examples context-menu-copy-link-with-types

Todo

  • Shortcut
  • config for other lightweight markup languages
  • icon

Other and similar addons

Other and similar addons, copying a selected text and the current URL as markdown link.

Copy Selection as Markdown

[Example Domain](http://www.example.org/)

established

Addons with another focus, copying the current URL with its pagetitle or copys links in a page as markdown links.