mirror of
https://github.com/fmhy/edit.git
synced 2025-07-31 08:12:23 +10:00
Fix
This commit is contained in:
parent
1f9f333c91
commit
b409b14b8a
1 changed files with 2 additions and 2 deletions
|
@ -280,13 +280,13 @@ const transformLinks = (text: string): string =>
|
|||
name: 'GitHub',
|
||||
find: /\[GitHub\]\(([^\)]*?)\)/gm,
|
||||
replace:
|
||||
'<a target="_blank" href="$1"><div alt="GitHub" class="i-carbon:logo-github mb-0.5" /></a>'
|
||||
'<a target="_blank" href="$1"><div alt="GitHub" class="i-carbon:logo-github" /></a>'
|
||||
},
|
||||
{
|
||||
name: 'GitHub Fallback',
|
||||
find: /\[Github\]\(([^\)]*?)\)/gm,
|
||||
replace:
|
||||
'<a target="_blank" href="$1"><div alt="GitHub" class="i-carbon:logo-github mb-0.5" /></a>'
|
||||
'<a target="_blank" href="$1"><div alt="GitHub" class="i-carbon:logo-github" /></a>'
|
||||
},
|
||||
{
|
||||
name: 'GitLab',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue