Skip to content

Commit 809bb52

Browse files
committed
docs: adjust preloaded shiki languages [lunaria-ignore]
1 parent 68b1bcc commit 809bb52

23 files changed

+23
-24
lines changed

docs/.vitepress/config/shared.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const shared = defineConfig({
2626
math: true,
2727
// Load these languages ahead of time for embedded code highlighting
2828
// TODO: remove this when Shiki fixes markdown embedded language loading
29-
languages: ['js', 'ts', 'html'],
29+
languages: ['js', 'ts', 'html', 'vue-html', 'css', 'yaml', 'sh'],
3030
codeTransformers: [
3131
// We use `[!!code` in demo to prevent transformation, here we revert it back.
3232
{

docs/en/guide/using-vue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,4 +288,4 @@ Vue provides IntelliSense support out of the box via the [Vue - Official VS Code
288288
"vue.server.includeLanguages": ["vue", "markdown"]
289289
}
290290
```
291-
:::
291+
:::

docs/es/guide/using-vue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,4 +286,4 @@ Vue ofrece soporte para IntelliSense de forma predeterminada mediante el [Plugin
286286
"vue.server.includeLanguages": ["vue", "markdown"]
287287
}
288288
```
289-
:::
289+
:::

docs/es/reference/default-theme-sidebar.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ const { hasSidebar } = useSidebar()
211211
</script>
212212
213213
<template>
214-
<div v-if="hasSidebar">Sólo visible cuando existe la barra lateral
215-
</div>
214+
<div v-if="hasSidebar">Sólo visible cuando existe la barra lateral</div>
216215
</template>
217216
```

docs/fa/guide/asset-handling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ const { theme } = useData()
6060
<template>
6161
<img :src="withBase(theme.logoPath)" />
6262
</template>
63-
```
63+
```

docs/fa/guide/frontmatter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ editLink: true
4545
"editLink": true
4646
}
4747
---
48-
```
48+
```

docs/fa/guide/migration-from-vitepress-0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020
## پیکربندی Frontmatter
2121

2222
- گزینه `home: true` به `layout: home` تغییر کرده است. همچنین، تنظیمات مربوط به صفحه اصلی بسیار تغییر کرده‌اند تا ویژگی‌های اضافی را ارائه دهند. برای جزئیات بیشتر، [راهنمای صفحه اصلی](../reference/default-theme-home-page) را ببینید.
23-
- گزینه `footer` به [`themeConfig.footer`](../reference/default-theme-config#footer) منتقل شده است.
23+
- گزینه `footer` به [`themeConfig.footer`](../reference/default-theme-config#footer) منتقل شده است.

docs/fa/guide/migration-from-vuepress.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@
2727

2828
---
2929

30-
ادامه دارد...
30+
ادامه دارد...

docs/fa/guide/mpa-mode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ document.querySelector('h1').addEventListener('click', () => {
2020

2121
`<script client>` یک ویژگی تنها برای ویت‌پرس است، نه یک ویژگی Vue. این در هر دو فایل `.md` و `.vue` کار می‌کند، اما فقط در حالت MPA. اسکریپت‌های کلاینت در تمام اجزای تم با هم بسته می‌شوند، در حالی که اسکریپت کلاینت برای یک صفحه خاص، فقط برای آن صفحه تقسیم می‌شود.
2222

23-
توجه داشته باشید که `<script client>` به عنوان **کد مؤلفه مؤلفه Vue** ارزیابی نمی‌شود: به عنوان یک ماژول جاوااسکریپت معمولی پردازش می‌شود. به همین دلیل، حالت MPA فقط باید در صورتی استفاده شود که سایت شما به تعامل کمینه‌ای از جانب کلاینت نیاز دارد.
23+
توجه داشته باشید که `<script client>` به عنوان **کد مؤلفه مؤلفه Vue** ارزیابی نمی‌شود: به عنوان یک ماژول جاوااسکریپت معمولی پردازش می‌شود. به همین دلیل، حالت MPA فقط باید در صورتی استفاده شود که سایت شما به تعامل کمینه‌ای از جانب کلاینت نیاز دارد.

docs/fa/guide/sitemap-generation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ export default {
5555
}
5656
}
5757
}
58-
```
58+
```

0 commit comments

Comments
 (0)