This plug-in makes WP-Syntax highlighted code snippets downloadable from nice captions.
This plug-in adds download facility to WP-Syntax, putting a pretty caption to each syntax highlighted code snippet, which contains a permalink anchor and a couple of action buttons: "raw" and "download".
The usage is easy. You just put an attibute filename="..." to
a <pre> element and the snippet will have a caption.
I strongly recommend that you use the TinyMCE Valid
Elements
plug-in to make the non-standard attributes of the <pre> element
treated as valid and get preserved in the visual editor. Add the
pre
element, and its attributes class, dir, escaped,
filename
, id, lang, line, style, title, and wrap.
You can alter the visual style of captions with CSS via admins menu.
This plug-in was first developed for PHP 5.2.12 and is currently tested only with 5.3.8. It will never work with PHP 4.
Requires: 3.0 or higher
Compatible up to: 3.2.1
Last Updated: 2011-10-17
Downloads: 811
Got something to say? Need help?