Spaces:
Paused
Paused
Download api/src/utils/StringParser.ts from Mythus/Teledrive5.3: direct link, hf CLI and curl.
- Browser
- Download file 160 Bytes
-
https://huggingface.co/spaces/Mythus/Teledrive5.3/resolve/main/api/src/utils/StringParser.ts
- Command line
-
hf download hf://spaces/Mythus/Teledrive5.3/api/src/utils/StringParser.ts
-
curl -L -o StringParser.ts https://huggingface.co/spaces/Mythus/Teledrive5.3/resolve/main/api/src/utils/StringParser.ts
160 Bytes
| export const markdownSafe = (str: string): string => str | |
| .replaceAll('_', '\\_') | |
| .replaceAll('*', '\\*') | |
| .replaceAll('[', '\\[') | |
| .replaceAll('`', '\\`') |