figured out how to extract the post html and prettify it so I can use it in razor views