update readme
This commit is contained in:
parent
198898928f
commit
5c07e22c15
|
@ -63,7 +63,7 @@ Github Personal Access Token (Classic)
|
||||||
- No Special Permissions required
|
- No Special Permissions required
|
||||||
- Octokit recommends creating an empty token for this!
|
- Octokit recommends creating an empty token for this!
|
||||||
|
|
||||||
```
|
```dotenv
|
||||||
GITHUB_PERSONAL_TOKEN=ghp_YOURPERSONALTOKENHERE
|
GITHUB_PERSONAL_TOKEN=ghp_YOURPERSONALTOKENHERE
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -73,6 +73,7 @@ GITHUB_PERSONAL_TOKEN=ghp_YOURPERSONALTOKENHERE
|
||||||
|
|
||||||
This Utility is meant to display Gists as Codeblocks using ExpressiveCode for Astro instead of Scripted Elements using the default Gist method
|
This Utility is meant to display Gists as Codeblocks using ExpressiveCode for Astro instead of Scripted Elements using the default Gist method
|
||||||
|
|
||||||
|
```astro
|
||||||
---
|
---
|
||||||
import { GetGist } from "@matthiesenxyz/astro-gists/components"
|
import { GetGist } from "@matthiesenxyz/astro-gists/components"
|
||||||
---
|
---
|
||||||
|
@ -80,6 +81,7 @@ import { GetGist } from "@matthiesenxyz/astro-gists/components"
|
||||||
gistId="your-gist-id-here"
|
gistId="your-gist-id-here"
|
||||||
filename="name-of-desired-file-to-be-displayed.md"
|
filename="name-of-desired-file-to-be-displayed.md"
|
||||||
/>
|
/>
|
||||||
|
```
|
||||||
|
|
||||||
## Licensing
|
## Licensing
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue