{"id":17807523,"url":"https://github.com/mblode/mjml-cm","last_synced_at":"2025-04-02T05:44:30.847Z","repository":{"id":92406205,"uuid":"228499622","full_name":"mblode/mjml-cm","owner":"mblode","description":null,"archived":false,"fork":false,"pushed_at":"2020-07-19T02:20:18.000Z","size":203,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-07T20:28:45.443Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mblode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-17T00:24:14.000Z","updated_at":"2021-12-16T02:48:26.000Z","dependencies_parsed_at":"2023-03-07T04:00:16.386Z","dependency_job_id":null,"html_url":"https://github.com/mblode/mjml-cm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mblode%2Fmjml-cm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mblode%2Fmjml-cm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mblode%2Fmjml-cm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mblode%2Fmjml-cm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mblode","download_url":"https://codeload.github.com/mblode/mjml-cm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246763863,"owners_count":20829798,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-27T14:22:18.428Z","updated_at":"2025-04-02T05:44:30.834Z","avatar_url":"https://github.com/mblode.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mjml-cm for [MJML](https://mjml.io/)\n\nThis project is intent to provide support for the Campaign Monitor custom tags\non the MJML.\n\nList of components:\n\n- cm-repeater\n- cm-layout\n- cm-image\n- cm-singleline\n- cm-multiline\n- cm-unsubscribe\n- cm-webversion\n- cm-preferences\n\n## Setup\n\n```\nnpm install mjml-cm\n```\n\n## Usage\n\n```html\n\u003cmjml\u003e\n  \u003cmj-body\u003e\n    \u003ccm-repeater\u003e\n      \u003ccm-layout label=\"test\"\u003e\n        \u003cmj-section\u003e\n          \u003cmj-column\u003e\n            \u003ccm-image width=\"100px\" src=\"https://via.placeholder.com/100x100\" /\u003e\n          \u003c/mj-column\u003e\n        \u003c/mj-section\u003e\n      \u003c/cm-layout\u003e\n    \u003c/cm-repeater\u003e\n  \u003c/mj-body\u003e\n\u003c/mjml\u003e\n```\n\n## Usage in .mjmlconfig file\n\n```json\n{\n  \"packages\": [\n    \"node_modules/mjml-cm/index.js\"\n  ]\n}\n```\n\n##### Documentation\n\nAll components have the same attributes as the\n[campaign monitor document](https://www.campaignmonitor.com/create/editable-content/)\ndescribe.\n\n_cm-image_:\n\n| attribute                       | description                            | default value |\n| ------------------------------- | -------------------------------------- | ------------- |\n| disable-importing               | replace `cm_dontimportimage` attribute | false         |\n| disable-tracking                | replace `cm_dontconvertlink` attribute | false         |\n| editable                        | replace `editable` attribute           | true          |\n| placeholder                     | use an placeholder image               | false         |\n| ...any other mj-image attribute |                                        |               |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmblode%2Fmjml-cm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmblode%2Fmjml-cm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmblode%2Fmjml-cm/lists"}