21.06.2014, 19:01
Hey, if there are any HTML/CSS Programmers here, does anyone know how can I make my custom code higlighting, like the [pawn] tag at these forums.
For example:
Now, how can I make a DIV in HTML which will behave in a similar way to [pawn] tag here, I mean;
that it changes/sets the color of preserved keywords in that DIV (or any other DOM element).
I need something that will automatically highlight the keywords in a DOM element.
For example:
pawn Код:
#include SOMETHING.inc
if(condition) ....
// Comment is different color
that it changes/sets the color of preserved keywords in that DIV (or any other DOM element).
I need something that will automatically highlight the keywords in a DOM element.