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