UNPKG

mdx-prompt

Version:

Use MDX to render high quality LLM prompts

8 lines (7 loc) 263 B
/** * Makes the rendered text + XML prompt a little prettier * using rehype-format. * @param {string} rawHtml - The raw HTML string to format. * @returns {string} - The formatted HTML string. */ export declare function prettyPrompt(rawHtml: string): string;