UNPKG

svem

Version:

Svelte in Markdown preprocessor

12 lines (9 loc) 386 B
import { Plugin } from 'unified'; import { XAttributes, XNode } from './attribute.js'; import 'mdast'; type SectionOptions = { attributes?: XAttributes; }; declare const remarkHeadingSection: Plugin<[SectionOptions | undefined], XNode>; declare const wrap: (children: XNode[], isStop: (n: XNode) => boolean) => XNode[]; export { type SectionOptions, remarkHeadingSection, wrap };