Tazz Posted January 30, 2010 Share Posted January 30, 2010 Can anyone give me a link to some examples of Javascript or similar that one can use to display PHP code in a development blog withoug actually parsing the code. Similar to this forums <code></code> tags. php code here Quote Link to comment Share on other sites More sharing options...
teamatomic Posted January 30, 2010 Share Posted January 30, 2010 <?php echo "blah"; ?> Quote Link to comment Share on other sites More sharing options...
Tazz Posted January 30, 2010 Author Share Posted January 30, 2010 There are some javascript libraries that actually colour each of the PHP keywords accordingly. I don't simply want to display normal text, nice formatting and appropriate colours for the keywords and variables too. Quote Link to comment Share on other sites More sharing options...
Tazz Posted February 1, 2010 Author Share Posted February 1, 2010 http://php.net/manual/en/function.highlight-file.php Quote Link to comment 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.