Get the entire markdown per page instead of entire file #685
-
According to the docs does not seem to be possible, would require for me to build a DoclingDocument for each page. Is it possible? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I think this is related. I'm looking for a similar capability in the source somewhere (collect all objects on a per page basis). |
Beta Was this translation helpful? Give feedback.
-
You can achieve this with the |
Beta Was this translation helpful? Give feedback.
-
Yes, this works @JoeHelbing.
|
Beta Was this translation helpful? Give feedback.
You can achieve this with the
page_no
argument of theexport_to_markdown()
function, see https://ds4sd.github.io/docling/reference/docling_document/#docling_core.types.doc.DoclingDocument.export_to_markdown.