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 Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.