Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
delucis authored and astrobot-houston committed Nov 2, 2023
1 parent b88721c commit 9939033
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/src/content/docs/zh-cn/guides/css-and-tailwind.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -184,14 +184,14 @@ yarn create astro --template starlight/tailwind
5. 将 Starlight Tailwind 插件添加到 `tailwind.config.mjs`

```js ins={2,7}
// tailwind.config.mjs
import starlightPlugin from '@astrojs/starlight-tailwind';
// tailwind.config.mjs
import starlightPlugin from '@astrojs/starlight-tailwind';

/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
plugins: [starlightPlugin()],
};
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
plugins: [starlightPlugin()],
};
```

### 使用 Tailwind 设置 Starlight 的样式
Expand Down

0 comments on commit 9939033

Please sign in to comment.