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. Configure it
so that the pre element can have the following attributes:
classdirescapedfilenamehighlightidlanglinestyletitlewrapYou 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.
Requires: 3.0 or higher
Compatible up to: 3.4.2
Last Updated: 2013-3-7
Downloads: 2,271
Got something to say? Need help?