Add formatted HTML output to writer.