mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
8f33464ca7
- Rectifies diverging CSS by combining nixos/nixpkgs docs CSS - Moves our custom Highlight.js loader in to the hljs package - Switches the nixos docs to use SVG callouts too
7 lines
256 B
JavaScript
7 lines
256 B
JavaScript
/* This file is NOT part of highlight.js */
|
|
document.onreadystatechange = function () {
|
|
var listings = document.querySelectorAll('.programlisting, .screen');
|
|
for (i = 0; i < listings.length; ++i) {
|
|
hljs.highlightBlock(listings[i]);
|
|
}
|
|
}
|