Porous metal–organic frameworks (MOFs) are the subject of considerable research interest because of their high porosity and capability of specific binding to small molecules, thus underpinning a wide range of materials functions such as gas adsorption, separation, drug delivery, catalysis, and sensing.