Tidier Quarto Figures in Hugo: a Tiny Lua Filter

My Hugo blog renders Quarto-generated figures with my own theme&rsquo;s image render hook, which means I want figures to come out as plain markdown image syntax — not the verbose <figure> HTML that Quarto&rsquo;s hugo-md format produces by default. A short Lua filter solves this. This post walks through what the filter does, how to wire it up either per-document or project-wide via _quarto.yml ,…