- Added Source Code icon.
- Some misc changes.
This commit is contained in:
Hugo 2025-05-22 15:45:46 +01:00
parent ecd25eed42
commit 0cfe95c69d
9 changed files with 28 additions and 11 deletions

View file

@ -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,