1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

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);
});
});