mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 02:51:04 +00:00
8 lines
227 B
JavaScript
8 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);
|
|
});
|
|
});
|