@studiocms/md
Version:
Add Markdown Support to your StudioCMS project with ease!
16 lines (15 loc) • 566 B
TypeScript
declare const render: {
name: string;
renderer: (content: string) => Promise<string>;
sanitizeOpts: {
allowElements?: string[] | undefined;
blockElements?: string[] | undefined;
dropElements?: string[] | undefined;
allowAttributes?: Record<string, string[]> | undefined;
dropAttributes?: Record<string, string[]> | undefined;
allowComponents?: boolean | undefined;
allowCustomElements?: boolean | undefined;
allowComments?: boolean | undefined;
} | undefined;
};
export default render;