From 04b0f4da8531022673eed381435f61bab29dc64e Mon Sep 17 00:00:00 2001 From: lsy Date: Sat, 29 Mar 2025 16:09:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AA=E8=A7=A3=E6=9E=90=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=E6=A0=87=E6=B3=A8=E7=9A=84=E8=A1=A8=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- astro.config.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index c3f26b9..1903cfe 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -77,7 +77,7 @@ export default defineConfig({ // 为 MDX 单独配置所需功能 remarkPlugins: [ // 添加表情符号支持 - [remarkEmoji, { emoticon: true, padded: true }] + [remarkEmoji, { emoticon: false, padded: true }] ], rehypePlugins: [ [rehypeExternalLinks, { target: '_blank', rel: ['nofollow', 'noopener', 'noreferrer'] }] @@ -133,7 +133,7 @@ export default defineConfig({ markdown: { syntaxHighlight: 'prism', remarkPlugins: [ - [remarkEmoji, { emoticon: true, padded: true }] + [remarkEmoji, { emoticon: false, padded: true }] ], rehypePlugins: [ [rehypeExternalLinks, { target: '_blank', rel: ['nofollow', 'noopener', 'noreferrer'] }]