Open
Description
Bug
trying to replicate a simple argparse version of your readme
...
Steps to reproduce
import argparse
from docling.document_converter import DocumentConverter
parser = argparse.ArgumentParser()
parser.add_argument('input')
parser.add_argument('output')
args = parser.parse_args()
converter = DocumentConverter()
result = converter.convert(args.input)
with open(args.output, 'w', encoding='utf-8') as f:
f.write(result.document.export_to_markdown())
python file.py a.pdf b.md
Docling version
2.28.4
...
Python version
3.10
...
windows