mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
Core: Fix langAlias not being passed to Shiki rehype plugin
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'fumadocs-core': patch
|
||||
---
|
||||
|
||||
Fix `langAlias` not being passed to Shiki rehype plugin
|
||||
@@ -134,6 +134,7 @@ export function rehypeCode(
|
||||
langs:
|
||||
options.langs ??
|
||||
(options.lazy ? ['ts', 'tsx'] : Object.keys(bundledLanguages)),
|
||||
langAlias: options.langAlias,
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user