0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-31 23:31:30 -05:00

[ci] format

This commit is contained in:
Bjorn Lu 2024-03-08 13:04:14 +00:00 committed by astrobot-houston
parent e3f02f5fb1
commit d9336668e5

View file

@ -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 =