1.0.0 • Published 3 years ago
gatsby-plugin-hn v1.0.0
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
- Put the following code to your component:
<div class="hn-card" data-id="25426185">
</div>