fumadocs-core
Version:
The React.js library for building a documentation website
18 lines • 551 B
TypeScript
import { Transformer } from "unified";
import { Root } from "mdast";
interface RemarkAdmonitionOptions {
tag?: string;
/**
* Map type to another type
*/
typeMap?: Record<string, string>;
}
/**
* Remark Plugin to support Admonition syntax
*
* Useful when Migrating from Docusaurus
*
* @deprecated Use `remarkDirectiveAdmonition` with `remark-directive` configured instead.
*/
declare function remarkAdmonition(options?: RemarkAdmonitionOptions): Transformer<Root, Root>;
export { remarkAdmonition as n, RemarkAdmonitionOptions as t };