svelte-utterances
Installation
npm i -D @codewithshin/svelte-utterances
Props
Name | Default |
---|
reponame | None |
issueTerm | pathname |
label | comments |
theme | github-light |
Themes
The default is github-light. Select one from:
- github-light
- github-dark
- preferred-color-scheme
- github-dark-orange
- icy-dark
- dark-blue
- photon-dark
- boxy-light
- gruvbox-dark
Issue term
The default is pathname. Select one from:
- url
- title
- og:title
- [Enter issue number]
- [Enter term]
How to use
<script>
import { Utterances } from '@codewithshin/svelte-utterances'
</script>
<Utterances
theme="github-dark"
reponame="yourname/repo-name"
/>
Check more details Utterances
Credits
References