Hacker News new | ask | show | jobs
Show HN: a SublimeText plugin that automatically builds anchors from pasted URLs (github.com)
2 points by fcardinaux 4752 days ago
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 comments

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>