From 224f1df0fc33e83d49825e3d8b947d945787ad7d Mon Sep 17 00:00:00 2001 From: "Petr@AP Consulting" Date: Wed, 18 Dec 2024 09:28:18 +0100 Subject: [PATCH] Update README.md I collapsed section about batch processing as was suggested --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 01ceb71..669caa2 100644 --- a/README.md +++ b/README.md @@ -78,11 +78,13 @@ You can also use the project as Docker Image: docker build -t markitdown:latest . docker run --rm -i markitdown:latest < ~/your-file.pdf > output.md ``` -Batch Processing Multiple Files +
+ +Batch Processing Multiple Files This extension allows you to convert multiple files to markdown format in a single run. The script processes all supported files in a directory and creates corresponding markdown files. -Features +### Features - Converts multiple files in one operation - Supports various file formats (.pptx, .docx, .pdf, .jpg, .jpeg, .png etc. you can change it) @@ -90,7 +92,7 @@ Features - Includes GPT-4o-latest image descriptions when available - Continues processing if individual files fail -Usage +### Usage 1. Create a Python script (e.g., convert.py): ```python from markitdown import MarkItDown @@ -122,6 +124,8 @@ print("\nAll conversions completed!") - Original files remain unchanged - New markdown files are created with the same base name - Progress and any errors are displayed during conversion + +
## Contributing