From b02aa66d3e738c3456f26c4127cd8a26c7832322 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Wed, 22 Nov 2023 23:30:42 +0100 Subject: [PATCH] chore: format --- src/node/markdown/plugins/highlight.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/node/markdown/plugins/highlight.ts b/src/node/markdown/plugins/highlight.ts index 1a5c50ad..d0a13151 100644 --- a/src/node/markdown/plugins/highlight.ts +++ b/src/node/markdown/plugins/highlight.ts @@ -78,7 +78,7 @@ export async function highlight( pre(node) { node.properties.class = 'vp-code shiki' } - }, + } ] const styleRE = /]*(style=".*?")/ @@ -164,7 +164,7 @@ export async function highlight( : { themes: theme, defaultColor: false - }), + }) }) return fillEmptyHighlightedLine(cleanup(restoreMustache(highlighted)))