Merge pull request #240 from umatare5/fix/replace_be_deprecated_code

Replace highlightBlock with highlightElement
This commit is contained in:
Henk Verlinde 2021-04-19 12:14:07 +02:00 committed by GitHub
commit fe043e3d77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -19,6 +19,6 @@ hljs.registerLanguage('md', markdown);
document.addEventListener('DOMContentLoaded', () => { document.addEventListener('DOMContentLoaded', () => {
document.querySelectorAll('pre code').forEach((block) => { document.querySelectorAll('pre code').forEach((block) => {
hljs.highlightBlock(block); hljs.highlightElement(block);
}); });
}); });