10 Gatsby Plugins To Use For Your Gatsby Blog
January 20th, 2020 | 5 mins read
Table of Contents
In this article, I'd share 10 plugins (listed above) you can use on your gatsby blog to improve it. These are plugins I've used (some of which I currently use) which I find helpful.
You'd need to already have (or hoping to have) a blog running which is built with Gatsby.
If you don't but are hoping on creating a blog, here's why you should use Gatsby.
Gatsby actually makes creating blogs easy. It uses React for the frontend and GraphQL for data. You can also use several plugins to suit your needs so all you have to worry about is the application itself and your contents. You can create a blog and host for free on Netlify by following this tutorial - Gatsby Tutorial
Let's look at the plugins in detail.
What's the joy in writing posts without people viewing it? Even if people were, how would you know? Personally, I get encouraged to put out more contents when I notice how many people go through them.
Google Analytics is google's free web analytics service that allows you to analyze in-depth detail about the visitors on your website. It allows you to see the number of views on your posts as well as other pages. Read more about Google Analytics here - 10 Good Reasons Why You Should Use Google Analytics
This plugin is used to add google analytics to your blog. You can monitor all your pages and also view insights in the Google Analytics dashboard. Read more - gatsby-plugin-google-analytics
This plugin allows processing images in markdowns so that they can be used in production build. This allows images to be stored in same folder with the post and referenced with a relative URL. It also generates multiple versions of images with different widths so that the right size of the image would also be loaded for the device.
Read more - gatsby-remark-images
This plugin adds syntax highlighting to code blocks (of several languages) in markdowns using PrismJS. For example, the following HTML and JS code blocks:
<html> <head> <title>10 Gatsby Plugins To Use On Your Gatsby Blog</title> </head> </html>
console.log("10 Gatsby Plugins To Use On Your Gatsby Blog")
Read more - gatsby-remark-prismjs.
Added to the fact that you can see the number of views on your posts, you would also like to enable engagements from users on your posts. For example, comments from users.
Disqus is a service which enables this. With the free tier, you are able to get engagements from users. Setting up disqus manually on your site could be difficult or time taking.
This plugin however, makes setting up Disqus on your blog easy. Read more - gatsby-plugin-disqus
Progressive Web Applications (PWAs) are web applications which operate similarly to native applications. One of the features of native applications which PWAs also integrates is that applications are placed on users device screen.
Web app manifest which is a requirement for PWAs is used to achieve this.
This plugin creates a web app manifest which allows users to add your site to their home screen thereby making it easily accessible. The manifest provides configuration and icons to be used on the app. Read more - gatsby-plugin-manifest
This plugin also works with gatsby-plugin-offline which adds support for making a Gatsby site work offline and more resistant to bad network connections. This function is powered by service workers which caches visited pages of the site when the worker is installed.
This plugin creates a sitemap for your Gatsby plug. What is a sitemap? A sitemap makes it easy for google to find all pages within your site. Remember that google ranks web pages too, not just websites.
Read more - gatsby-plugin-sitemap
You'd always want more readers to come to your blog right? One means of achieving this is to make reading convenient for them. While some users are okay with bright screens, some prefer the most common nowadays - dark screens (also called dark mode).
With this plugin, creating a dark theme on your blog becomes easy. Read more - gatsby-plugin-dark-mode.
This plugin helps create an RSS feed (or multiple feeds) for your Gatsby site. RSS Feeds are used by readers who do not want to always check your site for new contents. With the feed, content comes in one centralized location. When they subscribe to your feed, they will get notified every time a new content is published.
Read more - gatsby-plugin-feed
What about a content management system where you can easily manae contents? Where you also wouldn't have to always open your code editor to add posts, then add files, commit and push to repository?
Netlify CMS allows you to manage contents (add, update and delete) easily.
While writing blogs, you'd most times want to embed external resources. This could youtube videos, codepens, tweets and on.
This plugin is used embed well known services by their URL.. Read more - gatsby-remark-embedder
I also created something similar - gatsby-remark-liquid-tags which allows embeds of codepens and youtube videos (at the moment).