Naturally derived honeycomb-like N,S-codoped hierarchical porous carbon with MS2 (M = Co, Ni) decoration for high-performance Li-S battery.