开发者

Making a code box for my website

I am making a site that will give some code examples . So, I wish to show with proper indentation and also with different colors if possible.

Can anyo开发者_如何学Cne suggest me some way to do it ??

Thanks :)


You can use the SyntaxHighlighter script.


You can use it in this way directly.Also you can change it however you want

<div style="height: 200px; width: 300px; overflow: auto;"><pre>CODE
 GOES HERE</pre></div>
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜