From 48f0c30d47d62e4f35706edb93a1bb2f97eba14c Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.net>
Date: Sun, 1 Mar 2026 16:04:11 -0800
Subject: chore(biome): enable svelte formatting

---
 src/lib/MarkdownLink.svelte | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

(limited to 'src/lib/MarkdownLink.svelte')

diff --git a/src/lib/MarkdownLink.svelte b/src/lib/MarkdownLink.svelte
index ee8c4900..0e01db41 100644
--- a/src/lib/MarkdownLink.svelte
+++ b/src/lib/MarkdownLink.svelte
@@ -1,20 +1,20 @@
 <script lang="ts">
-  let { href, text }: { href: string; text: string } = $props();
-  let safeHref = $derived.by(() => {
-    try {
-      let url = new URL(href);
+let { href, text }: { href: string; text: string } = $props();
+let safeHref = $derived.by(() => {
+  try {
+    let url = new URL(href);
 
-      switch (url.protocol) {
-        case 'javascript:':
-          return '#';
+    switch (url.protocol) {
+      case 'javascript:':
+        return '#';
 
-        default:
-          return href;
-      }
-    } catch (error) {
-      return '#';
+      default:
+        return href;
     }
-  });
+  } catch (error) {
+    return '#';
+  }
+});
 </script>
 
 <a href={safeHref} target="_blank">{text}</a>
-- 
cgit v1.2.3

