From 7ead579335b7853e97f3c89e4a197863e8fc70aa Mon Sep 17 00:00:00 2001 From: Joel Date: Thu, 24 Jul 2025 14:07:30 +0800 Subject: [PATCH] chore: use markdown render notice --- .../config/automatic/prompt-toast.tsx | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/web/app/components/app/configuration/config/automatic/prompt-toast.tsx b/web/app/components/app/configuration/config/automatic/prompt-toast.tsx index f3e3b318dd..a5a8bc2fae 100644 --- a/web/app/components/app/configuration/config/automatic/prompt-toast.tsx +++ b/web/app/components/app/configuration/config/automatic/prompt-toast.tsx @@ -8,26 +8,26 @@ type Props = { className?: string } const PromptToast = ({ - // message, + message, className, }: Props) => { const [isHide, { setTrue: hide, }] = useBoolean(false) - const message = ` -# h1 -**strong text** ~~strikethrough~~ + // const message = ` + // # h1 + // **strong text** ~~strikethrough~~ -* list1 -* list2 + // * list1 + // * list2 -xxxx + // xxxx -## h2 -\`\`\`python -print('Hello, World!') -\`\`\` - ` + // ## h2 + // \`\`\`python + // print('Hello, World!') + // \`\`\` + // ` if (isHide) return return (