> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # renderMarkdown > Render all POM sections as a combined Markdown string. [pombuilder]: /docs/server-sdks/reference/typescript/agents/pom-builder Render all sections as a combined Markdown string. Each section becomes a `##` heading with its body text, bullet points, and nested subsections rendered below it. This is the output used by `AgentBase` when assembling the AI prompt. ## **Parameters** None. ## **Returns** `string` -- The complete rendered Markdown prompt text. ## **Example** ```typescript {6} import { PomBuilder } from '@signalwire/sdk'; const pom = new PomBuilder(); pom.addSection('Role', { body: 'You are a helpful assistant.' }); pom.addSection('Rules', { bullets: ['Be concise', 'Be accurate'] }); const markdown = pom.renderMarkdown(); console.log(markdown); // ## Role // You are a helpful assistant. // ## Rules // - Be concise // - Be accurate ``` > Render all POM sections as a combined Markdown string.