nvf/highlightjs/loader.js

7 lines
236 B
JavaScript
Raw Permalink Normal View History

/* This file is NOT part of highlight.js */
document.addEventListener('DOMContentLoaded', (event) => {
document.querySelectorAll('.programlisting, .screen').forEach((element) => {
hljs.highlightElement(element);
});
});