forked from wallabag/wallabag
The structure changed completely. Bundles are gone. Everything is flatten in the folder `src`. I separated import & api controllers to avoid _pollution_ in the main controller folder.
9 lines
227 B
JavaScript
9 lines
227 B
JavaScript
import 'highlight.js/styles/atom-one-light.css';
|
|
import hljs from 'highlight.js';
|
|
|
|
window.addEventListener('load', () => {
|
|
document.querySelectorAll('pre').forEach((element) => {
|
|
hljs.highlightElement(element);
|
|
});
|
|
});
|