devsite/node_modules/@11ty/eleventy/src/Plugins/RenderPlugin.d.ts
2024-07-07 18:49:38 -07:00

27 lines
565 B
TypeScript

/**
* A plugin to add shortcodes to render an Eleventy template
* string (or file) inside of another template.
*
* @link [Official docs](https://www.11ty.dev/docs/plugins/render/)
* @category plugins
* @since 1.0.0
*/
declare function EleventyPlugin(
eleventyConfig: any,
options?: {
/**
* The shortcode name to render a string.
* @default "renderTemplate"
*/
tagName?: string
/**
* The shortcode name to render a file.
* @default "renderFile"
*/
tagNameFile?: string
}
): void;
export = EleventyPlugin;