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
<pre> element and the snippet will have a caption.
I strongly recommend that you use the TinyMCE Valid
plug-in to make the non-standard attributes of the
treated as valid and get preserved in the visual editor. Configure it
so that the
pre element can have the following attributes:
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.4. It will never work with PHP 4.