Pug pretty compilation and inline element whitespace
Pretty Printing Configuration The pretty compilation option in Pug (v3.x) is designed to insert newlines and indentation into the generated HTML to improve the readability of the output markup. While this is effective for block-level elements, the compiler utilizes a hard-coded internal list to distinguish between block and inline tags when determining where