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