noon Posted October 22, 2007 Share Posted October 22, 2007 Is there a good function or plugin out there to format my source code examples? I'm writing an article for a web page and want a very simple source code formatter. Eg: code in black, comments in red, quoted items blue, key words green, class names bolded. Please don't reply with "write your own" because I know these things already exist and I am not going to reinvent the wheel. Thanks Link to comment https://forums.phpfreaks.com/topic/74303-format-source-code-for-displaying-on-a-web-page/ Share on other sites More sharing options...
papaface Posted October 22, 2007 Share Posted October 22, 2007 http://uk2.php.net/manual/en/function.highlight-string.php Link to comment https://forums.phpfreaks.com/topic/74303-format-source-code-for-displaying-on-a-web-page/#findComment-375398 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.