Show Pastie Code in Comments WordPress Plugin

What does it do?

This little plugin replaces links to code in Pastie in your comments with the contents of the raw pastie output wrapped in a <pre name=”code”> tag. The Pastie links must be in the form http://pastie.org/[NUMBER] or http://pastie.org/pastes/[NUMBER].

So, a comment such as:

I’ve written this piece of code that solves your problem. http://pastie.org/667876 I hope you find it helpful.

Will be converted into this:

I’ve written this piece of code that solves your problem.

// To open a link in the same window:
My link

// To open a link in a new window:
My link

View code on Pastie
I hope you find it helpful.

Where can I download it?

Seek no further. You can download it from here.

Show Pastie Code in Comments WordPress Plugin v0.1 – Download