mj_wrapper.RdWrapper enables to wrap multiple sections together. It's especially useful to achieve nested layouts with shared border or background images across sections.
mj_wrapper(...)
| ... | Unnamed items that comprise this list of MJML tags. |
|---|
mj_ml( mj_body( mj_container( mj_wrapper( mj_section( mj_column( mj_text("Some text") ) ), mj_section( mj_column( mj_text("Text"), mj_divider(), mj_text("More text") ) ) ) ) ) )#> <mjml> #> <mj-body> #> <mj-container> #> <mj-wrapper> #> <mj-section> #> <mj-column> #> <mj-text>Some text</mj-text> #> </mj-column> #> </mj-section> #> <mj-section> #> <mj-column> #> <mj-text>Text</mj-text> #> <mj-divider></mj-divider> #> <mj-text>More text</mj-text> #> </mj-column> #> </mj-section> #> </mj-wrapper> #> </mj-container> #> </mj-body> #> </mjml>