this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove tabindex from code elements

+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") {