Anyone implemented geshi on their CI projects? Or another syntax highlighter? |
[eluser]manilodisan[/eluser]
As the title goes...Anyone implemented geshi on their CI projects? Or another syntax highlighter?
[eluser]bAum[/eluser]
I just stumbled accross this posting doing a google search on the subject, its really not hard to do (taken from here): All you need to do is copy "geshi.php" as well as the "geshi" folder into a new folder "application/plugins/geshi", and then to create a file "geshi_pi.php" within "application/plugins" with the following content: Code: <?php That's it. To use it, you need load the plugin with $this->load->plugin(’geshi’) and can then play around with the colorize() function. |
Welcome Guest, Not a member yet? Register Sign In |