fix(a11y): make code blocks accessible with keyboard (#3902)

pull/3903/head
Azat S 7 months ago committed by GitHub
parent 1699abfb03
commit cb308b9295
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -85,7 +85,6 @@ export async function highlight(
{ {
name: 'vitepress:clean-up', name: 'vitepress:clean-up',
pre(node) { pre(node) {
delete node.properties.tabindex
delete node.properties.style delete node.properties.style
} }
} }

Loading…
Cancel
Save