mirror of
https://github.com/docling-project/docling.git
synced 2025-06-27 05:20:05 +00:00
8 lines
292 B
Python
8 lines
292 B
Python
from docling.document_converter import DocumentConverter
|
|
|
|
source = "https://arxiv.org/pdf/2408.09869" # document per local path or URL
|
|
converter = DocumentConverter()
|
|
result = converter.convert(source)
|
|
print(result.document.export_to_markdown())
|
|
# output: ## Docling Technical Report [...]"
|