LAB: Write Me a Compiler Script
In this lab we'll see how this works, and using a little inception, I'll show you how I resized the images to layout properly on the page, and how to compile markdown documents into whatever output you like.
If you're working with a lot of files that need bulk changes, one of the simplest things you can do is to ask for a script to do the thing you need done.
Task 1: Image Resizer
If you've ever written anything that involves images, you know that file names, formats, and sizes are extremely important to get right.
For this PDF, for instance, the images in the assets directory were all different sizes based on the selection area as well as what tool I used!
Updated on Nov 21, 2025