mirror of
https://github.com/outline/outline.git
synced 2026-12-02 17:52:07 +03:00
Add support for TLDR viewer links (#7205)
This commit is contained in:
1 parent
ea678e40cc
commit
58008d84c4
1 file changed
+1
-1
@@ -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" />,
|
||||
|
||||
Reference in new issue
Block a user