PHP function to use GeSHI Syntax Highlighter in my website pages
₹600-1500 INR
In Progress
Posted over 6 years ago
₹600-1500 INR
Paid on delivery
I need help configuring GeSHi Syntax Highlighter for my site.
GeSHi Website - [login to view URL]
GeSHi Documentation - [login to view URL]
Using CSS with GeSHi - [login to view URL]
Please find attached within a sample of my website. I want to use GeSHi which is a PHP based Syntax Highlighter. I want you to write a small function in the [login to view URL] file which will return a short-code for me to use GeSHi in my pages all over the site.
For example:
------------------
[shortcode lang = "PHP":]
// My code goes here
[/shortcode]
Options I need:
--------------------
1. Option to choose language (PHP, JavaScript, HTML and so on)
2. Option to turn on / off line numbers
3. Option to have different color for nth line. Zebra style.
4. GeSHi must use the CSS file available in - test/libs/css/[login to view URL]
5. Comment the code properly so that I can understand the function