Two-dimensional dual-pore covalent organic frameworks obtained from the combination of two D2h symmetrical building blocks.