Skip to content

Commit

Permalink
Mention HTML into mj-text documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mifi committed Aug 25, 2022
1 parent 45d9cbf commit 1360b39
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions packages/mjml-text/README.md
@@ -1,16 +1,17 @@
## mj-text

This tag allows you to display text in your email.
This tag allows you to display text and HTML in your email.

```xml
<mjml>
<mj-body>
<mj-section>
<mj-column>
<mj-text>
<h1>
Hey Title!
</h1>
<mj-text font-family="Helvetica" color="#F45E43">
<h1>Title</h1>

<p>Paragraph</p>
<p style="font-family:Comic Sans Ms">Another paragraph</p>
</mj-text>
</mj-column>
</mj-section>
Expand Down

0 comments on commit 1360b39

Please sign in to comment.