This site runs on Jekyll, a static-site generator written in Ruby. As I create more and more figures to go on this site, it has become increasingly laborious to get the images, captions, and links properly formatted. So I’ve written a jekyll_figure plugin to automate the figures.
A tag like this:
{% figure filename svg,png,pdf 'Your caption here' %}
Produces output like this:
You can get the plugin at [GitHub](https://github.com/lmullen/jekyll_figure) or from [Rubygems](https://rubygems.org/gems/jekyll_figure).