mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
3bf6d6d251
this has been overdue for a while. we also add the `shell` language to the bundle (in addition to nix and bash) for ShellSession highlighting. perhaps we should use the full, regular distribution instead of a custom build, but eh.
6 lines
236 B
JavaScript
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);
|
|
});
|
|
});
|