prism
A syntax highlighter - w/o jQuery
CSS
/* Comment */
.sel {width: 100px;}
HTML
<!-- Comment -->
<div class="selector" id="container">Testext</div>
Javascript
// Comment
$(".sel").hide();
var linesNum = (1 + env.code.split('\n').length);
PHP
// Comment
<?php
echo 'Testext';
?>
Autor:
http://prismjs.com
Anzeige durch Droplet MoreLikeThis