Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/c0b41/gatsby-remark-spotify
Gatsby remark plugin for spotify embed
https://github.com/c0b41/gatsby-remark-spotify
gatsby gatsby-plugin remark-plugin spotify
Last synced: 22 days ago
JSON representation
Gatsby remark plugin for spotify embed
- Host: GitHub
- URL: https://github.com/c0b41/gatsby-remark-spotify
- Owner: c0b41
- Created: 2018-09-11T20:34:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-11T05:34:25.000Z (about 3 years ago)
- Last Synced: 2024-12-21T15:49:18.436Z (about 2 months ago)
- Topics: gatsby, gatsby-plugin, remark-plugin, spotify
- Language: JavaScript
- Homepage:
- Size: 64.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# gatsby-remark-spotify
Embed a Spotify Track or Album to in your Markdown![npm](https://img.shields.io/npm/v/gatsby-remark-spotify.svg?style=flat-square)
## Install
1. Install plugin to your site:```bash
yarn add gatsby-remark-spotify
```2. Add following to your `gatsby-config.js`:
```js
plugins: [
{
resolve: "gatsby-transformer-remark",
options: {
plugins: [
{
resolve: "gatsby-remark-spotify",
options: {
width: 800,
height: 400,
}
}
]
}
},
```1. Restart gatsby.
## Usage
```markdown
`spotify:https://open.spotify.com/track/5K2ZAJ7GezwevGYBuh9rct`
`spotify: https://open.spotify.com/album/2Fb37JsRMVPASJcl3wwDOa````
## License
MIT