Update README.md
I collapsed section about batch processing as was suggested
This commit is contained in:
committed by
GitHub
parent
f398f3d443
commit
224f1df0fc
10
README.md
10
README.md
@@ -78,11 +78,13 @@ You can also use the project as Docker Image:
|
|||||||
docker build -t markitdown:latest .
|
docker build -t markitdown:latest .
|
||||||
docker run --rm -i markitdown:latest < ~/your-file.pdf > output.md
|
docker run --rm -i markitdown:latest < ~/your-file.pdf > output.md
|
||||||
```
|
```
|
||||||
Batch Processing Multiple Files
|
<details>
|
||||||
|
|
||||||
|
<summary>Batch Processing Multiple Files</summary>
|
||||||
|
|
||||||
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.
|
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
|
- Converts multiple files in one operation
|
||||||
- Supports various file formats (.pptx, .docx, .pdf, .jpg, .jpeg, .png etc. you can change it)
|
- 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
|
- Includes GPT-4o-latest image descriptions when available
|
||||||
- Continues processing if individual files fail
|
- Continues processing if individual files fail
|
||||||
|
|
||||||
Usage
|
### Usage
|
||||||
1. Create a Python script (e.g., convert.py):
|
1. Create a Python script (e.g., convert.py):
|
||||||
```python
|
```python
|
||||||
from markitdown import MarkItDown
|
from markitdown import MarkItDown
|
||||||
@@ -123,6 +125,8 @@ print("\nAll conversions completed!")
|
|||||||
- New markdown files are created with the same base name
|
- New markdown files are created with the same base name
|
||||||
- Progress and any errors are displayed during conversion
|
- Progress and any errors are displayed during conversion
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
This project welcomes contributions and suggestions. Most contributions require you to agree to a
|
This project welcomes contributions and suggestions. Most contributions require you to agree to a
|
||||||
|
|||||||
Reference in New Issue
Block a user