4 ms·
> Because if your thing goes complaining when I write <li>item<li>item, I’ll be upset. It does, sorry. No optional tags period. Giving whitespace more semanti
by kristoff_it 2y ago
> Because if your thing goes complaining when I write <li>item<li>item, I’ll be upset.
It does, sorry. No optional tags period.
Giving whitespace more semantic value than what it already has is a dangerous game. I already use whitespace to let the user "talk" with the autoformater and from my perspective that already spends all my whitespace (and weirdness) budget.
- alexpetros 2y agoFirst of all, this is awesome work and it's wonderful to see people taking writing plain HTML seriously, because, as you identified, the existing tooling is completely insufficient. That having been said, I think the reason people largely don't write plain HTML is because the affordances that HTML makes for writeability (like omitting closing tags on <li>, <p>, etc) are frowned upon. If you're going to make all this effort to understand the HTML in the document, it's kind of a bummer to not make it actually understand some core aspects of HTML, aspects that are especially useful when writing it directly instead of treating HTML as a compile target.