@@ -16,13 +16,13 @@ This module provides Python functions for creating MJML markup, the responsive e
1616
1717This module is part of the ` nbmail ` package:
1818
19- ``` { python}
19+ ``` python
2020from nbmail import mjml as mj
2121```
2222
2323## Quick Start
2424
25- ``` { python}
25+ ``` python
2626from nbmail.mjml import mjml, body, section, column, text
2727
2828# Build an MJML email structure
@@ -49,7 +49,7 @@ These tags accept children (other MJML components) and optional content:
4949- Configuration: ` attributes ` , ` breakpoint ` , ` font ` , ` html_attributes ` , ` style ` , ` title `
5050
5151Example:
52- ``` { python}
52+ ``` python
5353from nbmail.mjml import mjml, body, section, column, text
5454
5555# Build an MJML email structure
@@ -78,7 +78,7 @@ These tags accept text or HTML content but **not** MJML children:
7878- ` carousel_image ` - Carousel images
7979
8080Example:
81- ``` { python}
81+ ``` python
8282text(
8383 content = " <strong>Bold text</strong> and <a href='#'>a link</a>" ,
8484 attributes = {" font_size" : " 16px" , " color" : " #333333" }
@@ -94,7 +94,7 @@ button(
9494
9595### Simple Email
9696
97- ``` { python}
97+ ``` python
9898from nbmail.mjml import mjml, head, body, section, column, text, title
9999
100100mjml_email = mjml(
@@ -113,7 +113,7 @@ mjml_email = mjml(
113113
114114### Multi-column Layout
115115
116- ``` { python}
116+ ``` python
117117from nbmail.mjml import body, section, column, text, image
118118
119119layout = body(
@@ -134,7 +134,7 @@ layout = body(
134134
135135### Using Attributes
136136
137- ``` { python}
137+ ``` python
138138from nbmail.mjml import section, column, text
139139
140140# Using attributes parameter
0 commit comments