https://github.com/mblode/mjml-cm
https://github.com/mblode/mjml-cm
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mblode/mjml-cm
- Owner: mblode
- Created: 2019-12-17T00:24:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-19T02:20:18.000Z (almost 6 years ago)
- Last Synced: 2025-02-07T20:28:45.443Z (over 1 year ago)
- Language: JavaScript
- Size: 198 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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 | | |