UNPKG

remark-directive-sugar

Version:

Remark plugin built on remark-directive, providing predefined directives for image captions, video embedding, styled GitHub links, badges, and more.

7 lines (6 loc) 270 B
import type { Directives } from 'mdast-util-directive'; import type { ImageDirectiveConfig } from '../types.js'; /** * Handles the `image` directive. */ export declare function handleImageDirective(node: Directives, config: ImageDirectiveConfig, regex: RegExp): void;