lainchan/js/hilight.js

13 lines
219 B
JavaScript
Raw Normal View History

2014-09-28 18:39:20 -04:00
function styleCode() {
$('pre').each(function() {
if (!$(this).hasClass('prettyprint')) {
$(this).addClass('prettyprint');
}
});
prettyPrint();
}
$(function() {styleCode();});