This code just generates a new markdown file with front matter for use with Jekyll.
For example, file 2023-08-07-this_new_post.md
---
title: This new post
location: Leicester
tags: [rust, jekyll, blogging]
---
And given a media directory with some jpegs (or jixels) it'll output a set of picture tags to the file.
{% picture media/2023/10/example.jpg --alt an example photo %}