Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including hexo-tag-spotify with all npm packages installed. Try it out:

var hexoTagSpotify = require("hexo-tag-spotify")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

hexo-tag-spotify v1.1.0

Spotify play button for Hexo


A Hexo tag plugin which makes it easy to embed any type of Spotify content.


npm install --save hexo-tag-spotify


Add the tag markup to a post with the url of the content you want to embed.

  1. Example with Spotify URI:
{% spotify spotify:track:7kkRhGDCAVd5YVoieTChxG %}
  1. Example with HTTP link:
{% spotify %}


You can configure the size, theme and view of the widgets.

Allowed values are:

  1. size
    • large (default)
    • compact
    • <width>x<height>

Example configuration:

  size: 'large'
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free