Browsers are really good at parsing

    I like organize my Tailwind classes by function with line breaks and tabs. I find it easier to read for excessively long class names.

    But I find ERB formatting support in VS Code a bit lacking at the moment.

    question.html.erb
    <div 
      id="<%= dom_id(question, :body) %>"
      class="
        question__body
        flex items-start flex-col
        space-col-4 grid-cols-12
        md:items-center md:flex-row md:space-row-4
      "><!-- -->

    Back to snippets