forked from XiaoMo/ChatGPT-Next-Web
linkTarget={'_blank'},这个对于对话框中的链接,会在新的tab页打开,体验更好。
This commit is contained in:
parent
1d2a95361b
commit
0508b0080f
@ -67,6 +67,7 @@ export function Markdown(props: { content: string }) {
|
|||||||
components={{
|
components={{
|
||||||
pre: PreCode,
|
pre: PreCode,
|
||||||
}}
|
}}
|
||||||
|
linkTarget={'_blank'}
|
||||||
>
|
>
|
||||||
{props.content}
|
{props.content}
|
||||||
</ReactMarkdown>
|
</ReactMarkdown>
|
||||||
|
Loading…
Reference in New Issue
Block a user