Skip to main content

Overview

Marp is a presentation tool that converts Markdown to beautiful presentations. It supports multiple output formats including PDF and PowerPoint (.pptx) files. It provides a standardized, theme-based approach with support for math typesetting and emoji rendering. Runs in E2B sandbox environment, so you donโ€™t need to install Marp CLI locally. The conversion process is executed securely in an isolated environment with Node.js, Chromium, and LibreOffice pre-installed.

Key Features

MARP_CONVERT

  • Convert Markdown to presentation PDF or PowerPoint
  • Runs securely in E2B sandbox environment - no local installation required
  • Three built-in themes: default, gaia, uncover
  • Multiple output formats: PDF, PPTX, editable PPTX
  • Math typesetting support (MathJax/KaTeX)
  • Emoji rendering with Twemoji
  • Clean, professional slide output
  • Returns a signed URL for downloading the generated file

Authentication

No authentication required for Marp tools.

Example: Basic PDF Presentation

Example: PowerPoint with Editable Format

Example: Company Presentation PDF

Theme Options

Markdown Syntax

Slide Separators

Use --- to create a new slide:

Headings

  • # Heading - Main title slide
  • ## Heading - Section heading
  • ### Heading - Subsection

Lists

Code Blocks

Math Equations

  • Inline: $E = mc^2$
  • Block: $$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$$

Use Cases

  • Technical Presentations: Code examples, architecture diagrams
  • Educational Content: Math formulas, scientific presentations
  • Business Reviews: Quarterly reports, strategy presentations
  • Portable Presentations: PDF files that work on any device
  • Version Control: Track presentation changes in Git
  • Collaborative Editing: Edit presentations as Markdown files

Best Practices

Content Structure

  • One idea per slide
  • Use visual hierarchy (headings, bullets)
  • Keep text concise
  • Include speaker notes in comments

Styling

  • Choose theme based on audience and purpose
  • Use consistent formatting
  • Limit colors and fonts
  • Test slides on target display

Accessibility

  • Use high contrast colors
  • Provide alt text for images
  • Keep font sizes readable
  • Include text transcripts for screen readers

Performance

  • Optimize image sizes
  • Minimize custom CSS
  • Test on target browsers
  • Consider offline viewing requirements