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

Option to insert external css file or code #42

Closed nitin2953 closed 4 weeks ago

nitin2953 commented 1 year ago

Feature suggestion

An option to insert external css file or mjml code for development purpose

Use case

During development I use the design's image as <body>'s background to achieve near perfect result

Code sample

<mj-include path="../style.css" type="css" />

Other information

Another toggle to choose weather to insert the css file or code in preview, generated html or both

iRyusa commented 4 weeks ago

This should work on 2.x