/** * Markdown → Slack mrkdwn. * * Agents write GitHub-flavoured markdown (`**bold**`, `# heading`, `- item`, * `[text](url)`) and, when they pass a reply through a shell argument, the * newlines often arrive as the two characters `\n`. Slack renders none of * that: it wants `*bold*`, no headings, `•` bullets, `` links and * real newlines. Code fences and inline code are left untouched. * * @module services/slack/slack-mrkdwn */ /** * Convert markdown to Slack mrkdwn. * * @param text - Markdown (possibly with literal `\n` sequences) * @returns Text Slack renders as intended * * @example * toSlackMrkdwn('**Done**\\n\\n- one') // '*Done*\n\n• one' */ export declare function toSlackMrkdwn(text: string): string; //# sourceMappingURL=slack-mrkdwn.d.ts.map