mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00: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.
7 lines
236 B
JavaScript
7 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);
|
|
});
|
|
});
|