@promptbook/remote-client
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
14 lines (13 loc) • 552 B
TypeScript
import type { string_markdown } from '../../types/typeAliases';
/**
* Change em-dashes to regular dashes `—` -> `-`
*
* Note: [🔂] This function is idempotent.
* Tip: If you want to do the full cleanup, look for `humanizeAiText` exported `@promptbook/markdown-utils`
*
* @public exported from `@promptbook/markdown-utils`
*/
export declare function humanizeAiTextEmdashed(aiText: string_markdown): string_markdown;
/**
* Note: [🏂] This function is not tested by itself but together with other cleanup functions with `humanizeAiText`
*/