Move global highlight to material

This commit is contained in:
Yassine Guedidi
2025-01-19 18:22:26 +01:00
parent 8c2df28596
commit e63f7ab12e
2 changed files with 1 additions and 1 deletions

View File

@ -0,0 +1,8 @@
import 'highlight.js/styles/atom-one-light.css';
import hljs from 'highlight.js';
window.addEventListener('load', () => {
document.querySelectorAll('pre').forEach((element) => {
hljs.highlightElement(element);
});
});