feat: add some stuff
This commit is contained in:
3
src/helpers/markdownToText.ts
Normal file
3
src/helpers/markdownToText.ts
Normal file
@ -0,0 +1,3 @@
|
||||
export default function markdownToText(markdown: string): string {
|
||||
return markdown.replace(/#|`|\*|_|~/g, '');
|
||||
}
|
Reference in New Issue
Block a user