Skip to content

Commit

Permalink
Update api/src/bundler/plugins/rehype-code-blocks.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
cabljac authored Nov 4, 2022
1 parent 5203101 commit 1d187bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/bundler/plugins/rehype-code-blocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let highlighter: shiki.Highlighter;
* @returns
*/
export default function rehypeCodeBlocks(): (ast: Node) => void {
function visitor(node: any, i: number, parent: any) {
function visitor(node: any, _i: number, parent: any) {
if (!parent || parent.tagName !== 'pre' || node.tagName !== 'code') {
return;
}
Expand Down

0 comments on commit 1d187bd

Please sign in to comment.