split formatting into separate mark up