Skip to content

Python tool for converting files and office documents to Markdown.

Merge branch 'main' into support-comments-in-docx

afourneye7636656d847
diff --cc src/markitdown/_markitdown.py
index f4487b6a,714911b0..4ee1990c
--- a/src/markitdown/_markitdown.py
+++ b/src/markitdown/_markitdown.py
@@@ -1039,10 -1181,9 +1185,12 @@@ class MarkItDown
if "mlm_model" not in _kwargs and self._mlm_model is not None:
_kwargs["mlm_model"] = self._mlm_model
+ # Add the list of converters for nested processing
+ _kwargs["_parent_converters"] = self._page_converters
+ if "style_map" not in _kwargs and self._style_map is not None:
+ _kwargs["style_map"] = self._style_map
+
# If we hit an error log it and keep trying
try:
res = converter.convert(local_path, **_kwargs)