mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00: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
8 lines
256 B
JavaScript
8 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]);
|
|
}
|
|
}
|