render html with your custom format.