From c3008fd85a40a879c3b323c48137aada0be807d8 Mon Sep 17 00:00:00 2001 From: 604qgc Date: Wed, 10 Apr 2024 16:56:31 +0000 Subject: [PATCH] [ci] format --- packages/markdown/remark/src/shiki.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/markdown/remark/src/shiki.ts b/packages/markdown/remark/src/shiki.ts index 798956216d..66f85b85bd 100644 --- a/packages/markdown/remark/src/shiki.ts +++ b/packages/markdown/remark/src/shiki.ts @@ -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) {