Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for formatting .marko files #151

Merged
merged 12 commits into from May 1, 2023

Conversation

AngusMorton
Copy link
Contributor

Currently, prettier-plugin-tailwind doesn't work with .marko files because Marko has its own syntax. This PR adds support for Marko using prettier-plugin-marko.

I got all the Marko tests passing locally, but I'm getting a few unrelated test failures locally on Windows, even on main, with no changes:

  • formatFixture tests.
  • Vue <div :class=\"inline sm:block flex${someVar}\"></div> test.

Let me know if I can do anything to help get this in.

Thanks!

@thecrypticace thecrypticace self-assigned this Apr 27, 2023
@thecrypticace thecrypticace merged commit fcbe554 into tailwindlabs:main May 1, 2023
@thecrypticace
Copy link
Contributor

Thanks @AngusMorton! This will be available in the next tagged release — that may or may not be this week though. In the meantime it's available to test via our insiders build:
npm install prettier-plugin-tailwindcss@insiders

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants