diff --git a/docs/.vitepress/transformer.ts b/docs/.vitepress/transformer.ts
index 283fc4343..ae9f491d2 100644
--- a/docs/.vitepress/transformer.ts
+++ b/docs/.vitepress/transformer.ts
@@ -338,6 +338,7 @@ export function transform(text: string): string {
.replace(/^\* \*\*Note\*\* - (.+)$/gm, ':::tip\n$1\n:::')
.replace(/^Note - (.+)$/gm, ':::tip\n$1\n:::')
.replace(/^\*\*Warning\*\* - (.+)$/gm, ':::warning\n$1\n:::')
+ .replace(/^\* \*\*Warning\*\* - (.+)$/gm, ':::warning\n$1\n:::')
.replace(/^\*\s([^*])/gm, '- $1')
// Replace links
.replace(
@@ -373,15 +374,29 @@ function transformLinks(text: string): string {
/\[GitHub\]\(([^\)]*?)\)/gm,
''
)
- // Fallback for GitHub
+ // Fallback
.replace(
/\[Github\]\(([^\)]*?)\)/gm,
''
)
+ // Transform GitLab links to icons
+ .replace(
+ /\[GitLab\]\(([^\)]*?)\)/gm,
+ ''
+ )
+ // Fallback
+ .replace(
+ /\[Gitlab\]\(([^\)]*?)\)/gm,
+ ''
+ )
// Transform Telegram links to icons
.replace(
/\[Telegram\]\(([^\)]*?)\)/gm,
''
)
+ .replace(
+ /\[Subreddit\]\(([^\)]*?)\)/gm,
+ ''
+ )
return _text
}