euporie.core.convert.formats.markdown

Contain functions which convert data to markdown format.

Functions

have_modules(*modules)

Verify a list of python modules are importable.

html_to_markdown_py_html2text(datum[, cols, ...])

Convert HTML to markdown tables using html2text.

html_to_markdown_py_mtable(datum[, cols, ...])

Convert HTML tables to markdown tables using mtable.

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

Add a converter to the centralized format conversion system.

async euporie.core.convert.formats.markdown.html_to_markdown_py_html2text(datum: Datum, cols: int | None = None, rows: int | None = None, fg: str | None = None, bg: str | None = None, extend: bool = True) str

Convert HTML to markdown tables using html2text.

async euporie.core.convert.formats.markdown.html_to_markdown_py_mtable(datum: Datum, cols: int | None = None, rows: int | None = None, fg: str | None = None, bg: str | None = None, extend: bool = True) str

Convert HTML tables to markdown tables using mtable.