Skip to content

Commit

Permalink
fix(a11y): make code blocks accessible with keyboard (#3902)
Browse files Browse the repository at this point in the history
  • Loading branch information
azat-io committed May 18, 2024
1 parent 1699abf commit cb308b9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/node/markdown/plugins/highlight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ export async function highlight(
{
name: 'vitepress:clean-up',
pre(node) {
delete node.properties.tabindex
delete node.properties.style
}
}
Expand Down

0 comments on commit cb308b9

Please sign in to comment.