[Archived] Archived WIP of vielle.dev

Remove tabindex from code elements

vielle.dev d465f813 e5c2a9c3

verified
+5
+5
rehype-custom-html.ts
··· 130 130 forChild(node.children); 131 131 } 132 132 133 + case "pre": { 134 + console.log(node.properties); 135 + if (node.properties["tabindex"]) node.properties["tabindex"] = "-1"; 136 + } 137 + 133 138 case "ul": { 134 139 node.children.forEach((x) => { 135 140 if (x.type === "element" && x.tagName === "li") {