wallabag/app/Resources/static/themes/_global/js/highlight.js
2018-04-23 19:11:24 +02:00

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