UNPKG

remark-lint-no-multiple-toplevel-headings

Version:

remark-lint rule to warn when multiple top level headings are used

13 lines 409 B
export default remarkLintNoMultipleToplevelHeadings; /** * Styles. */ export type Depth = Heading["depth"]; /** * Configuration. */ export type Options = Depth; declare const remarkLintNoMultipleToplevelHeadings: import("unified-lint-rule").Plugin<Root, 2 | 1 | 3 | 4 | 5 | 6 | null | undefined>; import type { Heading } from 'mdast'; import type { Root } from 'mdast'; //# sourceMappingURL=index.d.ts.map