neovim-flake/highlightjs/loader.js
2023-12-25 08:22:11 +00:00

6 lines
236 B
JavaScript

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