markdown-to-text
Version:
Parse the markdown and returns a string
20 lines (19 loc) • 494 B
TypeScript
declare type Options = {
stripListLeaders?: boolean;
listUnicodeChar: string | boolean;
gfm?: boolean;
useImgAltText?: boolean;
};
/**
* @function removeMarkdown
*
* @description
* Parse the markdown and returns a string
*
* @param markdown - The markdown string to parse
* @param options - The options for the function
*
* @returns The parsed plain text
*/
declare const removeMarkdown: (markdown: string, options?: Options) => string;
export default removeMarkdown;