g-plane / malva

Configurable, smart and fast CSS, SCSS, Sass and Less formatter with dprint integration.
https://dprint.dev/plugins/malva
MIT License
78 stars 3 forks source link

Better `grid-template-*` output #7

Closed g-plane closed 7 months ago

g-plane commented 7 months ago

For example, given the code below:

.container {
  grid-template-areas: "toolbar"
                        "main"
                        "menu"
                        "footer";

  grid-template-areas: "menu toolbar"
                       "menu main"
                       "menu footer";

  grid-template-areas: "menu menu toolbar ."
                       "menu menu main toc"
                       "menu menu footer toc";
}

playground

those CSS values should be kept as input instead of being put on a single line.