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>
精彩评论