Options
All
  • Public
  • Public/Protected
  • All
Menu

eleventy-plugin-embed-cloudinary

Eleventy plugin to automatically embed images hosted on Cloudinary.

example

Here is the minimal configuration:

const embedCloudinary = require('eleventy-plugin-embed-cloudinary');

eleventyConfig.addPlugin(embedCloudinary, {
apiKey: process.env.CLOUDINARY_API_KEY,
apiSecret: process.env.CLOUDINARY_API_SECRET,
cloudName: process.env.CLOUDINARY_CLOUD_NAME
});

Index

Type Aliases

Configuration for this plugin.

Functions

  • default(eleventyConfig: any, userConfig: UserConfig): void
  • Configure the plugin to work with your eleventy configuration.

    remarks

    This is the function exported by this plugin.

    Parameters

    • eleventyConfig: any

      Configuration for eleventy.

    • userConfig: UserConfig

      Configuration for this plugin.

    Returns void

Generated using TypeDoc