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
[–] 15 points 6 months ago (1 child)

Fun fact, people often use css frameworks as a starting point and override a lot of built in classes to add their own look.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 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