1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 21:49:48 +01:00
home-manager/highlight.load.js

6 lines
228 B
JavaScript

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