I've got a working version now, it just highlights reserved words, comments and strings. A lot of work to do yet. And it's only working for the DarkEQ style so try it at your own risk!!

If anyone can help, I'm having a little problem

When I set the font colour, it changes the text to a different font. It should be a nice source code font like courier, but any text I put <font color=#xxxxxx></font> changes the font face. Is there a way in HTML to force a font to be applied, I'm not so good at this sort of thing. I'd guess the style sheet settings are overriding mine :?:

This is how it looks now:

[pascal]
procedure test; //This is a comment
begin
string := 'And here is a string';
number := 12345; // That was a number
end;
[/pascal]