use span to format code