http://alexgorbatchev.com/SyntaxHighlighter/manual/themes/
Para integrarlo en blogger:
http://www.cyberack.com/2007/07/adding-syntax-highlighter-to-blogger.html
Ejemplo (agregarlo en modo html, no en modo redacción):
IMPORTANTE!!! PARA QUE NO PARSEE LOS TAGS DE HTML, USAR EL CDATA!!
<script type="syntaxhighlighter" class="brush: js"><![CDATA[
/**
* SyntaxHighlighter
*/
function foo()
{
if (counter <= 10)
return;
// it works!
}
]]></script>
No hay comentarios:
Publicar un comentario