Software Details:
Version: 3.1.11
Upload Date: 1 Mar 15
Distribution Type: Freeware
Downloads: 8
This has support for many programming and scripting languages, with different color themes for each one of them.
Installation:
Unpack and upload it to the /wp-content/plugins/ directory.
Activate the plugin through the 'Plugins' menu in WordPress.
What is new in this release:
- XHTML validation fix by adding type attribute to <style> tag.
What is new in version 3.1.6:
- Switch from using a <meta> tag to a <style> tag as the JavaScript anchor in the <head>. This should fix the validation error under HTML5.
- Remove an old forced font-size function -- it wasn't actually used.
- Remove references.
What is new in version 3.1.5:
- The slashing changes made in WordPress 3.6 (alpha) have been reverted.
What is new in version 3.1.3:
- Hide vertical overflow so that a vertical scrollbar doesn't show up in Chrome. Bump SH script version to bust browser caches.
- Allow the plugin's shortcodes to be escaped using double brackets like so: [[code]Foobar[/code]]. This is a core feature, but calling do_shortcode() on the content as it went into the database caused the extra brackets to be stripped.
What is new in version 3.1.2:
- Register some placeholder shortcodes so that strip_shortcodes() and such work properly. Previously the shortcodes were only registered during the brief moment that they were processed by one of this plugin's filters.
- Add a notranslate CSS class to the <pre> output so that Google won't attempt to translate it. Props Otto.
- Run the CSS classes aka SyntaxHighlighter script parameters through a filter.
What is new in version 3.1.0:
- Allow choosing between v2.x and v3.x of the SyntaxHighlighting package. Some people prefer the old one and there's nothing wrong with it really.
- Fix broken TinyMCE plugin URL.
- Force LTR text in v3.x.
- If global collapse default is on, force on the toolbar and force off light mode to avoid the code block from disappearing.
- Make the demo on the settings page the width of the content area on the front end so it's a better example of what the code will look like.
- Bring back v2.x specific settings like linewrap.
What is new in version 3.0.0:
- Updated to SyntaxHighlighter v3.0.83. See changes. Main highlight is the ability to directly copy the code or double-click it to highlight it all.
- Allow specifying a line highlight range in the format of 5-10 (will highlight lines 5 through 10).
- BuddyPress support.
- Add third-party Clojure brush.
- Add third-party R language brush.
- Ukrainian translation.
What is new in version 2.3.0:
- Commenters can now use this plugin to post code.
- Plugin's shortcodes now work inside of the text widget again. Requires WordPress 2.9+ though.
- Overhaul of the TinyMCE plugin that assists in keeping your code sound when switching editor views. Thanks to Andrew Ozz!
- This plugin's stylesheets are now dynamically loaded. If they aren't needed, they aren't loaded.
- Lots of sanitization of shortcode attributes. Invalid keys/values are no longer used.
- New filter to control what shortcodes are registered. Used by WordPress.com to trim down the number of them.
- Saving of user's settings is now done using register_setting() instead of manually handing $_POST. Yay!
- By default, a post meta is used to mark posts as being encoded using the 2.x encoding format. This is bad for a site like WordPress.com. You can use the new syntaxhighlighter_pre_getcodeformat filter to return 1 or 2 (based on say post_modified). See SyntaxHighlighter:get_code_format() for more details. Don't forget to remove_action( 'save_post', array(&$SyntaxHighlighter, 'mark_as_encoded'), 10, 2 ); to stop the post meta from being added.
- New syntaxhighlighter_precode filter to modify raw code before it's highlighted.
- New syntaxhighlighter_democode filter to modify example code on the settings page.
Requirements:
- WordPress 2.7 or higher
Comments not found