Media#
Use these functions to embed media in your outputs.
Render an image as HTML. |
|
Render an audio file as HTML. |
|
Render an video as HTML. |
|
Render a PDF. |
|
Show a download button for a url, bytes, or file-like object. |
|
Text that’s fixed-width, with spaces and newlines preserved. |
Most of these methods accept URLs (including data URLs), paths to local files, or file-like objects.