Add support for TLDR viewer links (#7205)

This commit is contained in:
Max Mykhailenko authored and GitHub committed 2024-07-08 17:55:06 -07:00
1 parent ea678e40cc
commit 58008d84c4
1 file changed
+1 -1
+1 -1
View File
@@ -547,7 +547,7 @@ const embeds: EmbedDescriptor[] = [
title: "Tldraw",
keywords: "draw schematics diagrams",
regexMatch: [
new RegExp("^https?://(beta|www|old)\\.tldraw\\.com/[rsv]/(.*)"),
new RegExp("^https?://(beta|www|old)\\.tldraw\\.com/[rsvo]+/(.*)"),
],
transformMatch: (matches: RegExpMatchArray) => matches[0],
icon: <Img src="/images/tldraw.png" alt="Tldraw" />,