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

No files matched your search

+5
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.",