ematsakov / highlight

Jquery Highlight Plugin allows syntax highlighting of source code snippets in an html page.
10 stars 2 forks source link

Add class, var, the PHP5 keywords, number formatting #10

Closed owenBeresford closed 9 years ago

owenBeresford commented 9 years ago

I dont know if you want the Test and files. I added this to see what things wheren't being extracted that should be.

This merge adds a few more rules for numbers, "class", "var" and adds more keywords. "class" and "var" have to be seperate passes, as they are present in the HTML output of the rules.

There are many more php functions that could be added, nudge me if to think this is important.

ematsakov commented 9 years ago

Hi, Owen

Thanks for your updates! I have merged them into the mater branch. Yes, i agree, there are a lot of functions and keywords for PHP and other languages which may be added to the list. Initially jquery.highlight.js has been created for internal purposes as the basic starting point with the possibilities for easy expanding in future. Thanks that you found this plugin useful!

Regards, Evgeny