just to clarify, r u trying to create html code that has syntax highlighting on the front-end of an html page? if so there’s lots of ways to do this, i’ve used something called [codemirror][1] before which essentially lets u create a “code editor” in the browser ( font-end ) see mr.doob’s rad implementation here: http://mrdoob.com/projects/htmleditor/ >> but for simple bits of code what i’ve done is created code snippets on github via [gists][2] && then embed them in html pages >> [here’s an example][3]

Yeah it would be easier using HTML then openframeworks but its an embedded application not a web app. In my head it would mean having to track all the drawing positions and change colors based on the syntactical highlighting i desire, which I can already sense being an utter headache. Its already displaying markup so finding what to highlight is easy enough its just displaying it thats not.