We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 268c294 commit d147c25Copy full SHA for d147c25
docling_core/types/doc/document.py
@@ -2038,6 +2038,9 @@ def export_to_markdown( # noqa: C901
2038
if ix < from_element or to_element <= ix:
2039
continue # skip as many items as you want
2040
2041
+ if (isinstance(item, DocItem)) and (item.label not in labels):
2042
+ continue # skip any label that is not whitelisted
2043
+
2044
# Handle newlines between different types of content
2045
if (
2046
len(mdtexts) > 0
0 commit comments