Merge pull request #456 from KakaWanYifan/linkTarget={_blank}

linkTarget={'_blank'},这个对于对话框中的链接,会在新的tab页打开,体验更好。
This commit is contained in:
Yifei Zhang 2023-04-04 17:07:41 +08:00 committed by GitHub
commit bf8d136936
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,6 +67,7 @@ export function Markdown(props: { content: string }) {
components={{
pre: PreCode,
}}
linkTarget={'_blank'}
>
{props.content}
</ReactMarkdown>