Turns out that less can read .html files and indent them instead of showing HTML tags. Really caught me by surprise.