refactor out body field
support colorized snippet