Skip to content

Commit

Permalink
chore(deps): update dependency zx to v8.3.1 (#4106)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency zx to v8.3.1

* upd

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dimitri POSTOLOV <[email protected]>
  • Loading branch information
renovate[bot] and dimaMachina authored Jan 30, 2025
1 parent 90cd774 commit 1ac8826
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 63 deletions.
3 changes: 2 additions & 1 deletion packages/nextra/src/server/rehype-plugins/rehype.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ export const DEFAULT_REHYPE_PRETTY_CODE_OPTIONS: RehypePrettyCodeOptions = {
},
filterMetaString: meta => meta.replace(CODE_BLOCK_FILENAME_RE, ''),
getHighlighter(opts) {
const langs = Object.keys(bundledLanguages).filter(l => l !== 'mermaid')
return createHighlighter({
...opts,
// Without `getHighlighter` option ```mdx lang isn't highlighted
langs: Object.keys(bundledLanguages)
langs
})
}
}
Expand Down
67 changes: 5 additions & 62 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1ac8826

Please sign in to comment.