mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-20 22:56:30 +00:00
9 lines
224 B
JavaScript
9 lines
224 B
JavaScript
|
import 'highlight.js/styles/atom-one-light.css';
|
||
|
import * as hljs from 'highlight.js';
|
||
|
|
||
|
window.addEventListener('load', () => {
|
||
|
document.querySelectorAll('pre').forEach((node) => {
|
||
|
hljs.highlightBlock(node);
|
||
|
});
|
||
|
});
|