1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-24 03:59:46 +01:00
home-manager/highlight.load.js

7 lines
228 B
JavaScript
Raw Normal View History

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