Skip to content

Commit 461b7e0

Browse files
authored
Use shiki as code highlighter (#521)
1 parent ec35171 commit 461b7e0

File tree

63 files changed

+823
-141
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+823
-141
lines changed

docs/developer-guide/plugin/api-reference/ui/components/annotations-form.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: 元数据表单组件
77

88
## 使用示例
99

10-
```html
10+
```vue
1111
<script lang="ts" setup>
1212
import { ref } from "vue"
1313

docs/developer-guide/plugin/api-reference/ui/components/attachment-file-type-icon.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: 附件文件类型图标组件
77

88
## 使用示例
99

10-
```html
10+
```vue
1111
<script lang="ts" setup></script>
1212
1313
<template>

docs/developer-guide/plugin/api-reference/ui/components/attachment-selector-modal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ description: 附件选择组件
1111

1212
## 使用示例
1313

14-
```html
14+
```vue
1515
<script lang="ts" setup>
1616
import { ref } from "vue"
1717

docs/developer-guide/plugin/api-reference/ui/components/filter-clean-button.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: 过滤器清除按钮组件
55

66
## 使用示例
77

8-
```html
8+
```vue
99
<script lang="ts" setup>
1010
function onClear () {
1111
console.log("clear")

docs/developer-guide/plugin/api-reference/ui/components/filter-dropdown.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: 过滤器下拉组件
77

88
## 使用示例
99

10-
```html
10+
```vue
1111
<script lang="ts" setup>
1212
import { ref } from "vue"
1313

docs/developer-guide/plugin/api-reference/ui/components/has-permission.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: 权限判断组件
77

88
## 使用方式
99

10-
```html
10+
```vue
1111
<script lang="ts" setup>
1212
import { VButton } from "@halo-dev/components"
1313
</script>

docs/developer-guide/plugin/api-reference/ui/components/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pnpm install @halo-dev/components
1717

1818
在 Vue 组件中:
1919

20-
```html
20+
```vue
2121
<script lang="ts" setup>
2222
import { VButton } from "@halo-dev/components";
2323
</script>

docs/developer-guide/plugin/api-reference/ui/components/plugin-detail-modal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: 插件详情弹窗组件
77

88
## 使用方式
99

10-
```html
10+
```vue
1111
<script lang="ts" setup>
1212
import { ref } from "vue"
1313

docs/developer-guide/plugin/api-reference/ui/components/search-input.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: 搜索输入框组件
77

88
## 使用方式
99

10-
```html
10+
```vue
1111
<script lang="ts" setup>
1212
import { ref } from "vue"
1313

docs/developer-guide/plugin/api-reference/ui/components/uppy-upload.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: 文件上传组件
55

66
## 使用方式
77

8-
```html
8+
```vue
99
<script lang="ts" setup>
1010
const policyName = ref('my-test-policy')
1111
const groupName = ref('my-test-group')

0 commit comments

Comments
 (0)