One bit of complication here is that the generated file stripped off the front matter I needed to continue rendering this page with Astro.
There's a bit of code in that plugin file where I just order all of the agda blocks from the generated file and paste them back into the original.
Probably not the best way but it works.
The other bit of complication here is that the generated files need to go back into the public directory of my static site generator.
In Agda, applying `--html-highlight=code` applies this to _all_ files, including the dependency files (such as `Agda.Primitive.html`).
So I wrote a bit of glue code to have it also include the CSS file again.
Overall, not too complicated.
## Docker image
Okay, while writing this article I found [sourcedennis/agda-mini][2], but when I first started, I was having trouble finding a slim Agda distribution that was well maintained.
I looked into writing an Agda Dockerfile, but I also didn't want to maintain that either.