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 { VideoDirectiveConfig } from '../types.js'; /** * Handles the `video` directive. */ export declare function handleVideoDirective(node: Directives, config: VideoDirectiveConfig, regex: RegExp): void;