euporie.core.widgets.display.FormattedTextDisplayControl

class euporie.core.widgets.display.FormattedTextDisplayControl(data: Any, format_: str, path: Path | None = None, fg_color: str | None = None, bg_color: str | None = None, sizing_func: Callable[[], tuple[int, float]] | None = None, focusable: FilterOrBool = False, focus_on_click: FilterOrBool = False, wrap_lines: FilterOrBool = False)

A data formatter, which displays cell output data.

It will attempt to display the data in the best way possible, and reacts to resize events - i.e. images are downscaled to fit, markdown is re-flowed, etc.