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

mjml-text

Package Overview
Dependencies
Maintainers
6
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mjml-text

mjml-text

  • 4.12.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
596K
decreased by-8.05%
Maintainers
6
Weekly downloads
 
Created
Source

mj-text

This tag allows you to display text in your email.

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

try it live

`mj-text` is an "ending tag", which means it can contain HTML code which will be left as it is, so it can contain HTML tags with attributes, but it cannot contain other MJML components. More information about ending tags in this section.
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 lines1
letter-spacingpx,emletter spacingnone
heightpxThe height of the elementn/a
text-decorationstringunderline/overline/line-through/nonen/a
text-transformstringuppercase/lowercase/capitalizen/a
alignstringleft/right/center/justifyleft
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
css-classstringclass name, added to the root HTML element createdn/a

FAQs

Package last updated on 25 Jan 2022

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