mj_wrapper: Wrapper

Description Usage Arguments See Also Examples

View source: R/body.R

Description

Wrapper enables to wrap multiple sections together. It's especially useful to achieve nested layouts with shared border or background images across sections.

Usage

1

Arguments

...

Unnamed items that comprise this list of MJML tags.

See Also

https://mjml.io/documentation/#mjml-wrapper

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
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")
          )
        )
      )
    )
  )
)

JohnCoene/mjml documentation built on June 21, 2020, 11:42 a.m.