In view of environmental pollution control and purification of natural gases, developing ideal porous materials for small gas molecule (hydrogen, methane and carbon dioxide) capture is an important, pressing challenge.