Skip to content

Commit 24d9090

Browse files
committed
fix(highlight-ssr): migrate to rehype-highlight@6
1 parent 2630833 commit 24d9090

File tree

1 file changed

+1
-2
lines changed
  • packages/plugin-highlight-ssr/src

1 file changed

+1
-2
lines changed

packages/plugin-highlight-ssr/src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@ import type { BytemdPlugin } from 'bytemd'
22
import rehypeHighlight, { Options } from 'rehype-highlight'
33

44
export default function highlightSsr({
5-
subset = false,
65
ignoreMissing = true,
76
...rest
87
}: Options = {}): BytemdPlugin {
98
return {
109
rehype: (processor) =>
11-
processor.use(rehypeHighlight, { subset, ignoreMissing, ...rest }),
10+
processor.use(rehypeHighlight, { ignoreMissing, ...rest }),
1211
}
1312
}

0 commit comments

Comments
 (0)