Geshi Syntax Highlighting for your own Blog/Site

Monkey Archive Forums/Monkey Discussion/Geshi Syntax Highlighting for your own Blog/Site

Paul - Taiphoz(Posted 2013) [#1]
Hay all.

If you do not have your own forum, website, or blog then this is probably of no use to you at all, but for those of you who do and from time to time post code on your website then this may indeed be of value to you.

Geshi http://qbnz.com/highlighter/

I have started a google code project with the two files that I work with for my own website, your more than welcome to use and or help me maintain them.

https://code.google.com/p/geshi-for-monkey/

Within the SVN you will find a blitzmax.php and a monkey.php file, for the respective languages, these are installed in your Geshi install path along with all the other language files.

From there its just a matter of using your preferred bbcode along with Monkey or BlitzMax as the language and Geshi will do the rest.

An Example of the BlitzMax file in action can be seen here. ignore the crap code and lack of indents thats just me being lazy.

http://www.cruel-gaming.com/2011/08/29/cfont-a-font-library-for-bmax/

At the moment neither file is complete, I tend to just add new keywords every now and then when I notice something missing, so some keywords might not highlight, feel free to commit a change to add anything that's missing that you notice.

hope some of you can find a use for these.


DruggedBunny(Posted 2013) [#2]
Cool, I may well have a Top Secret use for this, actually -- thanks!