Contents Menu Expand Light mode Dark mode Auto light/dark mode
marimo
Light Logo Dark Logo
  • Getting Started
  • Guides
    • Overview
    • Reactivity
    • Interactivity
    • Outputs
    • Editor features
    • Dataframes
    • Plotting
    • Reactive state
    • Run as an app
    • Run as a script
    • Best practices
    • Deploying
      • Deploying with Docker
      • Deploying to marimo cloud
  • Recipes
  • API Reference
    • Markdown
    • Inputs
      • Array
      • Batch
      • Button
      • Checkbox
      • Code Editor
      • Dataframe
      • Data Explorer
      • Date
      • Dictionary
      • Dropdown
      • File
      • Form
      • Microphone
      • Multiselect
      • Number
      • Radio
      • Refresh
      • Slider
      • Switch
      • Table
      • Tabs
      • Text
      • Text Area
    • Layouts
      • Accordion
      • Callout
      • Justify
      • Stacks
      • Tree
    • Plotting
    • Media
      • Image
      • Audio
      • Video
      • PDF
      • Download Media
      • Plain text
    • Diagrams
    • Status
    • Outputs
    • Control flow
    • HTML
    • State
    • Debugging
  • FAQ
  • Examples
  • Integrations
    • Google Cloud Storage
    • Google Cloud BigQuery
    • Google Sheets
  • Community
Back to top
Edit this page

Media#

Use these functions to embed media in your outputs.

marimo.image

Render an image as HTML.

marimo.audio

Render an audio file as HTML.

marimo.video

Render an video as HTML.

marimo.pdf

Render a PDF.

marimo.download

Show a download button for a url, bytes, or file-like object.

marimo.plain_text

Text that’s fixed-width, with spaces and newlines preserved.

Next
Image
Previous
Plotting
Copyright © 2024, marimo-team
Made with Sphinx and @pradyunsg's Furo