Here we show an 'artificial synthesis' method for covalent triazine framework (CTF) materials, enabling localised structural features to be incorporated that result directly from the acid-catalysed synthetic protocol that would otherwise not be captured. This advancement will enable prediction and design of new CTF materials with targeted properties.