node_modules/ yarn.lock # Site content. Measured, not assumed: formatting content/_index.md # re-wrapped one list item, and the rendered public/index.html changed # with it - the wrap landed as a literal newline between "7 PM at" and # the following tag. HTML collapses that newline to a space, so the # page looks the same, but the published bytes are not the same, and # this content carries raw HTML blocks (div/span/br) that goldmark # passes through verbatim because hugo.toml sets # markup.goldmark.renderer.unsafe = true. A formatter that can silently # change a published page is not worth the consistency, so content/ is # formatted by hand. content/ # Hugo layout templates. REPO_POLICIES.md puts HTML in prettier's # scope, but these files are not HTML: they are Go templates carrying # {{ define }}, {{ block }}, {{ .Content }} and # {{ readFile ... | safeCSS }}. Prettier has no Go-template parser, so # it would either fail outright or reflow the delimiters into markup # Hugo can no longer parse. Formatting them would require an # out-of-tree prettier plugin, which in turn requires a package.json - # deliberately out of scope for this repo. Excluded on purpose, not by # oversight. themes/loravega/layouts/