When working on this site, I’ve often wanted to include a screenshot or two.
But since git doesn’t work well with binary files and I don’t want to have to deal with media hosting I’ve tended to shy away from it.
However, a lot of what I want to take a screenshot of can be rendered in a terminal.
Which is suddenly quite interesting as a terminal’s contents can be entirely described in plain(-ish) text.
Surely it must be possible to capture the contents of a terminal window and then render it as some kind of image? Perhaps an SVG?
Yes it is!
In this blog post I describe how I arrived at the workflow I used to include the above screenshot on this website.
If you have spent any time following the Emacs community, you will have likely come across the denote.el project.
denote.el defines a clever file-naming scheme and provides an associated Emacs package containing utilities for managing files which follow this naming scheme.
In this blog post I outline how I have adopted denote.el to manage the content on this site and how I’ve extended Sphinx to take advantage this.
Not that you would have known it, but I’ve had a blog since 2014. Well 2015 if
you’re feeling generous, the first (and only) post went up in the last few
hours of New Year’s Eve. It was a look back on some of the projects I had
worked on that year and I announced my intentions to start blogging.
Fast forward nearly 4 years and here I am announcing my intentions to start
blogging - again. So I guess you are wondering what happened?
I got lost.
My first attempt at running a blog was using Jekyll and for some mystical reason
(It’s been so long I can’t actually remember why), I decided that it was not the
static site generator I was looking for. So I promptly set off on a voyage of
discovery in search of the ultimate static site generator.