Text this: Diffusion-programmed catalysis in nanoporous material