Skip to content

Commit

Permalink
fix: markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
o-az committed Sep 2, 2024
1 parent ef66b41 commit 37dc0d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion docs/src/content/docs/plugins/copy-button.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ import { Tabs, TabItem } from '@astrojs/starlight/components';
</TabItem>
</Tabs>


## Usage

You can use this as a [`shiki` transformer](https://shiki.style/guide/transformers) in `rehype-pretty-code` by passing it to the `transformers` array.
Expand Down
10 changes: 5 additions & 5 deletions docs/src/content/docs/plugins/line-numbers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,27 @@ import { Tabs, TabItem } from '@astrojs/starlight/components';
## Installation

<Tabs syncKey="pkg">
<TabItem label="pnpm">
<TabItem label="pnpm" icon="pnpm">
```sh
pnpm add @rehype-pretty/transformers
```
</TabItem>
<TabItem label="npm">
<TabItem label="npm" icon="seti:npm">
```sh
npm install @rehype-pretty/transformers
```
</TabItem>
<TabItem label="bun">
<TabItem label="bun" icon="bun">
```sh
bun add @rehype-pretty/transformers
```
</TabItem>
<TabItem label="jsr">
<TabItem label="jsr" icon="seti:shell">
```sh
npx jsr add @rehype-pretty/transformers
```
</TabItem>
<TabItem label="yarn">
<TabItem label="yarn" icon="seti:yarn">
```sh
yarn add @rehype-pretty/transformers
```
Expand Down

0 comments on commit 37dc0d5

Please sign in to comment.