“…[20][21][22] Among them, g-C 3 N 4 is rapidly emerging for application in catalysis, 23,24 energy storage, 25 sensors, 26 and molecular separations. 27,28 The in-plane structure of g-C 3 N 4 hosts either a 1,3,5-triazine or a heptazine (1,3-,4,6,7,9,9bheptaazaphenalene) building unit. 29 In particular, poly(triazine imide) or PTI is quite attractive for gas separation because of its highly ordered nanoporous structure, composed of imide-bridged triazine units which form a triangular sub-nanometer-sized pore (Fig.…”