gatsby-plugin-hn

Loads the hacker news JavaScript for embedding hn’s post.

Inspiration

Install

npm install gatsby-plugin-hn

Configure

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

How to Use

  1. Put the following code to your component:
<div class="hn-card" data-id="25426185">
</div>