SimpleLink
SimpleLink is a WordPress plugin that extends the Markdown linking syntax with automagical search and image link generation (to make linking to things easier). It plays well with Markdown, and is based on my previous Blosxom plugin MagicLinks.
Download
The current version is stable for my own uses, even though it’s a hacked port of a Perl-based plugin I developed for Blosxom, BenderBlogger, and TextPattern. I’ll get around to improving it sometime.
New Features in .05/.06
- Fixed parsing problems with common uses in pre/code blocks
- Fixed wiki formats (| and ‘ ‘ for mediawiki emulation)
New Features in .04
- Fixed
_parsing bug - Added open links in new window for pkzip.
New Features in .03
- Added
tag='rel'attribute to all text links, which allows semantic scraping by Technocrati and del.icio.us. - Fixed
imggeneration for Amazon.com product links for fixed-size images with overflow (fixed dimension thumbnails without scaling thumbnail). - Added Technocrati search links with
techo:andtag:targets, which generates links to Technocrati searches and tag searches. - Added Flickr image linking with
flickr:target, making it easier to embed to Flickr images on your site
Help
Here’s a quick list of various ways to link to things with SimpleLink:
| Markup | Resulting text |
|---|---|
| [http://warpedvisions.org] | warpedvisions.org |
| [http://warpedvisions.org|test] | test |
| [flickr: 9720590 e8a76cc90c] | flickr: 9720590 e8a76cc90c |
| [tag: warpedvisions] | warpedvisions |
| [techno: warpedvisions] | warpedvisions |
| [test google search] | test google search |
| [google: more google] | more google |
| [foldoc: usb] | usb |
| [imdb: star wars IV] | star wars IV |
| [perldoc: cgi] | cgi |
| [here: Google be gone] | Google be gone |
| [wiki: tsunami] | tsunami |
| Image linking | |
| [asin: 0898799279] | |
| [image: trees.png] | |
| Special text | |
| [abbr: CSS - Cascading Style Sheets] | CSS |
| [note: You are here.] | You are here. |
| [comment: Test comment.] | Test comment. |
| [warning: Don't!] | Don’t |
| [tip: A tip.] | A tip. |
Special text styling
The special text boxes are styled entirely using css. Example:
.note {background: url(/images/snote.png) no-repeat 8px 8px;}
.note, .comment, .tip, .warning {
padding-left: 70px;
margin: 4px;
height: 64px;
width: 128px;
overflow: auto;
border: 1px solid #CCC;
color: #666;
float: right;
font-size: smaller;
}
This lets you pick how your callouts will look.
Installation
There is a small amount of configuration in the plugin that requires you edit it by hand. The section is highlighted in comments, and the variables are fairly obvious. A future version of the plugin will store its configuration in the WP database, and will provide an interface to edit it.

RSS![[0898799279]](http://images.amazon.com/images/P/0898799279.01.MZZZZZZZ.jpg)
