Skip to content

Quickly display npm related commands for multiple package managers in your Starlight documentation site

License

Notifications You must be signed in to change notification settings

HiDeoo/starlight-package-managers

Repository files navigation

starlight-package-managers 🗃

Quickly display npm related commands for multiple package managers in your Starlight documentation site.

Demo of starlight-package-managers

Getting Started

Want to get started immediately? Check out the getting started guide or check out the demo to see the plugin in action.

Description

Replace the following MDX code:

<Tabs>
<TabItem label="npm">

```sh
npm create astro@latest -- --template starlight
```

</TabItem>
<TabItem label="pnpm">

```sh
pnpm create astro --template starlight
```

</TabItem>
<TabItem label="Yarn">

```sh
yarn create astro --template starlight
```

</TabItem>
</Tabs>

By this one:

<PackageManagers type="create" pkg="astro@latest" args="--template starlight" />

Features

Related Projects

License

Licensed under the MIT License, Copyright © HiDeoo.

See LICENSE for more information.