cal.pub0.org/packages/lib/stripMarkdown.ts

6 lines
110 B
TypeScript

import removeMd from "remove-markdown";
export function stripMarkdown(md: string) {
return removeMd(md);
}