wrap code contents with span to support multi-line codes