euporie.core.convert.formats.rich

Contain function which convert data to rich format.

Functions

have_modules(*modules)

Verify a list of python modules are importable.

markdown_to_rich_py(data[, width, height, ...])

Convert base64 encoded data to bytes.

register(from_, to[, filter_, weight])

Add a converter to the centralized format conversion system.

async euporie.core.convert.formats.rich.markdown_to_rich_py(data: str | bytes, width: int | None = None, height: int | None = None, fg: str | None = None, bg: str | None = None, path: Path | None = None, initial_format: str = '') Markdown

Convert base64 encoded data to bytes.