Apply the emphasis and code mark up separately