/** * Modules (#1062, DESIGN §12.7): a template with `role: 'module'` is a box * of frames, groups and decoration that a page stacks in its modules group * (`groups: [{ name, modules: true }]`), one per `:::module{template="…"}` * block of the page fence, in Markdown order. * * {@link expandModules} turns a page template and the modules its page * lays into one template with every module's frames, groups and decoration * as the page's own, scoped by the instance name: `.` (the * fence's `name`, else `