aggrav8d Posted June 30, 2009 Share Posted June 30, 2009 I'm sure more than a few of you run blogs with PHP code on display. I've been searching for a syntax highlighter that will handle HTML and PHP. So far I've tried 4 different highliters and they all have the bad habit of htmlspecialchar()ing my code to make it unreadable. Do any of you know of an easy to use plugin that won't have this problem? Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/164284-wordpress-syntax-highlighting/ Share on other sites More sharing options...
Maq Posted June 30, 2009 Share Posted June 30, 2009 Did you try the wordpress plugin archive? http://wordpress.org/extend/plugins/syntaxhighlighter/ Quote Link to comment https://forums.phpfreaks.com/topic/164284-wordpress-syntax-highlighting/#findComment-866623 Share on other sites More sharing options...
aggrav8d Posted July 1, 2009 Author Share Posted July 1, 2009 Yes, that was the first place I looked. I tried wp-syntax, syntax highlighter, and SyntaxHighlighter Evolved. All garbled my PHP. Any other suggestions? Is there some way to use highlighter that I'm not finding in the readmes? Quote Link to comment https://forums.phpfreaks.com/topic/164284-wordpress-syntax-highlighting/#findComment-866966 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.