开发者

Syntax highlighting with Chili

开发者 https://www.devze.com 2022-12-25 06:54 出处:网络
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 d

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消