Format content and code properly