One-step pyrolytic synthesis of nitrogen and sulfur dual-doped porous carbon with high catalytic activity and good accessibility to small biomolecules.