Skip to content

Commit 1d187bd

Browse files
authored
Update api/src/bundler/plugins/rehype-code-blocks.ts
1 parent 5203101 commit 1d187bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/bundler/plugins/rehype-code-blocks.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ let highlighter: shiki.Highlighter;
1111
* @returns
1212
*/
1313
export default function rehypeCodeBlocks(): (ast: Node) => void {
14-
function visitor(node: any, i: number, parent: any) {
14+
function visitor(node: any, _i: number, parent: any) {
1515
if (!parent || parent.tagName !== 'pre' || node.tagName !== 'code') {
1616
return;
1717
}

0 commit comments

Comments
 (0)