An open API service indexing awesome lists of open source software.

https://github.com/mblode/mjml-cm


https://github.com/mblode/mjml-cm

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# mjml-cm for [MJML](https://mjml.io/)

This project is intent to provide support for the Campaign Monitor custom tags
on the MJML.

List of components:

- cm-repeater
- cm-layout
- cm-image
- cm-singleline
- cm-multiline
- cm-unsubscribe
- cm-webversion
- cm-preferences

## Setup

```
npm install mjml-cm
```

## Usage

```html











```

## Usage in .mjmlconfig file

```json
{
"packages": [
"node_modules/mjml-cm/index.js"
]
}
```

##### Documentation

All components have the same attributes as the
[campaign monitor document](https://www.campaignmonitor.com/create/editable-content/)
describe.

_cm-image_:

| attribute | description | default value |
| ------------------------------- | -------------------------------------- | ------------- |
| disable-importing | replace `cm_dontimportimage` attribute | false |
| disable-tracking | replace `cm_dontconvertlink` attribute | false |
| editable | replace `editable` attribute | true |
| placeholder | use an placeholder image | false |
| ...any other mj-image attribute | | |