1
0
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:
2022-09-14 16:50:05 +05:30
parent 38febf8727
commit 6e8570edb2
3 changed files with 40 additions and 38 deletions
+3 -1
View File
@@ -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;
});