Nitrogen-doped microporous carbon with narrow pore size distribution as sulfur host to encapsulate small sulfur molecules for highly stable lithium-sulfur batteries