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 =