mirror of
https://github.com/hunvreus/basecoat.git
synced 2026-11-11 04:38:18 +00:00
Fixing highlight
This commit is contained in:
@@ -75,7 +75,7 @@
|
||||
const highlight = () => {
|
||||
if (!window.hljs) return;
|
||||
document
|
||||
.querySelectorAll('code:not([data-highlighted])')
|
||||
.querySelectorAll('pre code:not([data-highlighted]), code.highlight:not([data-highlighted])')
|
||||
.forEach(el => hljs.highlightElement(el));
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user