docs: fix Image component typo and prevent code fence formatting (#605)

This commit is contained in:
Sat Naing
2026-01-10 21:50:23 +07:00
committed by GitHub
parent 29fe8a30de
commit c20d747f38
@@ -142,12 +142,13 @@ If your logo is an image but not SVG, you can use Astro's Image component.
- Then, replace `{SITE.title}` with imported logo.
<!-- prettier-ignore -->
```html
<a
href="/"
class="absolute py-1 text-left text-2xl leading-7 font-semibold whitespace-nowrap sm:static"
>
<image src="{dummyLogo}" alt="Dummy Blog" class="dark:invert" />
<Image src="{dummyLogo}" alt="Dummy Blog" class="dark:invert" />
<!-- {SITE.title} -->
</a>
```