{"uid":"cap_q3UHAUYP0wmyR-P05Tf9b","slug":"ishob-markdown-to-document-renderer-7ffce3c4","name":"ISHOB Markdown-to-Document Renderer","description":"Render Markdown (tables, code, lists, headings) into a styled PDF (custom CSS, A4/Letter/Legal, page numbers), a Word DOCX or standalone HTML; returns a private download link valid for 24 hours. External resources are never fetched (inline data: images only).","url":"https://api.ishob.com/v1/render-doc?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"css":{"type":"string","maxLength":50000,"description":"Extra CSS (pdf/html)"},"title":{"type":"string","maxLength":200},"format":{"enum":["pdf","docx","html"],"type":"string","default":"pdf"},"filename":{"type":"string","maxLength":60},"markdown":{"type":"string","maxLength":200000},"page_size":{"enum":["A4","Letter","Legal"],"type":"string","default":"A4"}}},"responseSchema":{"type":"json","example":{"bytes":10129,"pages":1,"format":"pdf","expires_at":"...","download_url":"https://api.ishob.com/v1/files/<token>/report.pdf"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_V8vVr5lRW1FNNnmjTYAJB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts Markdown text into a styled PDF, Word DOCX, or standalone HTML file and returns a 24-hour private download link","exampleAgentPrompt":"Take this markdown report — including the tables and code blocks — and render it as a styled A4 PDF with page numbers; use this custom CSS to make the headings navy blue, and name the file 'quarterly-summary.pdf'.","exampleUseCases":[{"title":"Agent-generated research report as PDF","prompt":"I've got a long markdown research report with tables, headings, and code snippets — can you render it as a Letter-size PDF with page numbers and give me a download link? Use this CSS to style the headings in dark gray."},{"title":"Proposal export to Word DOCX","prompt":"Convert this markdown business proposal into a Word DOCX file called 'proposal-2025.docx' so the client can edit it — the markdown has bullet lists and a pricing table."},{"title":"Standalone HTML briefing document","prompt":"Render this markdown briefing as a self-contained HTML file with custom CSS styling — I want it to look like a polished internal report I can open in a browser, titled 'Weekly Briefing'."}],"resultDescription":"A JSON object containing the output format, file size in bytes, number of pages (for PDF), an expiry timestamp (24 hours from generation), and a private download URL pointing to the rendered PDF, DOCX, or HTML file hosted on ISHOB's servers.","failureModes":["Markdown exceeds 200,000 character limit — request rejected with validation error","CSS exceeds 50,000 character limit — request rejected","Invalid format enum value — returns 400 with schema error","External image URLs in markdown are ignored (only inline data: URIs are embedded)","Download link expires after 24 hours — subsequent access returns 404","Malformed markdown may produce unexpected rendering artifacts in PDF output"],"whenToPreferThis":"Choose this endpoint when you need to convert agent-generated or user-supplied Markdown into a polished, downloadable document (PDF, DOCX, or HTML) with custom styling, correct page sizing, and page numbers — especially in automated pipelines where no human has a local document editor. It is particularly well-suited for AI agents that produce structured reports (with tables, code blocks, and headings) and need to deliver a professional file to an end user via a download link, without any dependency on local software or browser-based rendering.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:44:43.241Z","isFirstParty":false,"canonicalSlug":"ishob-markdown-to-document-renderer-7ffce3c4"}