WordPress.org

Ready to get started?Download WordPress

Plugin Directory

WP-Syntax

WP-Syntax provides clean syntax highlighting for embedding source code within pages or posts.

1.0 02/09/2013

  • NEW: CSS3 for alternating background lines for easier reading.
  • OTHER: Completely refactor code to utilize current best practices for plugin development which will provide a solid foundation for further development.
  • OTHER: Remove GeSHi contrib and test folders.
  • OTHER: Move CSS to css subfolder.
  • OTHER: Move JavaScript to js subfolder.
  • OTHER: CSS fixes to keep theme from breaking output formatting.

0.9.13 09/01/12

  • FEATURE: Added a new "src" shortcode option to allow reference of the source filename. Props: Steffen Vogel
  • BUG: Properly enqueue the CSS file.
  • BUG: Updated TinyMCE whitelist to allows required tags. Props: Steffen Vogel
  • OTHER: Updated GeSHi to 1.0.8.11
  • OTHER: Remove old unused code.
  • OTHER: Imporved line highlighting. Props: Steffen Vogel
  • OTHER: Added some additional CSS styles to help keep theme's from breaking the presentation of the code.

0.9.12 : Fixed a range bug in the new highlight feature.

0.9.11 : Added line highlighting support. User submitted patch. Thanks Flynsarmy && Chimo

0.9.10 : Fix for security vulnerability when register_globals in php is enabled.

0.9.9 : Fix to support child theme's. WP-Syntax now requires WP >= 3.0. Credit to OddOneOut Updated to use 1.0.8.9.

0.9.8 : Fix for optional line attributes; Tested on WP 2.8

0.9.7 : Reverted GeSHi v1.0.8.3 to avoid a slew of issues;

0.9.6 : Updated to use GeSHi v1.0.8.4;

0.9.5 : Minor style override to prevent themes from mangling code structure

0.9.4 : Updated to use GeSHi v1.0.8.3;

0.9.3 : Fixed hard-coded plugin path (#964);

0.9.2 : Updated to use GeSHi v1.0.8.2; Added optional escaped="true" support in case code snippets are already escaped with html entities.

0.9.1 : Updated to use GeSHi v1.0.8; Improved the FAQ;

0.9 : Added support for anonymous subscribers to use pre tags in their comments allowing for their own colored code snippets [Fernando Briano];

0.8 : Updated to use GeSHi v1.0.7.22 (this normally would be a revision release, but colors changed and there are 9 new languages supported); Added a font-size setting in the default css to thwart complaints about small sizes caused by other default WP themes;

0.7 : Automaticaly included common styles without requiring manual theme customization [Christian Heim]; Added support for adding a custom wp-syntax.css stylesheet to a theme;

0.6.1 : Updated to use GeSHi v1.0.7.21; Updated the WP compatibility version;

0.6 : Support init hook for geshi settings (wp_syntax_init_geshi); (#667) [reedom]

0.5.4 : Updated to use GeSHi v1.0.7.20;

0.5.3 : Fixed styling guideline issue that affected IE 6 [kimuraco];

0.5.2 : Updated to use GeSHi v1.0.7.19;

0.5.1 : Switched geshi directory export to utilize piston instead of svn:externals properties;

0.5 : Added support for single quoted attributes; (#624)

0.4 : Cleanup and documentation for WordPress.org plugin listings;

0.3 : First official public release; Added line number support; Uses GeSHi v1.0.7.18; (#532)

0.2 : Internal release; Adds "before and after" filter support to avoid conflicts with other plugins; (#531)

0.1 : First internal release; Uses GeSHi v1.0.7.16;

Requires: 3.0 or higher
Compatible up to: 3.5.2
Last Updated: 2013-2-10
Downloads: 267,156

Ratings

3 stars
3.9 out of 5 stars

Support

0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,3,3
100,10,10
100,4,4
88,8,7
82,17,14
100,1,1 86,29,25
88,8,7
100,21,21 100,1,1
100,1,1
100,5,5
100,3,3 100,4,4
0,1,0 100,1,1
100,1,1 78,18,14
100,1,1 100,5,5
100,6,6
80,5,4 100,4,4
100,1,1 100,1,1 89,18,16
100,4,4
58,12,7
100,5,5
100,2,2
80,5,4 100,4,4
94,16,15
100,2,2
100,1,1 93,14,13
100,3,3
100,1,1
75,4,3
100,1,1
100,2,2
100,1,1
100,1,1