Infery.ai
← All tools

Render markdown slides

Document

document.render_slides

in: documentout: document

Convert markdown to a slide deck (pdf, pptx, html).

Pricing

Price
0.625 cr / request

Prices in credits (1 credit = $0.01).

Render Markdown Slides

Convert a Marp-flavoured markdown file into a slide deck: PDF, PPTX, or interactive HTML.

When to use

  • Generate presentation PDFs from markdown for sharing or printing.
  • Export PPTX for further editing in PowerPoint or Keynote.
  • Build HTML decks for self-hosted or embedded presentations.

Inputs & outputs

Input modalityMarkdown with Marp frontmatter (inline string or URL)
Output modalitySlide deck file (GCS URL)
Max slides200 per deck
Max inline size500 KB

Parameters

ParamRequiredDescription
output_formatyesOutput format — pdf, html, pptx
themenoMarp built-in theme — default, gaia, uncover. Default: default
slide_sizenoAspect ratio — 16:9 or 4:3. Default: 16:9

Examples

16:9 PDF deck with default theme

{
  "type": "document.render_slides",
  "input": { "markdown_inline": "---\nmarp: true\n---\n# Slide 1\n\n---\n\n# Slide 2" },
  "params": { "output_format": "pdf", "theme": "default", "slide_size": "16:9" }
}

PPTX with Gaia theme from URL

{
  "type": "document.render_slides",
  "input": { "markdown_url": "gs://infery-prod-media/decks/pitch.md" },
  "params": { "output_format": "pptx", "theme": "gaia", "slide_size": "4:3" }
}

Pricing

Billed per slide rendered. See pricing dashboard for current rates.

Related capabilities

  • document.convert_format — convert plain markdown to PDF/DOCX (non-slide layout)
  • document.extract_text — extract content from existing PDF presentations

Examples

PDF deck 16:9

{
  "output_format": "pdf",
  "theme": "default",
  "slide_size": "16:9"
}