A lot of people are arguing that HTML burns more tokens than markdown. It's true but you can save at least 40% by externalizing the CSS to a template with <link rel="stylesheet" href="./styles.css">. This style.css is your formatting so the LLM will never output CSS again.
you are viewing a single comment's thread
view the rest of the comments
[–] 9 points 6 months ago

Although it has lead to every website have that 2/3/4 column look for about 10 years at least. Widescreen monitors have 50% of the space wasted,

I think it was Grid that started it, had 12 columns you could divvy up with a load of weird classes, and then a version of grid got added to the CSS standard instead so now it's just there.

You can still make CSS from scratch, but I can see why a beginner would go with Bootstrap or whatever.

  • source
  • parent