mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-27 05:00:30 +08:00
fix url target
This commit is contained in:
parent
a22e92b1b5
commit
35cf36f8c0
@ -54,6 +54,7 @@ const UpdaterModal: React.FC<Props> = (props) => {
|
||||
<ReactMarkdown
|
||||
className="markdown-body select-text"
|
||||
components={{
|
||||
a: ({ ...props }) => <a target="_blank" className="text-primary" {...props} />,
|
||||
code: ({ children }) => <Code size="sm">{children}</Code>,
|
||||
h3: ({ ...props }) => <h3 className="text-lg font-bold" {...props} />,
|
||||
li: ({ children }) => <li className="list-disc list-inside">{children}</li>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user