about summary refs log tree commit diff
path: root/pkgs/misc/documentation-highlighter/loader.js
blob: cf0fdac574ddad4de41fd7c1a4a4fe030d2cc839 (plain) (blame)
1
2
3
4
5
6
/* This file is NOT part of highlight.js */
document.addEventListener('DOMContentLoaded', (event) => {
    document.querySelectorAll('.programlisting, .screen').forEach((element) => {
        hljs.highlightElement(element);
    });
});