From d9336668e59ca63e2f5eda486ba725dc11223a9d Mon Sep 17 00:00:00 2001 From: Bjorn Lu Date: Fri, 8 Mar 2024 13:04:14 +0000 Subject: [PATCH] [ci] format --- packages/markdown/remark/src/shiki.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/markdown/remark/src/shiki.ts b/packages/markdown/remark/src/shiki.ts index 2e7bce24d0..bd9280f8c5 100644 --- a/packages/markdown/remark/src/shiki.ts +++ b/packages/markdown/remark/src/shiki.ts @@ -64,7 +64,11 @@ export async function createShikiHighlighter({ node.tagName = 'code'; } - const { class: attributesClass, style: attributesStyle, ...rest } = options?.attributes ?? {}; + const { + class: attributesClass, + style: attributesStyle, + ...rest + } = options?.attributes ?? {}; Object.assign(node.properties, rest); const classValue =