From 74a85f97230e94265eda2bab38b1ab50bb202c29 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Mon, 26 May 2025 14:22:32 +1200 Subject: [PATCH] feat: add basic type stubs --- markdownify/__init__.pyi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 markdownify/__init__.pyi diff --git a/markdownify/__init__.pyi b/markdownify/__init__.pyi new file mode 100644 index 0000000..0f3c0cd --- /dev/null +++ b/markdownify/__init__.pyi @@ -0,0 +1,25 @@ +from _typeshed import Incomplete + +def markdownify( + html: str, + strip: list[str] = ..., + convert: list[str] = ..., + autolinks: bool = ..., + bullets: str = ..., # An iterable of bullet types. + code_language: str = ..., + code_language_callback: Incomplete = ..., + default_title: bool = ..., + escape_asterisks: bool = ..., + escape_underscores: bool = ..., + escape_misc: bool = ..., + heading_style: str = ..., + keep_inline_images_in: list[str] = ..., + newline_style: str = ..., + strip_document: str = ..., + strong_em_symbol: str = ..., + sub_symbol: str = ..., + sup_symbol: str = ..., + table_infer_header: bool = ..., + wrap: bool = ..., + wrap_width: int = ..., +) -> str: ...