logos-blockchain-testing/docs/theme/highlight-init-7cc38499.js

15 lines
360 B
JavaScript
Raw Normal View History

2025-11-28 10:59:38 +01:00
(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();
}
})();