Facile fabrication of N-doped hierarchical porous carbons derived from soft-templated ZIF-8 for enhanced adsorptive removal of tetracycline hydrochloride from water.