3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-18 15:00:00 +00:00
zeppelin/backend/src/utils/stripMarkdown.ts

4 lines
77 B
TypeScript
Raw Normal View History

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