mirror of
https://github.com/ComposioHQ/composio.git
synced 2026-09-22 11:46:35 +08:00
8 lines
227 B
TypeScript
8 lines
227 B
TypeScript
export function encodeMarkdownTableCell(value: string): string {
|
|
return value.replace(/\r\n?|\n/g, ' ').replace(/\|/g, '|');
|
|
}
|
|
|
|
export function encodeYamlString(value: string): string {
|
|
return JSON.stringify(value);
|
|
}
|