docs: fix examples rendering (#2281)

fix examples rendering

Signed-off-by: Panos Vagenas <pva@zurich.ibm.com>
This commit is contained in:
Panos Vagenas
2025-09-18 02:50:50 +02:00
committed by GitHub
parent f1687fb09b
commit 8322c2ea9b
2 changed files with 25 additions and 27 deletions

View File

@@ -1,7 +1,4 @@
# %% [markdown]
# Simple conversion: one document to Markdown
# ==========================================
#
# What this example does
# - Converts a single source (URL or local file path) to a unified Docling
# document and prints Markdown to stdout.
@@ -17,6 +14,7 @@
# Notes
# - The converter auto-detects supported formats (PDF, DOCX, HTML, PPTX, images, etc.).
# - For batch processing or saving outputs to files, see `docs/examples/batch_convert.py`.
# %%
from docling.document_converter import DocumentConverter