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 .twig files? #7

Closed
AndrewMac opened this issue Aug 19, 2024 · 4 comments
Closed

Add support for .twig files? #7

AndrewMac opened this issue Aug 19, 2024 · 4 comments
Assignees

Comments

@AndrewMac
Copy link

Hi there, and thanks for this neat little tool. One thing I found, though, was that it didn't work with the files in my templating system, which uses Twig and the .twig extension. I also tested by changing some test files to .html.twig, but that didn't work either. No problem if that's going beyond your intended use case, but if you could add Twig support I would love to use this on several projects. Thanks for listening, though, whatever you decide :-)

@j9t
Copy link
Owner

j9t commented Aug 19, 2024

Hi @AndrewMac—I think that makes sense (and I suspect there are some more extensions to offer support for, too). Should get to this relatively soon!

@j9t j9t self-assigned this Aug 19, 2024
@j9t
Copy link
Owner

j9t commented Aug 19, 2024

Prepared #8

@j9t
Copy link
Owner

j9t commented Aug 19, 2024

Added support for .twig (and .njk) in v1.6.0, which is now out on npm! Let me know if there are any issues!

@j9t j9t closed this as completed Aug 19, 2024
@AndrewMac
Copy link
Author

Wow! Thanks so much for the quick work. I will be updating as soon as I possibly can and running this over a bunch of projects :-)

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

No branches or pull requests

2 participants