Oxidative polymerization of 1,4-diethynylbenzene into highly conjugated poly(phenylene butadiynylene) within the channels of surface-functionalized mesoporous silica and alumina materials.