From 2ee5810930bf5edc4138252b3307549c7cca22e3 Mon Sep 17 00:00:00 2001 From: Ivan Li Date: Fri, 7 Oct 2022 23:09:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9E=84=E5=BB=BA=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/mdx.ts | 2 +- package-lock.json | Bin 913684 -> 912365 bytes package.json | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mdx.ts b/lib/mdx.ts index 25f3580..bdc0548 100644 --- a/lib/mdx.ts +++ b/lib/mdx.ts @@ -62,7 +62,7 @@ export async function getFileBySlug(type: 'authors' | 'blog', slug: string | source, // mdx imports can be automatically source from the components directory cwd: path.join(root, 'components'), - xdmOptions(options, frontmatter) { + mdxOptions(options, frontmatter) { // this is the recommended way to add custom remark/rehype plugins: // The syntax might look weird, but it protects you in case we add/remove // plugins in the future. diff --git a/package-lock.json b/package-lock.json index d987b0530e1aa9c6a0b7a248f90e60b50ee78069..f6298e5b0b0c5ff26812d950d901c29554bf61c9 100644 GIT binary patch delta 519 zcmbR8$o%bf^9`l!tcH39ddAIF?Axo@8Q)x;F6+d}(SH9P=QtYr`5I)o`ZxxKPJjA)UckO@6XLP{emx-)byR#nDwVed|>3C9(|mH zm)TIyWctLLT$0mmXEO6o*N$f1-Ohf48Hibcm~}h*4Yt2x(+^0on@`ub+m9?yKg zz3u}W5VLQu`@r!nV)}wUPSNS_eK>`|o(FoIk&|)y14UlL>9P+P-%RKK$j#dhl-~Z{ zhs%a#yPY{tF5~tM!CbRi=;8V4iWwZ{B=}we;@*2Vx!UjDPcSz*r L+kV%M*L)KI5iYq@ delta 836 zcmaER-F(U;^9`l!tj2nVdPdDv?Axo@8Q)x;zTqmP(DXMq7@yJD=`y=ml(+j?GBz@9zm~wP zT*PQRUC^4*bb5k27t3_p%Urxb0Y)WmwGbcgV3(+fko?4C6N6HVK*NB*lBmp#B)^o9 z$Y4L;((qJmZ_^y@{6sVFbeF2&valkLh#ap<6N8M<08=BQpe#qvd_NzrNGGpM^Zat{ zq9nHh&y2|q5!TbiuQ2OP&$nO~m>zY7i+6hcEuigU>zGZZ&o^ddojxIfX-d2MRc0V& z0bJ1y;^r9EM8X+nE#f}~k5uw?EAqD=C$@z{IKA!nSz99uB z>7Ic_rk>%(nPExhj^;UTo&^SB9vOL+dAXLERTX9-#lsI?A!Of<(MBa{euq|&-C6a z%NE`v< zhmn(U`h}nD;?pn4@JdZzbC2=O^!R9Y-u43?oZAn0aM`dBYxJ~yF4660uJPtEPMZ&O zP|Y$H?(GeJT+J=G;xm*M@#!)Bp%Awj))+nJ!6x0l{R$Tlb8p{%g-0rd9&tFmQJz