Jekyll Gist screenshot

Jekyll Gist

Author Avatar Theme by Jekyll
Updated: 13 Apr 2020
272 Stars

:page_with_curl: Liquid tag for displaying GitHub Gists in Jekyll sites.

Overview

The Jekyll::GistLiquid tag is a tool that allows users to display GitHub Gists on their Jekyll sites. It provides a way to easily incorporate code snippets or examples into blog posts or tutorials.

Features

  • Easy integration with Jekyll sites
  • Ability to display GitHub Gists using Liquid tags
  • Option to specify a specific file from the Gist to display
  • Supports personal access tokens for faster site generation

Installation

To install the Jekyll::GistLiquid tag, follow these steps:

  1. Add the following line to your application’s Gemfile:
gem 'jekyll-gist'
  1. Execute the command to install the gem:
bundle install
  1. Alternatively, you can install the gem manually by running the command:
gem install jekyll-gist
  1. After installing the gem, add the following code to your site’s _config.yml file:
plugins:
  - jekyll-gist

Note: For Jekyll versions older than 3.5.0, use the gems key instead of plugins.

Summary

The Jekyll::GistLiquid tag is a useful tool for Jekyll users who want to display GitHub Gists on their sites. With easy installation and integration, as well as support for specifying specific files and personal access tokens, it provides a convenient way to showcase code examples and snippets in blog posts and tutorials.