browser-mjml-head-preview

browser-mjml-head-preview

Usage no npm install needed!

<script type="module">
  import browserMjmlHeadPreview from 'https://cdn.skypack.dev/browser-mjml-head-preview';
</script>

README

mj-preview

This tag allows you to set the preview that will be displayed in the inbox of the recipient.

<mjml>
 <mj-head>
   <mj-preview>Hello MJML</mj-preview>
 </mj-head>
 <mj-body>
   <mj-section>
     <mj-column>
       <mj-text>
         Hello World!           
       </mj-text>
     </mj-column>
   </mj-section>
 </mj-body>
</mjml>

try it live

mj-preview doesn't support any attribute.