chore: format

pull/3237/head
Anthony Fu 2 years ago
parent f8e0cce590
commit 6f41ab210f

@ -21,13 +21,18 @@ export default defineConfig({
for (const line of code.children) {
if (line.type !== 'element') continue
for (const token of line.children) {
if (token.type === 'element' && token.children[0].type === 'text') {
token.children[0].value = token.children[0].value.replace('[!!code', '[!code')
if (
token.type === 'element' &&
token.children[0].type === 'text'
) {
token.children[0].value = token.children[0].value.replace(
'[!!code',
'[!code'
)
}
}
}
}
}
]
},

Loading…
Cancel
Save