浏览代码

build fix - math error

nidhi-singh02 2 月之前
父节点
当前提交
61664e2188
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/developer-hub/source.config.ts

+ 1 - 1
apps/developer-hub/source.config.ts

@@ -48,6 +48,6 @@ export default defineConfig({
       },
     },
     remarkPlugins: [remarkMath],
-    rehypePlugins: [rehypeKatex, rehypeCode],
+    rehypePlugins: (v) => [rehypeKatex, rehypeCode, ...v],
   },
 });