remove-markdown
Version:
Remove Markdown formatting from text
14 lines (12 loc) • 322 B
TypeScript
declare function removeMd(md: string, options?: {
stripListLeaders?: boolean;
listUnicodeChar?: string;
gfm?: boolean;
useImgAltText?: boolean;
abbr?: boolean;
replaceLinksWithURL?: boolean;
separateLinksAndTexts?: string;
htmlTagsToSkip?: string[];
throwError?: boolean;
}): string;
export = removeMd;