Heteroatom-doped meso/micro-porous carbon materials are conventionally produced by harsh carbonization under an inert atmosphere involving specific precursors, hard/soft templates, and heteroatom-containing agents. Herein, we report a facile synthesis of N and O co-doped meso/micro-porous carbon (NOMC) by template-free carbonization of a small-molecule precursor in a semi-closed system. The semi-closed carbonizaiton process yields hydrophilic NOMCs with large surface area in a high yield. The porous structure as well as the elemental compositio...