File size: 285 Bytes
08fabf7
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
from docling.document_converter import DocumentConverter

source = "https://arxiv.org/pdf/2408.09869"  # PDF path or URL
converter = DocumentConverter()
result = converter.convert(source)
print(
    result.document.export_to_markdown()
)  # output: "### Docling Technical Report[...]"