Preparation of mesohollow and microporous carbon nanofiber and its application in cathode material for lithium–sulfur batteries