News for hackers. Stuff that matters.

Show HN: a SublimeText plugin that automatically builds anchors from pasted URLs

https://github.com/fcardinaux/PasteAnchor

The PasteAnchor plugin allows the user to paste an URL to a Markdown or HTML file and to automatically get an anchor with the page title as link name.

For example, pasting "http://www.quora.com/" to a Markdown file gives the following result:

  [Home - Quora](http://www.quora.com/)
In addition to this, pasting links to threads of Hacker-News-like sites gives results that include two anchors: one for the thread and one for the related article.

For example, pasting "https://news.ycombinator.com/item?id=5879203" to an HTML file gives the following result:

  <a href="http://jz13.java.no">JavaZone 2013</a> via <a href="https://news.ycombinator.com/item?id=5879203">Hacker News</a>
( 1 comment | 2 points | on HN )
Re:Show HN: a SublimeText plugin that automatically builds a... by fcardinaux on Sunday June 16, 2013 @06:48PM (#5890380)
The PasteAnchor plugin allows the user to paste an URL to a Markdown or HTML file and to automatically get an anchor with the page title as link name.

For example, pasting "http://www.quora.com/" to a Markdown file gives the following result:

  [Home - Quora](http://www.quora.com/)
In addition to this, pasting links to threads of Hacker-News-like sites gives results that include two anchors: one for the thread and one for the related article.

For example, pasting "https://news.ycombinator.com/item?id=5879203" to an HTML file gives the following result:

  <a href="http://jz13.java.no">JavaZone 2013</a> via <a href="https://news.ycombinator.com/item?id=5879203">Hacker News</a>