1.0.4 • Published 1 year ago
hexo-tag-spotify-batter v1.0.4
hexo-tag-spotify-batter
A Hexo tag for embedding spotify in article
Installation
npm install hexo-tag-spotify-batter --save
Usage
Add the tag markup to a post with the url of the content you want to embed. Example
{% spotify [spotify_resource] [type] [size] %}
Field optional configuration value:
spotify_resource:
Spotify URI
orHttp Link
For example
# Use spotify URI {% spotify spotify:track:7kkRhGDCAVd5YVoieTChxG music large %} # Use http link {% spotify https://open.spotify.com/track/6Axm4pFDMEy2auiDldc1Gj?si=e5482b8fa0464bdf music large %}
type: optional fields, allow values:
music
,podcast
,playlist
, defaultmisic
- size: optional fields, allow values:
large
,compact
, defaultcompact