]> Lady’s Gitweb - Blog/blobdiff - build.js
Title casing change
[Blog] / build.js
index 641bd94a3a2983b4d9f28a6b8fd6883a3fbe31cc..a3e7630d8dca71268c42f3469aee2e983f139ace 100755 (executable)
--- a/build.js
+++ b/build.js
@@ -39,6 +39,10 @@ const applyHighlighting = (node) => {
           `<!DOCTYPE html><html><body>${highlight}</body></html>`,
           "text/html",
         ).documentElement.lastChild.childNodes;
+        code.setAttribute(
+          "class",
+          `hljs ${code.getAttribute("class")}`,
+        );
         code.textContent = "";
         for (const node of Array.from(nodes)) {
           code.appendChild(code.ownerDocument.importNode(node, true));
@@ -58,5 +62,5 @@ globalThis.bjørnTransformMetadata = (metadata, _type) => {
 };
 
 await import(
-  "https://git.ladys.computer/Beorn/blob_plain/0.2.1:/build.js"
+  "https://git.ladys.computer/Beorn/blob_plain/0.2.3:/build.js"
 );
This page took 0.04187 seconds and 4 git commands to generate.