https://github.com/breuleux/quaint-mailchimp
Embed a Mailchimp subscribe form in a Quaint document
https://github.com/breuleux/quaint-mailchimp
Last synced: about 1 month ago
JSON representation
Embed a Mailchimp subscribe form in a Quaint document
- Host: GitHub
- URL: https://github.com/breuleux/quaint-mailchimp
- Owner: breuleux
- Created: 2017-02-23T18:56:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-23T19:56:28.000Z (over 8 years ago)
- Last Synced: 2025-04-01T10:04:32.703Z (about 2 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# quaint-mailchimp
MailChimp integration for Quaint.
## Install
In your Quaint project directory, run the command:
quaint --setup mailchimp
The setup will prompt you for an API key, which it will use to fetch
information about your mailing lists. The API key will not be saved in
the configuration.## Sample usage
```
mailchimp ::
list =>
list name or id
body =>
Subscribe to our amazing mailing list!
label =>
Subscribe!
emailPlaceholder =>
E-mail address
```## mailchimp macro
The `mailchimp::` macro takes a list of named arguments:
**list** is the name or id of the list you want to generate a subscribe form for.
**body** is Quaint markup that will be displayed above the form.
**label** is the label of the subscribe button (default: "Subscribe!")
**emailPlaceholder** is the placeholder for the e-mail address input
(default: "E-mail address")