updated higlightjs, fixes for code blocks, code block style changes
This commit is contained in:
@@ -36,7 +36,7 @@ $(function(){
|
||||
});
|
||||
$('pre code').each(function() {
|
||||
if ($(this).attr("class")) {
|
||||
$(this).parent().attr("lang", $(this).attr("class").replace("hljs", "").trim());
|
||||
$(this).parent().attr("lang", $(this).attr("class").replace("hljs", "").toLowerCase().trim());
|
||||
} else {
|
||||
$(this).parent().attr("lang", "(language unknown)");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user