New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improve mj-text doc #2492
improve mj-text doc #2492
Conversation
packages/mjml-text/README.md
Outdated
@@ -19,7 +20,7 @@ This tag allows you to display text in your email. | |||
``` | |||
|
|||
<p style="text-align: center;" > | |||
<a href="https://mjml.io/try-it-live/components/text"> | |||
<a href="https://mjml.io/try-it-live/E7Tk_8zjI"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need to change the link here it will fetch the content automatically 👍
packages/mjml-text/README.md
Outdated
@@ -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 and has shorthand attributes for easily styling its children. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and has shorthand attributes for easily styling its children
Not sure this provide any value here. But 👍 to add HTML mentioned
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure what is the purpose of font-family="Helvetica" color="#F45E43"
etc other than being shorthands
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is self-explanatory, as you can say this for any component
from #1757