mirror of
https://github.com/avinal/avinal.github.io.git
synced 2026-07-04 07:40:09 +05:30
test prism highlighting
This commit is contained in:
+3
-1
@@ -68,7 +68,9 @@
|
||||
return Prism.highlight(code, grammar, lang);
|
||||
}
|
||||
})
|
||||
document.getElementById("insert-here").innerHTML = marked.parse(markdowndata);
|
||||
document.getElementById("insert-here").innerHTML = marked.parse(markdowndata, function () {
|
||||
renderSuccess = true;
|
||||
});
|
||||
// document.getElementById("toc-entries").innerHTML = toc;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user