This commit is contained in:
Henrique Dias
2015-09-20 10:33:23 +01:00
parent 0ac1f84f60
commit 125666b5c5
78 changed files with 7472 additions and 47 deletions

View File

@@ -75,6 +75,11 @@ $(document).on('ready pjax:success', function() {
// Hide the editor and show the preview
codemirror.hide();
preview.html(html).fadeIn();
$('pre code').each(function(i, block) {
hljs.highlightBlock(block);
return true;
});
$(this).data("previewing", "true");
notification({
text: "This is how your post looks like.",