logos-blockchain-testing/docs/theme/highlight-init-7cc38499.js
2025-12-20 09:51:51 +01:00

15 lines
360 B
JavaScript

(function () {
const highlight = () => {
if (!window.hljs) { return; }
document.querySelectorAll('pre code[class^="language-"]').forEach((block) => {
window.hljs.highlightElement(block);
});
};
if (document.readyState === "loading") {
document.addEventListener("DOMContentLoaded", highlight);
} else {
highlight();
}
})();