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

Right filetype when using .mjml with twig #51

Closed
marvn-r3 opened this issue May 23, 2023 · 1 comment
Closed

Right filetype when using .mjml with twig #51

marvn-r3 opened this issue May 23, 2023 · 1 comment
Labels
kind/question Further information is requested

Comments

@marvn-r3
Copy link

Question

Maybe someone can help me and point me in the right direction. I started using the plugin and set up all the necessary folders and files for the order_confirmation_mail. Everything is working flawlessly.

Now, my question is: If I want to use MJML for templating, I have to change the file type from .twig to .mjml (otherwise, my MJML code does not get compiled). All Twig code still works fine, but now my syntax highlighting is gone inside PhpStorm. Using something like "html.mjml.twig" doesn't work either, as it falls back to the database template.

Do I have to work without Twig highlighting, or what did I do wrong?

Thank you very much for your help!

@marvn-r3 marvn-r3 added the kind/question Further information is requested label May 23, 2023
@shyim
Copy link
Member

shyim commented Jul 13, 2023

Maybe language inject feature works, otherwise there is no solution

@shyim shyim closed this as not planned Won't fix, can't repro, duplicate, stale Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants