@bothub-chat/ui
Version:
Bothub UI Components
17 lines (16 loc) • 546 B
TypeScript
import remarkGfm from 'remark-gfm';
export type UseMarkdownPluginsProps = {
children: string;
};
export declare const useMarkdownPlugins: ({ children }: UseMarkdownPluginsProps) => {
remarkPlugins: (typeof remarkGfm | (typeof import("remark-math").default | {
singleDollarTextMath: boolean;
})[])[];
rehypePlugins: (typeof import("rehype-katex/lib").default | {
displayMode: boolean;
output: string;
errorColor: string;
strict: () => void;
})[][];
singleDollarTextMath: boolean;
};