UNPKG

rehype-callouts

Version:

Rehype plugin for processing and rendering blockquote-based callouts (admonitions/alerts).

17 lines (16 loc) 564 B
import type { Root } from 'hast'; import type { Plugin } from 'unified'; import type { UserOptions } from './types.js'; /** * A rehype plugin for rendering themed callouts (admonitions/alerts). * * @param options * Optional options to configure the output. * @returns * A unified transformer. * * @see https://github.com/lin-stephanie/rehype-callouts */ declare const rehypeCallouts: Plugin<[UserOptions?], Root>; export default rehypeCallouts; export type { UserOptions, CalloutConfig, TagsConfig, PropsConfig, CreateProperties, } from './types.js';