Skip to content

Browser addon to copy selected text as linktext with current URL as link in markdown.

License

Notifications You must be signed in to change notification settings

klml/copytextandurl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Browser addon to copy selected text as linktext with current URL as link in markdown.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published