astro-gists/package/README.md

66 lines
1.1 KiB
Markdown
Raw Normal View History

2024-02-24 03:34:15 +00:00
# `Astro-Gists`
2024-02-24 02:44:44 +00:00
2024-02-24 03:34:15 +00:00
This is an [Astro integration](https://docs.astro.build/en/guides/integrations-guide/) that allows the user to import GitHub Gists by ID through an Astro Component and Octokit
2024-02-24 02:44:44 +00:00
## Usage
### Prerequisites
TODO:
### Installation
Install the integration **automatically** using the Astro CLI:
```bash
2024-02-24 03:34:15 +00:00
pnpm astro add @matthiesenxyz/astro-gists
2024-02-24 02:44:44 +00:00
```
```bash
2024-02-24 03:34:15 +00:00
npx astro add @matthiesenxyz/astro-gists
2024-02-24 02:44:44 +00:00
```
```bash
2024-02-24 03:34:15 +00:00
yarn astro add @matthiesenxyz/astro-gists
2024-02-24 02:44:44 +00:00
```
Or install it **manually**:
1. Install the required dependencies
```bash
2024-02-24 03:34:15 +00:00
pnpm add @matthiesenxyz/astro-gists
2024-02-24 02:44:44 +00:00
```
```bash
2024-02-24 03:34:15 +00:00
npm install @matthiesenxyz/astro-gists
2024-02-24 02:44:44 +00:00
```
```bash
2024-02-24 03:34:15 +00:00
yarn add @matthiesenxyz/astro-gists
2024-02-24 02:44:44 +00:00
```
2. Add the integration to your astro config
```diff
2024-02-24 03:34:15 +00:00
+import integration from "@matthiesenxyz/astro-gists";
2024-02-24 02:44:44 +00:00
export default defineConfig({
integrations: [
+ integration(),
],
});
```
### Configuration
TODO:configuration
## Licensing
2024-02-24 03:34:15 +00:00
[MIT Licensed](./LICENSE). Made with ❤️ by [AdamMatthiesen](https://github.com/AdamMatthiesen) Under [MatthiesenXYZ](https://github.com/MatthiesenXYZ).
2024-02-24 02:44:44 +00:00
## Acknowledgements
TODO: