Skip to content

Commit

Permalink
Formating
Browse files Browse the repository at this point in the history
  • Loading branch information
HazAT committed Nov 15, 2023
1 parent 3081d5b commit 42ccc24
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 8 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
node_modules
dist
node
**/*.mdx
5 changes: 1 addition & 4 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"plugins": [
"prettier-plugin-organize-imports",
"prettier-plugin-tailwindcss"
],
"plugins": ["prettier-plugin-organize-imports", "prettier-plugin-tailwindcss"],
"arrowParens": "avoid",
"printWidth": 120,
"tabWidth": 2,
Expand Down
2 changes: 1 addition & 1 deletion packages/website/src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ hero:
file: ../../assets/houston.webp
actions:
- text: Get started
link: /spotlight/setup/
link: /spotlight/what-is-spotlight/
icon: right-arrow
variant: primary
- text: Read the Spotlight docs
Expand Down
18 changes: 15 additions & 3 deletions packages/website/src/content/docs/setup/astro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,19 @@ To install Spotlight for Astro call:
import { Tabs, TabItem } from '@astrojs/starlight/components';

<Tabs>
<TabItem label="npm">```sh npx astro add @spotlightjs/core ```</TabItem>
<TabItem label="pnpm">```sh pnpm astro add @spotlightjs/core ```</TabItem>
<TabItem label="yarn">```sh yarn astro add @spotlightjs/core ```</TabItem>
<TabItem label="npm">
```sh
npx astro add @spotlightjs/core
```
</TabItem>
<TabItem label="pnpm">
```sh
pnpm astro add @spotlightjs/core
```
</TabItem>
<TabItem label="yarn">
```sh
yarn astro add @spotlightjs/core
```
</TabItem>
</Tabs>

0 comments on commit 42ccc24

Please sign in to comment.