Fig. 1: Schematic of synthetic COFs and structural representations of COFs.

a The synthesis route of CoPc-O-COF and CoPc-S-COF. The simulated AA stacking of b, c CoPc-O-COF and d, e CoPc-S-COF (Co: orange; C: light gray; N: blue; O: red; S: yellow; F: green). PXRD of f CoPc-O-COF and g CoPc-S-COF: experimental PXRD profile (black), refined profile (red), the difference between the experimental and refined PXRD (gray), and simulation pattern based on the AA stacking manner (blue and green).