Skip to content

Commit 05f7d85

Browse files
committed
wip: format
1 parent e961548 commit 05f7d85

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

‎packages/md/src/plugin.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,10 @@ export function useFrontmatter() { return useContext(FrontmatterContext) ?? {};
386386
});
387387

388388
const { compile } = await import('./compile.ts');
389-
const result = await compile(body, { shiki: options?.shiki, copyLabel: options?.copyLabel }).catch((error: unknown) => {
389+
const result = await compile(body, {
390+
shiki: options?.shiki,
391+
copyLabel: options?.copyLabel,
392+
}).catch((error: unknown) => {
390393
throw createPageError(_id, error);
391394
});
392395

‎packages/md/test/unit/plugins.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { describe, expect, it } from 'vite-plus/test';
21
import MarkdownExit from 'markdown-exit';
2+
import { describe, expect, it } from 'vite-plus/test';
33
import { compile } from '../../src/compile.ts';
44
import { CODE_COPY_SCRIPT, preWrapperPlugin } from '../../src/plugins/pre-wrapper.ts';
55

0 commit comments

Comments
 (0)