XlibA library of helper functions automatically opened in the `xeus-ocaml` toplevel. It provides a simple API for users to generate and display rich outputs (like HTML, Markdown, and plots) in their Jupyter notebooks.
val get_and_clear_outputs : unit -> Protocol.output listInternal function for the toplevel to retrieve and clear all pending rich outputs generated during the last code execution. This is not intended for direct use by end-users.
Renders a full MIME bundle as a cell output. This is the most flexible function for creating rich output with multiple representations.
Renders a raw HTML string as a cell output. The frontend will interpret and display the HTML content.
Renders a raw Markdown string as a cell output. The frontend will interpret and display the formatted Markdown.
Renders a raw LaTeX string as a cell output, typically for displaying mathematical equations.
Renders a JSON string as a collapsible, interactive tree view in the output. This function parses the input string; if parsing fails, an error message is sent to stderr instead of producing an output.
Renders an inline PDF document from a Base64-encoded string. The frontend may embed a PDF viewer directly in the cell output.
Renders an interactive Vega-Lite plot from its JSON specification. This function parses the input string; if parsing fails, an error message is sent to stderr instead.
Renders an interactive Vega plot from its JSON specification. This function parses the input string; if parsing fails, an error message is sent to stderr instead.