3 lines
77 B
TypeScript
3 lines
77 B
TypeScript
export function stripMarkdown(str) {
|
|
return str.replace(/[*_|~`]/g, "");
|
|
}
|