[READ-ONLY] Mirror of https://github.com/flo-bit/dogumentation. Simple, minimalistic documentation template using astro flo-bit.dev/dogumentation/
0

Configure Feed

Select the types of activity you want to include in your feed.

dogumentation / src / embeds / excalidraw / matcher.ts
240 B 7 lines
1export default function urlMatcher(url: string): string | undefined { 2 // should be an absolute path to an svg file 3 if ((url.startsWith("/src/") || url.startsWith("$assets")) && url.endsWith(".svg")) { 4 return url; 5 } 6 return undefined; 7}