UNPKG

ts-markdown-builder

Version:
11 lines (10 loc) 430 B
/** * Join blocks of text into a single markdown document (string). * * @param blocks - The blocks of text to join. * @returns Markdown document string. */ export declare function joinBlocks(blocks: string | readonly string[]): string; export declare function prefixLines(text: string, prefix: string): string; export declare function escape(text: string): string; export declare function maxBackticks(text: string): number;