Klipper Dynamic Macros is an unofficial way to update macros without restarting Klipper, so you can update macros mid-print and see their results live. It also supports extra features that normal GCode Macros don't have.
This is a series of lessons geared to help people understand macro writing in Klipper with the Jinja2 template system.