Add highlight js

This commit is contained in:
2020-08-21 22:20:36 +02:00
parent c367d5b613
commit fa21c85a13
6 changed files with 105 additions and 1 deletions
File diff suppressed because one or more lines are too long
@@ -0,0 +1,5 @@
document.addEventListener('DOMContentLoaded', () => {
document.querySelectorAll('#note pre code').forEach((b) => {
hljs.highlightBlock(b);
});
});