mirror of
https://github.com/fmhy/edit.git
synced 2025-07-30 07:42:18 +10:00
Add Source Code Icon + Misc Changes (#3498)
* test * Update - Added Source Code icon. - Some misc changes. * Fix * Adjust title * Fix redirect * Move PDF Utilities
This commit is contained in:
parent
289c0a30df
commit
a083dd1ea8
12 changed files with 43 additions and 28 deletions
|
@ -284,6 +284,12 @@ const transformLinks = (text: string): string =>
|
|||
replace:
|
||||
'<a target="_blank" href="$1"><div alt="GitLab" class="i-carbon:logo-gitlab" /></a>'
|
||||
},
|
||||
{
|
||||
name: 'Source Code',
|
||||
find: /\[Source Code\]\(([^\)]*?)\)/gm,
|
||||
replace:
|
||||
'<a target="_blank" href="$1"><div alt="Source Code" class="i-gravity-ui:code" /></a>'
|
||||
},
|
||||
{
|
||||
name: 'Telegram',
|
||||
find: /\[Telegram\]\(([^\)]*?)\)/gm,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue