1
0
Fork 0
mirror of https://github.com/NotAShelf/neovim-flake.git synced 2025-01-06 23:39:48 +01:00
neovim-flake/highlightjs/loader.js

7 lines
236 B
JavaScript
Raw Normal View History

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