timo-reymann / intellij-mjml-support

MJML support for the IntelliJ Platform.
https://timo-reymann.github.io/intellij-mjml-support/
Other
26 stars 11 forks source link

Support MJML files without mj-body #209

Closed rahulsom closed 2 months ago

rahulsom commented 2 months ago

Description

Currently, the plugin renders

File is used as include and is not wrapped with mjml and mj-body.

It would be nice if it could fake the mj-body wrapper so modular mjml sources still benefit from a preview.

References

No response

timo-reymann commented 2 months ago

Hey @rahulsom,

Thank you for your request.

I would rather not preview the MJML snippets if I cannot be 100% certain what they would look like when actually used.

What do you think about a similar solution as for “Local images”, where one can explicitly enable this in the settings?

rahulsom commented 2 months ago

Yeah. That sounds great.

timo-reymann commented 2 months ago

The feature will ship with 3.6.0 after approval from JetBrains :)