Syntax highlighting with Chili
I want to use jquery Chili plugin for syntax highlighting a piece of code thats generated on the fly, but its not working for the same, because the cod开发者_如何学JAVAe is inserted into the #output div on page load.
When I tried chili with static examples, it worked but not on the dynamically generated code. Is there any workaround?
Thanks in advance for your help!
The Chili plugin broke with jQuery 1.4.x, not sure what it was though.
精彩评论