Nitrogen, phosphorus, sulfur tri-doped porous carbon derived from covalent polymer with versatile performances in supercapacitor, oxygen reduction reaction and electro-fenton degradation