We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5203101 commit 1d187bdCopy full SHA for 1d187bd
api/src/bundler/plugins/rehype-code-blocks.ts
@@ -11,7 +11,7 @@ let highlighter: shiki.Highlighter;
11
* @returns
12
*/
13
export default function rehypeCodeBlocks(): (ast: Node) => void {
14
- function visitor(node: any, i: number, parent: any) {
+ function visitor(node: any, _i: number, parent: any) {
15
if (!parent || parent.tagName !== 'pre' || node.tagName !== 'code') {
16
return;
17
}
0 commit comments