Code highlighting |
[eluser]Arun Joshi[/eluser]
Hi All I would like to start my personal blog in codeigniter. There I have a lot of php code to display. So I want to highlight the php codes on each posts. I like the CI forum code highligthing very much. Is CI providing any libraries or methods for this? Code: function show() Thanks :-)
[eluser]Jamie Rumbelow[/eluser]
You sure can! It's in the Text Helper: Code: $this->load->helper('text'); Jamie
[eluser]rogierb[/eluser]
dude, did you read the userguide? Quote:highlight_code()
[eluser]Phil Sturgeon[/eluser]
Here is a very decent library that acts for a wrapper to GeSHI. http://shivercube.com/programming/php/co...r-library/ |
Welcome Guest, Not a member yet? Register Sign In |