marked-cloudinary
marked / cloudinary renderer to generate cloudinary urls.
install
npm i --save marked-cloudinary
usage
const renderer = rendererimage = // <img src="http://res.cloudinary.com/my-cloud-name/image/upload/c_fill,h_300,w_400/v1/cloudinary_id" alt="image alt"> "image title"
quotes
The example above shows a problem you run into if trying to declare strings in js. The escaped quotes will work fine in this case.
In a markdown file, you can just use single quotes for string parameters.
compatibility
dist/index.js
should be fully compatible with node 6
Author
Levi Wheatcroft levi@wht.cr
Contributing
Contributions welcome; Please submit all pull requests against the master branch.