Move code syntax highlighting into a formatter class
Extract report template