mjmlio / vscode-mjml

MJML preview, lint, compile for Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=attilabuti.vscode-mjml
MIT License
178 stars 24 forks source link

[Feature Request] Pre-processor support for MJML preview #24

Closed matthew-dean closed 1 month ago

matthew-dean commented 2 years ago

It would be great if there was the ability to run MJML files through a pre- (or post-) processor before showing the HTML preview. That would allow data-binding template tags with custom data and would possible solve issues like: https://github.com/mjmlio/vscode-mjml/issues/23

iRyusa commented 1 month ago

Should be good in 2.x with preprocessors within mjml confi .js