Tento plugin nebol testovaný s najnovšími 3 hlavnými vydaniami WordPress. Už nemusí byť udržiavaný alebo podporovaný a môže mať problémy s kompatibilitou pri použití s novšími verziami WordPress.

Run This!

Popis

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]

Inštalácia

  • Unzip the plugin archive in the folder wp-content/plugins.

  • Activate the plugin in admin section.

  • if you need a spinner different from the one bundled with the plugin, make your own at http://www.ajaxload.info/, rename it spinner.gif and copy it into the plugin folder.

  • You are ready to jazz up your code snippets !

Recenzie

5. decembra 2018
Hi there, You did a nice job. Please don’t give up. Test it and update it even more.
Prečítať všetkých 0 recenzií

Prispievatelia a vývojári

“Run This!” je softvér s otvoreným zdrojovým kódom. Do tohto pluginu prispeli nasledujúci ľudia.

Prispievatelia

Preložiť „Run This!“ do vašho jazyka.

Máte záujem o vývoj?

Prehľadávajte zdrojový kód, preskúmajte SVN repozitár, alebo sa prihláste na odber vývojárskeho logu cez RSS.

Zoznam zmien

0.2 : start using CORS instead of a Flash proxy to do cross-domain queries.