Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mjml-text

Package Overview
Dependencies
Maintainers
1
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mjml-text

mjml-text

  • 2.0.5-beta.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
524K
decreased by-12.03%
Maintainers
1
Weekly downloads
 
Created
Source

mjml-text

This tag allows you to display text in your email.

<mjml>
 <mj-body>
   <mj-container>
     <mj-section>
       <mj-column>
         <mj-text>
           <h1>
             Hey Title!
           </h1>
         </mj-text>
       </mj-column>
     </mj-section>
   </mj-container>
 </mj-body>
</mjml>

sexy

`MjText` can contain any HTML tag with any attributes. Don't forget to encode special characters to avoid unexpected behaviour from MJML's parser
attributeunitdescriptiondefault value
colorcolortext color#000000
font-familystringfontUbuntu, Helvetica, Arial, sans-serif
font-sizepxtext size13px
font-stylestringnormal/italic/obliquen/a
font-weightnumbertext thicknessn/a
line-heightpxspace between the lines22px
text-decorationstringunderline/overline/nonen/a
text-transformstringuppercase/lowercase/capitalizen/a
alignstringleft/right/centerleft
container-background-colorcolorinner element background colorn/a
paddingpxsupports up to 4 parameters10px 25px
padding-toppxtop offsetn/a
padding-bottompxbottom offsetn/a
padding-leftpxleft offsetn/a
padding-rightpxright offsetn/a

FAQs

Package last updated on 01 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc