Skip to content
This repository was archived by the owner on Nov 2, 2024. It is now read-only.

Commit fed71e6

Browse files
CarlosLongarelamkaz
authored andcommitted
code attribute changed from lang to data-lang, accessibility
1 parent fb4248e commit fed71e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const addSyntaxToCodeBlock = ( settings ) => {
2828
type: 'string',
2929
selector: 'code',
3030
source: 'attribute',
31-
attribute: 'lang',
31+
attribute: 'data-lang',
3232
},
3333
lineNumbers: {
3434
type: 'boolean',

0 commit comments

Comments
 (0)