0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

[ci] format

This commit is contained in:
604qgc 2024-04-10 16:56:31 +00:00 committed by astrobot-houston
parent ccafa8d230
commit c3008fd85a

View file

@ -102,10 +102,10 @@ export async function createShikiHighlighter({
// Replace "shiki" class naming with "astro-code"
node.properties.class = classValue.replace(/shiki/g, 'astro-code');
// Add data-language attribute
node.properties.dataLanguage = lang;
// Handle code wrapping
// if wrap=null, do nothing.
if (wrap === false) {