1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

Update assets

This commit is contained in:
Jeremy Benoist 2022-01-05 14:23:08 +01:00
parent a792690ab6
commit 7ac1217c01
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
9 changed files with 11 additions and 11 deletions

View file

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