chore: format

pull/3237/head
Anthony Fu 2 years ago
parent 364fba02a4
commit b02aa66d3e

@ -78,7 +78,7 @@ export async function highlight(
pre(node) { pre(node) {
node.properties.class = 'vp-code shiki' node.properties.class = 'vp-code shiki'
} }
}, }
] ]
const styleRE = /<pre[^>]*(style=".*?")/ const styleRE = /<pre[^>]*(style=".*?")/
@ -164,7 +164,7 @@ export async function highlight(
: { : {
themes: theme, themes: theme,
defaultColor: false defaultColor: false
}), })
}) })
return fillEmptyHighlightedLine(cleanup(restoreMustache(highlighted))) return fillEmptyHighlightedLine(cleanup(restoreMustache(highlighted)))

Loading…
Cancel
Save