UNPKG

fumadocs-core

Version:

The React.js library for building a documentation website

21 lines • 517 B
import { Transformer } from "unified"; import { Root } from "mdast"; interface RemarkStepsOptions { /** * Class name for steps container * * @defaultValue fd-steps */ steps?: string; /** * Class name for step container * * @defaultValue fd-step */ step?: string; } /** * Convert headings in the format of `1. Hello World` into steps. */ declare function remarkSteps({ steps, step }?: RemarkStepsOptions): Transformer<Root, Root>; export { remarkSteps as n, RemarkStepsOptions as t };