html formatter for console