UNPKG

markdown-to-text

Version:
20 lines (19 loc) 494 B
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;