The compatibility with @shopify/prettier-plugin-liquid doesn't work right. The follow code will not be formatted. When you use the liquid-html parser. Only with the html parser
<a class="sm:p-0 p-4" href="https://www.example.com">Example</a>
<a class="p-4 sm:p-0" href="https://www.example.com">Example</a>
Prettier config
{
"plugins": ["@shopify/prettier-plugin-liquid", "prettier-plugin-tailwindcss"],
"pluginSearchDirs": false,
"parser": "liquid-html"
}
What version of prettier-plugin-tailwindcss are you using?
0.2.0
What version of @shopify/prettier-plugin-liquid are you using?
1.0.0-rc.2 and 0.4.3 (tested both)
What version of Tailwind CSS are you using?
3.2.4
What version of Node.js are you using?
v18.12.1
What package manager are you using?
NPM
What operating system are you using?
Mac os
The compatibility with @shopify/prettier-plugin-liquid doesn't work right. The follow code will not be formatted. When you use the liquid-html parser. Only with the html parser
Prettier config
What version of
prettier-plugin-tailwindcssare you using?0.2.0
What version of
@shopify/prettier-plugin-liquidare you using?1.0.0-rc.2 and 0.4.3 (tested both)
What version of Tailwind CSS are you using?
3.2.4
What version of Node.js are you using?
v18.12.1
What package manager are you using?
NPM
What operating system are you using?
Mac os