format: apply repo prettier (3.8.1) to the folded skills tree
963 markdown files reformatted with the repository's pinned prettier so pnpm format:check covers the folded tree like every other repo file. The formatter's embedded-language pass also normalized code fences (TS semicolons, closed HTML tags in examples, lowercased CSS hex colors, one renumbered list that skipped an index). Alphanumeric token deltas vs the fold commit were audited file-by-file; all are formatter-equivalent markup normalizations plus the four sanitized skills.
This commit is contained in:
@@ -29,11 +29,7 @@ Optimized link component with prefetching:
|
||||
<NuxtLink to="/page" replace>Replace</NuxtLink>
|
||||
|
||||
<!-- Custom active class -->
|
||||
<NuxtLink
|
||||
to="/dashboard"
|
||||
active-class="text-primary"
|
||||
exact-active-class="font-bold"
|
||||
>
|
||||
<NuxtLink to="/dashboard" active-class="text-primary" exact-active-class="font-bold">
|
||||
Dashboard
|
||||
</NuxtLink>
|
||||
</template>
|
||||
@@ -91,7 +87,7 @@ Dynamic layout:
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
const layout = computed(() => isAdmin ? 'admin' : 'default')
|
||||
const layout = computed(() => (isAdmin ? 'admin' : 'default'));
|
||||
</script>
|
||||
```
|
||||
|
||||
@@ -144,7 +140,7 @@ Catch and handle errors in child components:
|
||||
|
||||
<script setup>
|
||||
function handleError(error) {
|
||||
console.error('Error caught:', error)
|
||||
console.error('Error caught:', error);
|
||||
}
|
||||
</script>
|
||||
```
|
||||
@@ -205,10 +201,7 @@ Optimized images (requires `@nuxt/image` module):
|
||||
/>
|
||||
|
||||
<!-- Art direction with picture -->
|
||||
<NuxtPicture
|
||||
src="/images/hero.jpg"
|
||||
:img-attrs="{ alt: 'Hero image' }"
|
||||
/>
|
||||
<NuxtPicture src="/images/hero.jpg" :img-attrs="{ alt: 'Hero image' }" />
|
||||
</template>
|
||||
```
|
||||
|
||||
@@ -255,7 +248,7 @@ Accessibility: announces page changes to screen readers:
|
||||
</template>
|
||||
```
|
||||
|
||||
<!--
|
||||
<!--
|
||||
Source references:
|
||||
- https://nuxt.com/docs/api/components/nuxt-link
|
||||
- https://nuxt.com/docs/api/components/nuxt-page
|
||||
|
||||
Reference in New Issue
Block a user