gatsby-plugin-reddit

Loads the reddit JavaScript for embedding reddit’s post.

Inspiration

Install

npm install gatsby-plugin-reddit

Configure

// In your gatsby-config.js
plugins: [`gatsby-plugin-reddit`];

How to Use

  1. Get embed code by https://www.reddit.com/wiki/embeds
  2. Take the code you’re given and copy it into your markdown page.

    Note: when copying the embed code, copy only the blockquote section and not the script.