Published 2023-05-18.
Time to read: 3 minutes.
jekyll_plugins
collection.
Packaging
All plugins are packaged as RubyGems, and I maintain them on GitHub. The plugins are available as open source under the terms of the MIT License.
Usage
To use Jekyll plugins, you must set up a Ruby environment. To learn more about Jekyll, please read my other articles about Jekyll.
The rules for specifying options when using Jekyll tags defined by these plugins are described here.
CSS
Many of these plugins were designed with CSS in mind. Some CSS is common between certain plugins. I’ve broken out the CSS into files.
The benefit to you is that regardless of whether you only install one of these plugins
or install several, you will have manageable CSS.
Each project’s README.md
has a section that discusses the CSS files.
Jekyll_plugin_support and Nugem
The jekyll_plugin_support
gem
is a framework for building Jekyll plugins.
Nugem
is a code generator for writing “plain old gems” and Jekyll plugins that are packaged as gems.
Nugem
uses the jekyll_
framework.
Most of my Jekyll plugins began their existence as the scaffolding generated by
Nugem
.
Organization
tar
and zip
archives.
2023-05-18 jekyll_archive_display – This Jekyll tag plugin lists the names and contents of each file in a tar
file.
2023-05-18 jekyll_reading_time – A Liquid filter to estimate how long a passage of text will take to read.
Filters
basename
, basename_without_extension
, dirname
and wbr
.
2023-05-23 jekyll_begin_end – Defines Jekyll filters: append_suffix_if_does_not_start_with
, begins_with
, does_not_begin_with
, does_not_end_with
, and ends_with
.
2023-11-19 jekyll_from_to_until – This Jekyll plugin provides filters that return portions of a multiline string: from
, to
and until
.
2023-05-18 evaluate – Liquid filter that returns the result of evaluating a Ruby expression.
2023-05-18 jekyll_badge – Displays a badge on a Jekyll page for the package showing its version.
2023-05-18 jekyll_nth – Liquid filter that returns item n
of a Ruby array, origin 1.
2023-05-18 jekyll_time_since – A collection of Liquid filters that return the elapsed time since a date or date and time.
HTML
a href
tag, possibly with target='_blank'
and rel='nofollow'
. The titles of linked Jekyll pages can automatically be used as link text, and if the pages do not exist an error is displayed. URLs can be composed from environment variable references. Also provides a convenient way to generate formatted and clickable URIs. Features optional automatically-generated soft hyphens. The href
tags in a page can be summarized by the href_summary
tag.
2024-08-20 jekyll_img – This versatile plugin embeds responsive images in documents and pages with alignment options, flexible resizing, default styling, overridable styling, an optional caption, and an optional URL.
2023-12-01 jekyll_pre – Jekyll tags for HTML <pre/>
, copy content button, unselectable text, and incorporating command-line output into documents.
2023-06-09 jekyll_quote – Formats citations and quotes in a Jekyll website.
2023-05-18 jekyll_download_link – Generates a link to download a file. The path can be absolute or relative to the website.
2023-05-18 jekyll_run – Jekyll tag plugin that executes a program and returns the output from STDOUT.
2023-11-08 jekyll_video – Jekyll tag plugin that embeds an HTML5 video into a web page.
Utilities
include
tag does not support including files outside the _includes
folder. This plugin supports 4 types of includes.
2023-05-18 jekyll_site_inspector – Dumps lots of information from site
when enabled by the site_inspector
setting in _config.yml
.
Plugin Components
© Copyright 1994-2024 Michael Slinn. All rights reserved.
For requests to use this copyright-protected work in any manner, email mslinn@mslinn.com.
This website was made using Jekyll and Mike Slinn’s Jekyll Plugins.