Run This!

Run This! Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 2,182 downloads
Run This! Icon

Try plugin: Run This!

We'll create fresh WordPress site with Run This! installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About Run This!

This plugin lets your readers run snippets of code directly from your blog.

1


0


0


0


0

updated: 12 years ago
since: 14 years ago
author: Emmanuel Delaborde

Description

This plugin lets your readers run snippets of code directly from your blog.

Simply add a class “run-this” and a lang attribute to the PRE tag surrounding the code.
The lang attribute should have one of the following values : ada, assembler, awk, bash, bc, brainf**k, c, csharp, cpp, c99, clips, clojure, cobol, clisp, d, erlang, forth, fortran, go, haskell, icon, intercal, java, rhino, javascript, lua, nemerle, nice, ocaml, pascal, perl, php, pike, prolog, python, python3, r, ruby, scala, scheme, smalltalk, tcl, unlambda, vbasic, whitespace

The code is sent over to Ideone to run; results (output, time and language implementation details) are displayed on your blog, in a table underneath the code.

This plugin is free software released under the GNU General Public License.

Release Notes

  • This plugin depends on the WP-Syntax plugin being installed and activated.

  • This plugin uses CORS to send the code source accross to a different domain, recent browsers should work fine (See Browser support)

  • This plugin uses jQuery, which is also included in the plugin archive

  • This plugin relies on Ideone web services API (http://ideone.com/api)

  • This is an alpha release, please send bug reports to [email protected]