euporie.core.convert.formats.html

Contain functions which convert data to html format.

Functions

cache(user_function, /)

Simple lightweight unbounded cache.

detect_lexer([text, path, language])

Detect the pygments lexer for a file.

get_app()

Get the current active (running) Application.

markdown_parser()

Lazy-load a markdown parser.

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

Convert markdown to HTML using markdownit_py.

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

Add a converter to the centralized format conversion system.

euporie.core.convert.formats.html.markdown_parser() MarkdownIt

Lazy-load a markdown parser.

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

Convert markdown to HTML using markdownit_py.