UNPKG

fumadocs-core

Version:

The React.js library for building a documentation website

8 lines • 390 B
import { Transformer } from "unified"; import { Root } from "mdast"; /** * `<show when={...}>` renders its content when the condition holds, like `props.framework === 'next'` with the params of * a page as props. The outputs of other plugins (TOC, structured data, Markdown) check the conditions too. */ declare function remarkShow(): Transformer<Root, Root>; export { remarkShow as t };